00001
00002
00003
00004
00005 struct vGfx *vgHalfInit(int width, int height);
00006
00007
00008
00009 void vgMgMethods(struct vGfx *vg);
00010
00011
00012
00013
00014
00015
00016 typedef void (*vg_close)(void **pV);
00017 typedef void (*vg_dot)(void *v, int x, int y, int colorIx);
00018 typedef int (*vg_getDot)(void *v, int x, int y);
00019 typedef void (*vg_box)(void *v, int x, int y,
00020 int width, int height, int colorIx);
00021 typedef void (*vg_line)(void *v,
00022 int x1, int y1, int x2, int y2, int colorIx);
00023 typedef void (*vg_text)(void *v, int x, int y, int colorIx, void *font,
00024 char *text);
00025 typedef void (*vg_textRight)(void *v, int x, int y, int width, int height,
00026 int colorIx, void *font, char *text);
00027 typedef void (*vg_textCentered)(void *v, int x, int y, int width, int height,
00028 int colorIx, void *font, char *text);
00029 typedef int (*vg_findColorIx)(void *v, int r, int g, int b);
00030 typedef struct rgbColor (*vg_colorIxToRgb)(void *v, int colorIx);
00031 typedef void (*vg_setClip)(void *v, int x, int y, int width, int height);
00032 typedef void (*vg_unclip)(void *v);
00033 typedef void (*vg_verticalSmear)(void *v,
00034 int xOff, int yOff, int width, int height,
00035 unsigned char *dots, boolean zeroClear);
00036 typedef void (*vg_fillUnder)(void *v, int x1, int y1,
00037 int x2, int y2, int bottom, Color color);
00038 typedef void (*vg_drawPoly)(void *v, struct gfxPoly *poly, Color color, boolean filled);
00039 typedef void (*vg_setHint)(void *v, char *hint, char *value);
00040 typedef char * (*vg_getHint)(void *v, char *hint);
00041