93fe466f71fc1e40c33e27f311f846d26028cb26 kate Thu Jan 11 18:18:16 2018 -0800 Abandon unaliased bezier curve after Braney fixed aliased version. Checked timing on aliased and it was speedy, so ono reason to keep ugly drawer. refs #17512 diff --git src/hg/inc/hvGfx.h src/hg/inc/hvGfx.h index 1d0a2ce..be5535c 100644 --- src/hg/inc/hvGfx.h +++ src/hg/inc/hvGfx.h @@ -317,28 +317,22 @@ * Adapted trivially from code posted at http://members.chello.at/~easyfilter/bresenham.html */ void hvGfxEllipse(struct hvGfx *hvg, int x0, int y0, int x1, int y1, Color color); /* Draw an ellipse using Bresenham algorithm. * Point 1 is left, point 2 is top * Adapted trivially from code posted at http://members.chello.at/~easyfilter/bresenham.html */ void hvGfxEllipseAA(struct hvGfx *hvg, int x0, int y0, int x1, int y1, Color color); /* Draw an anti-aliased ellipse specified by rectangle, using Bresenham algorithm. * Point 0 is left, point 1 is top of rectangle * Adapted trivially from code posted at http://members.chello.at/~easyfilter/bresenham.html */ -void hvGfxCurveAA(struct hvGfx *hvg, int x0, int y0, int x1, int y1, int x2, int y2, Color color); +void hvGfxCurve(struct hvGfx *hvg, int x0, int y0, int x1, int y1, int x2, int y2, Color color); /* Draw a an anti-aliased curve within 3 points (quadratic Bezier) * Adapted trivially from code posted at http://members.chello.at/~easyfilter/bresenham.html */ /* Thanks to author * @author Zingl Alois * @date 22.08.2016 */ -void hvGfxCurve(struct hvGfx *hvg, int x0, int y0, int x1, int y1, int x2, int y2, Color color); -/* Draw curve within 3 points (quadratic Bezier) - * Adapted trivially from code posted on github and at http://members.chello.at/~easyfilter/bresenham.html */ - /* Thanks to author * @author Zingl Alois - * @date 22.08.2016 */ - #endif