#include <mi32/mg2mem8g.h>

Public Member Functions | |
| DEVICE_MEM8G () | |
| virtual | ~DEVICE_MEM8G () |
| ERRVALUE | Create (INT32 height, INT32 width) |
| ERRVALUE | Filter (const SIMPLE_ARRAY< double * > kernel, int kheight, int kwidth) |
| ERRVALUE | FilterLowPass (int radius) |
Protected Member Functions | |
| virtual CAPABILITY | v_GetCapabilities () const |
Protected Attributes | |
| UINT32 | m_BytesPerLine |
Private Member Functions | |
| virtual CONTEXT * | v_CreateContext () |
| virtual ERRVALUE | v_FillSpan (MGD::CONTEXT *vgc, INT32 x1, INT32 x2, INT32 y) |
| virtual PIXEL | v_GetColorPixel (const COLOR &color) |
| virtual COLORSPACE | v_GetColorSpace () const |
| virtual UINT8 * | v_GetImagePointer (INT32 x, INT32 y, INT32 len, UINT16 FrameBuffer) |
| virtual void | v_GetPixelColor (PIXEL pixel, COLOR &color) const |
| MGD::DEVICE_MEM8G::DEVICE_MEM8G | ( | ) |
constructor
| virtual MGD::DEVICE_MEM8G::~DEVICE_MEM8G | ( | ) | [virtual] |
Destructor.
| ERRVALUE MGD::DEVICE_MEM8G::Filter | ( | const SIMPLE_ARRAY< double * > | kernel, | |
| int | kheight, | |||
| int | kwidth | |||
| ) |
Run a generic filter over the whole image.
| ERRVALUE MGD::DEVICE_MEM8G::FilterLowPass | ( | int | radius | ) |
| virtual CONTEXT* MGD::DEVICE_MEM8G::v_CreateContext | ( | ) | [private, virtual] |
Create a GC for drawing.
Derived classes may override this and make it return anything derived from MGD_GC. MGD_GC's constructor is private, so this is the only way for calling code to create a GC.
Reimplemented from MGD::DEVICE.
Reimplemented in MGD::DEVICE_RASTER_GRAY8, and MGD::DEVICE_RASTER_COLORMAPPED.
| virtual ERRVALUE MGD::DEVICE_MEM8G::v_FillSpan | ( | MGD::CONTEXT * | vgc, | |
| INT32 | x1, | |||
| INT32 | x2, | |||
| INT32 | y | |||
| ) | [private, virtual] |
Fill a horizontal span.
Many of the default method implementations call this to do all the work
Reimplemented from MGD::DEVICE.
| virtual CAPABILITY MGD::DEVICE_MEM8G::v_GetCapabilities | ( | ) | const [protected, virtual] |
Return a list of the capabilities of this device.
Derived class should bitwise-OR with result of base method.
Reimplemented from MGD::DEVICE.
Given a color, return the pixel value that matches or is as close as possible.
Reimplemented from MGD::DEVICE.
Reimplemented in MGD::DEVICE_RASTER_COLORMAPPED.
| virtual COLORSPACE MGD::DEVICE_MEM8G::v_GetColorSpace | ( | ) | const [private, virtual] |
Return the "native" COLORSPACE used by the display.
Reimplemented from MGD::DEVICE.
Reimplemented in MGD::DEVICE_RASTER_COLORMAPPED.
| virtual UINT8* MGD::DEVICE_MEM8G::v_GetImagePointer | ( | INT32 | x, | |
| INT32 | y, | |||
| INT32 | len, | |||
| UINT16 | FrameBuffer | |||
| ) | [private, virtual] |
Return a pointer to a buffer holding part of the frame buffer.
Reimplemented from MGD::DEVICE.
Reimplemented in MGD::DEVICE_RASTER_GRAY8.
| virtual void MGD::DEVICE_MEM8G::v_GetPixelColor | ( | PIXEL | pixel, | |
| COLOR & | color | |||
| ) | const [private, virtual] |
Given a pixel value, return the color it represents.
This should NOT take ICM into account. The context will translate the color back through the inverse ICM transform (if any)
Reimplemented from MGD::DEVICE.
Reimplemented in MGD::DEVICE_RASTER_COLORMAPPED.
UINT32 MGD::DEVICE_MEM8G::m_BytesPerLine [protected] |
1.6.1