MGD::DEVICE_MEM32RGB Class Reference

Memory-based drawing device for 32-bit RGB visuals. More...

#include <mi32/mg2mem32rgb.h>

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

List of all members.

Classes

class  CONTEXT
 Context for 32-bit RGB memory device. More...

Public Member Functions

 DEVICE_MEM32RGB ()
virtual ~DEVICE_MEM32RGB ()
ERRVALUE Create (INT32 height, INT32 width, UINT16 NumFrameBuffers, COLORSPACE ColorSpace=COLORSPACE_X8_R8_G8_B8, FORMAT format=FORMAT_Default)
ERRVALUE Create (INT32 height, INT32 width, COLORSPACE ColorSpace=COLORSPACE_X8_R8_G8_B8, FORMAT format=FORMAT_Default)

Detailed Description

Memory-based drawing device for 32-bit RGB visuals.


Constructor & Destructor Documentation

MGD::DEVICE_MEM32RGB::DEVICE_MEM32RGB (  ) 

constructor

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

Destructor.


Member Function Documentation

ERRVALUE MGD::DEVICE_MEM32RGB::Create ( INT32  height,
INT32  width,
UINT16  NumFrameBuffers,
COLORSPACE  ColorSpace = COLORSPACE_X8_R8_G8_B8,
FORMAT  format = FORMAT_Default 
)

Create device with option for multiple frame buffers.

If the ColorSpace is provided, it must be one of the following: COLORSPACE_X8_R8_G8_B8 (the default), COLORSPACE_R8_G8_B8_X8 COLORSPACE_X8_B8_G8_R8 COLORSPACE_B8_G8_R8_X8 Any other colorspace will return an error.

Parameters:
height Height (number of rows) in pixels
width Width (number of columns) in pixels
NumFrameBuffers Number of frame buffers
format Memory format
ERRVALUE MGD::DEVICE_MEM32RGB::Create ( INT32  height,
INT32  width,
COLORSPACE  ColorSpace = COLORSPACE_X8_R8_G8_B8,
FORMAT  format = FORMAT_Default 
) [inline]

Create device with single frame buffer.

If the ColorSpace is provided, it must be one of the following: COLORSPACE_X8_R8_G8_B8 (the default), COLORSPACE_R8_G8_B8_X8 COLORSPACE_X8_B8_G8_R8 COLORSPACE_B8_G8_R8_X8 Any other colorspace will return an error.

Parameters:
height Height (number of rows) in pixels
width Width (number of columns) in pixels
format Memory format

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

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