50214f805964207ffae51a783513167cb51f5e2e braney Tue Sep 29 17:49:32 2020 -0700 support font choice in freetype font support diff --git src/hg/inc/hvGfx.h src/hg/inc/hvGfx.h index c9fab54..c96e57c 100644 --- src/hg/inc/hvGfx.h +++ src/hg/inc/hvGfx.h @@ -347,19 +347,19 @@ */ /* int hvGfxCurve(struct hvGfx *hvg, int x0, int y0, int x1, int y1, int x2, int y2, Color color, boolean isDotted); */ /* Draw a segment of an anti-aliased curve within 3 points (quadratic Bezier) * Return max y value. Optionally alternate dots. * Adapted trivially from code posted at http://members.chello.at/~easyfilter/bresenham.html */ /* Thanks to author * @author Zingl Alois * @date 22.08.2016 */ void hvGfxDottedLine(struct hvGfx *hvg, int x1, int y1, int x2, int y2, Color color, boolean isDash); /* Brezenham line algorithm, alternating dots, by 1 pixel or two (isDash true) */ -void hvGfxSetFontMethod(struct hvGfx *hvg, unsigned int method); +void hvGfxSetFontMethod(struct hvGfx *hvg, unsigned int method, char *fontFile); /* Use the Free Type library to draw fonts. */ #endif