MGD::DEVICE_MEM1 Class Reference

Memory-based implementation of MGD::DEVICE for 1-bit visuals. More...

#include <mi32/mg2mem1.h>

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

List of all members.

Classes

class  CONTEXT

Public Member Functions

 DEVICE_MEM1 ()
virtual ~DEVICE_MEM1 ()
void CombineMasks (const BITSET_UNOWNED &rhs, PIXELFUNC PixelFunc)
void Copy (const DEVICE_MEM1 &rhs)
ERRVALUE Create (INT32 height, INT32 width, bool StartValue=false)
const BITSET_SHAREDGetImage () const
void SetImage (const BITSET_UNOWNED &image)
void SetImage (const BITSET_SHARED &image)

Detailed Description

Memory-based implementation of MGD::DEVICE for 1-bit visuals.

This version is implemented with a BITSET_SHARED, and is most efficient for small things that will fit in memory well. For larger devices, use MGD::DEVICE_MEM1_SPARSE


Constructor & Destructor Documentation

MGD::DEVICE_MEM1::DEVICE_MEM1 (  ) 

Constructor.

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

Destructor.


Member Function Documentation

void MGD::DEVICE_MEM1::CombineMasks ( const BITSET_UNOWNED rhs,
PIXELFUNC  PixelFunc 
)
void MGD::DEVICE_MEM1::Copy ( const DEVICE_MEM1 rhs  )  [inline]

Copy a DEVICE_MEM1.

ERRVALUE MGD::DEVICE_MEM1::Create ( INT32  height,
INT32  width,
bool  StartValue = false 
)
const BITSET_SHARED& MGD::DEVICE_MEM1::GetImage (  )  const [inline]
void MGD::DEVICE_MEM1::SetImage ( const BITSET_UNOWNED image  )  [inline]
void MGD::DEVICE_MEM1::SetImage ( const BITSET_SHARED image  )  [inline]

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

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