a715f8ee926e405d684ba6891aef9ef7c6b28475 braney Fri Feb 1 16:41:47 2019 -0800 circle primitive and a basic version of lollipops diff --git src/lib/vGfxPrivate.h src/lib/vGfxPrivate.h index 6917ee4..ae5c785 100644 --- src/lib/vGfxPrivate.h +++ src/lib/vGfxPrivate.h @@ -27,25 +27,26 @@ char *text); typedef void (*vg_textRight)(void *v, int x, int y, int width, int height, int colorIx, void *font, char *text); typedef void (*vg_textCentered)(void *v, int x, int y, int width, int height, int colorIx, void *font, char *text); typedef int (*vg_findColorIx)(void *v, int r, int g, int b); typedef struct rgbColor (*vg_colorIxToRgb)(void *v, int colorIx); typedef void (*vg_setClip)(void *v, int x, int y, int width, int height); typedef void (*vg_setWriteMode)(void *v, unsigned int writeMode); typedef void (*vg_unclip)(void *v); typedef void (*vg_verticalSmear)(void *v, int xOff, int yOff, int width, int height, Color *dots, boolean zeroClear); typedef void (*vg_fillUnder)(void *v, int x1, int y1, int x2, int y2, int bottom, Color color); +typedef void (*vg_circle)(void *v, int xCen, int yCen, int rad, Color color, boolean filled); typedef void (*vg_drawPoly)(void *v, struct gfxPoly *poly, Color color, boolean filled); typedef void (*vg_ellipse)(void *v, int x1, int y1, int x2, int y2, Color color, int mode, boolean isDashed); typedef int (*vg_curve)(void *v, int x1, int y1, int x2, int y2, int x3, int y3, Color color, boolean isDashed); typedef void (*vg_setHint)(void *v, char *hint, char *value); typedef char * (*vg_getHint)(void *v, char *hint); typedef int (*vg_getFontPixelHeight)(void *v, void *font); typedef int (*vg_getFontStringWidth)(void *v, void *font, char *string);