#include <mi32/mg2hdc.h>
Inheritance diagram for MGD::DEVICE_HDC:

Public Member Functions | |
| ERRVALUE | ChangeDC (HDC hdc, int height, int width) |
| ERRVALUE | Create (HDC hdc, int height, int width) |
| DEVICE_HDC () | |
| HDC | GetHDC () const |
| virtual CONTEXT * | v_CreateContext () |
| virtual ERRVALUE | v_FillSpan (MGD::CONTEXT *gc, INT32 x1, INT32 x2, INT32 y) |
| virtual CAPABILITY | v_GetCapabilities () const |
| virtual MGD::PIXEL | v_GetColorPixel (const COLOR &color) |
| virtual | ~DEVICE_HDC () |
|
|
Construct an X device. After constructing, you should call Create() |
|
|
Destructor.
|
|
||||||||||||||||
|
Change the device context that the device points to.
|
|
||||||||||||||||
|
|
|
|
|
|
|
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. |
|
||||||||||||||||||||
|
Fill a horizontal span. Many of the default method implementations call this to do all the work. Not all of them even need it., so not pure-virtual. Reimplemented from MGD::DEVICE. |
|
|
Return a list of the capabilities of this device. Don't forget to OR in the capabilities of the base class in the derived class Reimplemented from MGD::DEVICE. |
|
|
Given a color, return the Pixel value that matches (or is as close possible).
Reimplemented from MGD::DEVICE. |
1.3.8-20040913