Object Drawing functions


void MDrawText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor fgc, int align)
void MDrawNText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor fgc, int align, int n)
void MDrawBGText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor bgc, MTColor fgc, int align)
void MDrawBGNText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, MTColor bgc, MTColor fgc, int align, int n)
void MDrawShadowedText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, int sh, MTColor fgc1, MTColor fgc2, int align)
void MDrawShadowedNText(MOBJECT p, int x, int y, int w, int h, const char *text, MTFont font, int sh, MTColor fgc1, MTColor fgc2, int align, int n)
void MDrawPoint(MOBJECT p, int x, int y, MTColor col)
void MDrawLine(MOBJECT p, int x1, int y1, int x2, int y2, MTColor col)
void MDrawPolyline(MOBJECT p, MPOINT *points, int n, MTColor col)
void MDrawFilledPolyline(MOBJECT p, MPOINT *points, int n, MTColor col)
void MDrawBox(MOBJECT p, int x, int y, int w, int h, MTColor bgc)
void MDrawFilledBox(MOBJECT p, int x, int y, int w, int h, MTColor bgc)
void MDrawCircle(MOBJECT p, int x, int y, int r, MTColor col)
void MDrawFilledCircle(MOBJECT p, int x, int y, int r, MTColor col)
void MDrawArc(MOBJECT p, int x, int y, int r, int a1, int a2, MTColor col)
void MDrawFilledArc(MOBJECT p, int x, int y, int r, int a1, int a2, MTColor c)
void MDrawImage(MOBJECT p, MIMAGE gi, int pm_x, int pm_y, int w, int h, int x, int y)
void MDrawXorLine(MOBJECT p, int x1, int y1, int x2, int y2)
void MDrawXorBox(MOBJECT p, int x, int y, int w, int h)
Functions in this group allow to draw in a generic GUI object. Should be used on DrawArea object only.

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++