c8cca307cadefdd6245ab8d1784478c95a717c88 kate Tue Sep 11 18:30:02 2018 -0700 First steps toward multi-region link on details page. refs #21917 diff --git src/hg/inc/hvGfx.h src/hg/inc/hvGfx.h index 1d95f4d..c13a9f6 100644 --- src/hg/inc/hvGfx.h +++ src/hg/inc/hvGfx.h @@ -233,31 +233,32 @@ if (hvg->rc) hvGfxRevPoly(hvg, poly); vgDrawPoly(hvg->vg, poly, color, filled); if (hvg->rc) hvGfxRevPoly(hvg, poly); // restore } INLINE void hvGfxEllipseDraw(struct hvGfx *hvg, int x1, int y1, int x2, int y2, Color color, int mode, boolean isDashed) /* Draw an ellipse (or limit to top or bottom) specified by rectangle. * Optionally, alternate dots. * Point 0 is left, point 1 is top of rectangle. */ { x1 = hvGfxAdjXX(hvg, x1, &x2, &y1, &y2); -vgEllipse(hvg->vg, x1, y1, x2, y2, color, mode, isDashed); +// NOTE: dashed mode may cause a hang, so disabling for now +vgEllipse(hvg->vg, x1, y1, x2, y2, color, mode, FALSE); } INLINE int hvGfxCurve(struct hvGfx *hvg, int x1, int y1, int x2, int y2, int x3, int y3, Color color, boolean isDashed) /* Draw a segment of an anti-aliased curve within 3 points (quadratic Bezier) * Return max y value. Optionally draw curve as dashed line. * Adapted trivially from code posted at http://members.chello.at/~easyfilter/bresenham.html * Author: Zingl Alois, 8/22/2016 */ { x1 = hvGfxAdjXX(hvg, x1, &x2, &y1, &y2); return vgCurve(hvg->vg, x1, y1, x2, y2, x3, y3, color, isDashed); } INLINE int hvGfxFindColorIx(struct hvGfx *hvg, int r, int g, int b) /* Find color in map if possible, otherwise create new color or