Device for rendering to 16-bit RVC rasters. More...
#include <mi32/mg2rast.h>

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 () |
Device for rendering to 16-bit RVC rasters.
| 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.
| 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)
1.6.1