MGD::DEVICE_MEM24 Class Reference

#include <mi32/mg2mem24.h>

Inheritance diagram for MGD::DEVICE_MEM24:
Inheritance graph
[legend]

List of all members.

Public Types

enum  COLORORDER { COLORORDER_RGB, COLORORDER_BGR }

Public Member Functions

 DEVICE_MEM24 ()
virtual ~DEVICE_MEM24 ()
ERRVALUE Create (INT32 height, INT32 width, COLORORDER colororder)
CAPABILITY GetCapabilities () const

Protected Member Functions

virtual ERRVALUE v_FillSpan (MGD::CONTEXT *vgc, INT32 x1, INT32 x2, INT32 y)
virtual CAPABILITY v_GetCapabilities () const

Protected Attributes

bool m_bIsRGB
UINT32 m_BytesPerLine

Member Enumeration Documentation

Enumerator:
COLORORDER_RGB 
COLORORDER_BGR 

Constructor & Destructor Documentation

MGD::DEVICE_MEM24::DEVICE_MEM24 (  ) 

constructor

virtual MGD::DEVICE_MEM24::~DEVICE_MEM24 (  )  [virtual]

Destructor.


Member Function Documentation

ERRVALUE MGD::DEVICE_MEM24::Create ( INT32  height,
INT32  width,
COLORORDER  colororder 
)
Parameters:
height Height in pixels
width Width in pixels
colororder Order of color bytes
CAPABILITY MGD::DEVICE_MEM24::GetCapabilities (  )  const [inline]

Return capabilities of this device.

Reimplemented from MGD::DEVICE.

virtual ERRVALUE MGD::DEVICE_MEM24::v_FillSpan ( MGD::CONTEXT vgc,
INT32  x1,
INT32  x2,
INT32  y 
) [protected, virtual]

Fill a horizontal span.

Reimplemented from MGD::DEVICE.

virtual CAPABILITY MGD::DEVICE_MEM24::v_GetCapabilities (  )  const [protected, virtual]

Return a list of the capabilities of this device.

Derived class should bitwise-OR with result of base method.

Reimplemented from MGD::DEVICE.


Member Data Documentation

bool MGD::DEVICE_MEM24::m_bIsRGB [protected]

if false, data is BGR


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

Generated on Sun Oct 7 21:35:14 2012 for TNTsdk 2012 by  doxygen 1.6.1