#include <mi32/mg2mem1s.h>
Inheritance diagram for MGD::DEVICE_MEM1_SPARSE:

Public Member Functions | |
| ERRVALUE | Create (INT32 height, INT32 width, bool StartValue=false) |
| DEVICE_MEM1_SPARSE () | |
| virtual | ~DEVICE_MEM1_SPARSE () |
Private Member Functions | |
| virtual CONTEXT * | v_CreateContext () |
| virtual ERRVALUE | v_FillSpan (MGD::CONTEXT *vgc, INT32 x1, INT32 x2, INT32 y) |
| bool | v_GetRange (INT32 x, INT32 y, INT32 x2, INT32 &endx) const |
| bool | v_GetValue (INT32 x, INT32 y) const |
| void | v_SetAll (bool value=true) |
This version is implemented in such a way as to be more memory efficient as it will not allocate memory for lines which are solid. Not as fast as MGD::DEVICE_MEM1
Definition at line 101 of file mg2mem1s.h.
|
|
constructor
|
|
|
Destructor.
|
|
||||||||||||||||
|
|
|
|
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. Overrides base class method. Reimplemented from MGD::DEVICE. |
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
Set the whole image to 1 or 0.
|
1.3.8-20040913