This image class can create custom scaled glyphs via a "drawlist". The drawlist is an array of drawing directives such as lines, areafills, etc. All coordinates are based on an imaginary grid of a user specified size, then ScalerDiv() is used to scale these coordinates to the desired image size to be rendered. This is a lower level class utilized by glyph.image, if you create some interesting drawlist, please consider passing them on to others, or to us for inclusion.
ATTRIBUTES
DRAWLIST_Directives (struct DrawList *)
An array of drawlist directive structures are passed to specify the vectors and render operation. The last entry must be DLST_END!
struct DrawList
{
WORD dl_Directive;
WORD dl_X1, dl_Y1;
WORD dl_X2, dl_Y2;
WORD dl_Pen;
};
The following directives are supported;
DLST_END
End the directive list.
DLST_LINE
Render a line from dl_x1,dl_y1 to dl_x2,dl_y2
DLST_RECT
Cause a RectFill() of size dl_x1,dl_y1,dl_x2,dl_y2