ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Graphics::MarginedBitmap< T > Class Template Reference

Inheritance diagram for Graphics::MarginedBitmap< T >:

List of all members.

Public Member Functions

 MarginedBitmap (int width, int height, T marginValue)
 MarginedBitmap (const MarginedBitmap &rhs)
MarginedBitmapoperator= (const MarginedBitmap &rhs)
int getWidth () const
int getHeight () const
int getStride () const
const T * getOrigin () const
T * getOrigin ()
const T * getPointerTo (int x, int y) const
T * getPointerTo (int x, int y)
get (int x, int y) const
void set (int x, int y, T value)
void fillMargin (T value)

Private Member Functions

T * calculateOrigin ()

Private Attributes

int _width
int _height
int _stride
Common::Array< T > _buffer
T * _origin

Detailed Description

template<typename T>
class Graphics::MarginedBitmap< T >

Definition at line 33 of file larryScale.cpp.


Constructor & Destructor Documentation

template<typename T>
Graphics::MarginedBitmap< T >::MarginedBitmap ( int  width,
int  height,
marginValue 
) [inline]

Definition at line 41 of file larryScale.cpp.

template<typename T>
Graphics::MarginedBitmap< T >::MarginedBitmap ( const MarginedBitmap< T > &  rhs  )  [inline]

Definition at line 53 of file larryScale.cpp.


Member Function Documentation

template<typename T>
T* Graphics::MarginedBitmap< T >::calculateOrigin (  )  [inline, private]

Definition at line 95 of file larryScale.cpp.

template<typename T>
void Graphics::MarginedBitmap< T >::fillMargin ( value  ) 

Definition at line 101 of file larryScale.cpp.

template<typename T>
T Graphics::MarginedBitmap< T >::get ( int  x,
int  y 
) const [inline]

Definition at line 85 of file larryScale.cpp.

template<typename T>
int Graphics::MarginedBitmap< T >::getHeight (  )  const [inline]

Definition at line 73 of file larryScale.cpp.

template<typename T>
const T* Graphics::MarginedBitmap< T >::getOrigin (  )  const [inline]

Definition at line 75 of file larryScale.cpp.

template<typename T>
T* Graphics::MarginedBitmap< T >::getOrigin (  )  [inline]

Definition at line 76 of file larryScale.cpp.

template<typename T>
T* Graphics::MarginedBitmap< T >::getPointerTo ( int  x,
int  y 
) [inline]

Definition at line 81 of file larryScale.cpp.

template<typename T>
const T* Graphics::MarginedBitmap< T >::getPointerTo ( int  x,
int  y 
) const [inline]

Definition at line 78 of file larryScale.cpp.

template<typename T>
int Graphics::MarginedBitmap< T >::getStride (  )  const [inline]

Definition at line 74 of file larryScale.cpp.

template<typename T>
int Graphics::MarginedBitmap< T >::getWidth (  )  const [inline]

Definition at line 72 of file larryScale.cpp.

template<typename T>
MarginedBitmap& Graphics::MarginedBitmap< T >::operator= ( const MarginedBitmap< T > &  rhs  )  [inline]

Definition at line 63 of file larryScale.cpp.

template<typename T>
void Graphics::MarginedBitmap< T >::set ( int  x,
int  y,
value 
) [inline]

Definition at line 88 of file larryScale.cpp.


Member Data Documentation

template<typename T>
Common::Array<T> Graphics::MarginedBitmap< T >::_buffer [private]

Definition at line 37 of file larryScale.cpp.

template<typename T>
int Graphics::MarginedBitmap< T >::_height [private]

Definition at line 35 of file larryScale.cpp.

template<typename T>
T* Graphics::MarginedBitmap< T >::_origin [private]

Definition at line 38 of file larryScale.cpp.

template<typename T>
int Graphics::MarginedBitmap< T >::_stride [private]

Definition at line 36 of file larryScale.cpp.

template<typename T>
int Graphics::MarginedBitmap< T >::_width [private]

Definition at line 34 of file larryScale.cpp.


The documentation for this class was generated from the following file:


Generated on Sat Sep 26 2020 05:03:14 for ResidualVM by doxygen 1.7.1
curved edge   curved edge