#include <mi32/mg2simpl.h>
Inheritance diagram for MGD::DEVICE_SIMPLE:

Public Types | |
| typedef int(* | FILLSPANFUNC )(MGD::CONTEXT_SIMPLE *gc, INT32 x1, INT32 x2, INT32 y) |
| typedef int(* | OLDFILLSPANFUNC )(MGD::CONTEXT *gc, INT32 x1, INT32 x2, INT32 y) |
Public Member Functions | |
| DEVICE_SIMPLE (INT32 height, INT32 width, INT32 depth, FILLSPANFUNC FillSpan=0, void *PrivData=0) | |
| DEVICE_SIMPLE (INT32 height, INT32 width, INT32 depth, OLDFILLSPANFUNC FillSpan, void *PrivData=0) | |
| FILLSPANFUNC | GetFillSpanFunc () const |
| void * | GetPrivData () const |
| ERRVALUE | SetDisplayInfo (const DISPLAYINFO &dispinfo) |
| void | SetFillSpanFunc (OLDFILLSPANFUNC FillSpanFunc) |
| void | SetFillSpanFunc (FILLSPANFUNC FillSpanFunc) |
| void | SetPrivData (void *data) |
| virtual | ~DEVICE_SIMPLE () |
Private Member Functions | |
| CONTEXT * | v_CreateContext () |
| virtual ERRVALUE | v_FillSpan (MGD::CONTEXT *gc, INT32 x1, INT32 x2, INT32 y) |
| virtual COLORSPACE | v_GetColorSpace () const |
This is mostly for use by old code that used to use MgdInitSimple(). In fact, MgdInitSimple() is now implemented using this class.
Definition at line 96 of file mg2simpl.h.
|
|
Definition at line 99 of file mg2simpl.h. |
|
|
Definition at line 98 of file mg2simpl.h. |
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
|
Destructor.
|
|
|
Definition at line 131 of file mg2simpl.h. |
|
|
Definition at line 124 of file mg2simpl.h. |
|
|
Definition at line 127 of file mg2simpl.h. |
|
|
Definition at line 138 of file mg2simpl.h. |
|
|
Definition at line 134 of file mg2simpl.h. |
|
|
Definition at line 142 of file mg2simpl.h. |
|
|
Create a GC for drawing. Derived classes may override this and make it return anything derived from MGD::CONTEXT. MGD::CONTEXT'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. Derived classes that implement this do not need to worry about clipping, as the default implementation in CONTEXT does clipping and then calls this version. If your implementation handles bitmap pattern fills in a way that's optimized for your dest device, you should return CAPABALITY_BitmapFill in GetCapabilities Reimplemented from MGD::DEVICE. Definition at line 162 of file mg2simpl.h. |
|
|
Return the "native" COLORSPACE used by the display Image operations using this colorspace will be more effeciant.
Reimplemented from MGD::DEVICE. Definition at line 159 of file mg2simpl.h. |
1.3.8-20040913