MGD::DEVICE_RASTER_RGB16 Class Reference

#include <mi32/mg2rast.h>

Inheritance diagram for MGD::DEVICE_RASTER_RGB16:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ERRVALUE Create (int fhandle, RVCRASTINFO *rastinfo, const COLOR *bgcolor=0)
 DEVICE_RASTER_RGB16 ()
ERRVALUE WritePixArray ()
virtual ~DEVICE_RASTER_RGB16 ()

Protected Member Functions

ERRVALUE ReadPixArray ()

Constructor & Destructor Documentation

MGD::DEVICE_RASTER_RGB16::DEVICE_RASTER_RGB16  ) 
 

Construct 16-bit raster device After constructing, you should call Create().

virtual MGD::DEVICE_RASTER_RGB16::~DEVICE_RASTER_RGB16  )  [virtual]
 

Destructor.


Member Function Documentation

ERRVALUE MGD::DEVICE_RASTER_RGB16::Create int  fhandle,
RVCRASTINFO rastinfo,
const COLOR bgcolor = 0
 

Create open or create a raster to draw into.

Parameters:
bgcolor  Initial background color, NULL for black

ERRVALUE MGD::DEVICE_RASTER_RGB16::ReadPixArray  )  [protected]
 

Write the pixel array from raster to buffer.

If the raster is small (less than 1024x1024), we just allocate a buffer big enough for the whole raster.

ERRVALUE MGD::DEVICE_RASTER_RGB16::WritePixArray  ) 
 

Write the pixel array back to the raster.

If the raster is small (less than 1024x1024), we just allocate a buffer big enough for the whole raster. In this case, nothing gets flushed until we call WritePixArray() (which the destructor will do if necessary)


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:40 2004 for TNTsdk by  doxygen 1.3.8-20040913