MGD::DEVICE_RASTER_RGB16 Class Reference

Device for rendering to 16-bit RVC rasters. More...

#include <mi32/mg2rast.h>

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

List of all members.

Public Member Functions

 DEVICE_RASTER_RGB16 ()
virtual ~DEVICE_RASTER_RGB16 ()
ERRVALUE Create (RVC::OBJITEM &ObjItem, RVC::RASTER::MAKEPARMS &MakeParms, const RVC::CREDENTIALS *Credentials=0)
ERRVALUE Open (const RVC::OBJITEM &ObjItem, const RVC::CREDENTIALS *Credentials=0)
ERRVALUE WritePixArray ()

Protected Member Functions

ERRVALUE ReadPixArray ()

Detailed Description

Device for rendering to 16-bit RVC rasters.


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 ( RVC::OBJITEM ObjItem,
RVC::RASTER::MAKEPARMS MakeParms,
const RVC::CREDENTIALS Credentials = 0 
)

Create a raster to draw into.

ERRVALUE MGD::DEVICE_RASTER_RGB16::Open ( const RVC::OBJITEM ObjItem,
const RVC::CREDENTIALS Credentials = 0 
)

Open existing raster to draw into.

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

Write the pixel array from raster to buffer.

If the raster is small (less than 4096x4096), 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 4096x4096), 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 Sun Oct 7 21:35:17 2012 for TNTsdk 2012 by  doxygen 1.6.1