Context for 32-bit memory device. More...
#include <mi32/mg2mem32.h>

Public Member Functions | |
| virtual | ~CONTEXT () |
Protected Member Functions | |
| CONTEXT (MGD::DEVICE_MEM32 *pDevice) | |
| virtual ERRVALUE | v_EraseRectangle (const LRECT2D &rectangle, const COLOR &color) |
| virtual ERRVALUE | v_PutImageSpanDirect (INT32 x, INT32 y, INT32 len, const void *data, const UINT8 *mask) |
Context for 32-bit memory device.
| virtual MGD::DEVICE_MEM32::CONTEXT::~CONTEXT | ( | ) | [virtual] |
Destructor.
Reimplemented from MGD::CONTEXT.
Reimplemented in MGD::DEVICE_MEM32RGB::CONTEXT, MGD::DEVICE_MEM32RGBA::CONTEXT, MGD::DEVICE_RASTER_RGB32::CONTEXT, and MGD::DEVICE_RASTER_TRANS_MASK::CONTEXT.
| MGD::DEVICE_MEM32::CONTEXT::CONTEXT | ( | MGD::DEVICE_MEM32 * | pDevice | ) | [protected] |
| virtual ERRVALUE MGD::DEVICE_MEM32::CONTEXT::v_EraseRectangle | ( | const LRECT2D & | rectangle, | |
| const COLOR & | color | |||
| ) | [protected, virtual] |
Erase rectangle to specified color, replacing pixels regardless of transparency.
| rectangle | Rectangle to erase | |
| color | Color to erase with |
Reimplemented from MGD::CONTEXT.
| virtual ERRVALUE MGD::DEVICE_MEM32::CONTEXT::v_PutImageSpanDirect | ( | INT32 | x, | |
| INT32 | y, | |||
| INT32 | len, | |||
| const void * | data, | |||
| const UINT8 * | mask | |||
| ) | [protected, virtual] |
Put a span of image data.
Note: Before putting an image, you MUST call ImageBegin and call ImageEnd afterwards. These are stub functions that do nothing in most implementations, but required by others
This function should assume the data passed to it is exactly what it wants. The caller will actually call PutImageSpan(), and ImageBegin() will cause PutImageSpan to either call this directly or first translate the data from one display type to what we really want.
Reimplemented from MGD::CONTEXT.
Reimplemented in MGD::DEVICE_MEM32RGBA::CONTEXT.
1.6.1