7216fbf3ffc72cb77bf509c0bffe719a1daa0ed5 braney Sun Sep 6 16:20:34 2020 -0700 first cut at using FreeType for font support diff --git src/hg/inc/hvGfx.h src/hg/inc/hvGfx.h index 906d82b..c9fab54 100644 --- src/hg/inc/hvGfx.h +++ src/hg/inc/hvGfx.h @@ -347,16 +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); +/* Use the Free Type library to draw fonts. */ + #endif