3bae4c349bcfe87d5d8c8937b59fc8d00f585bf0
kate
  Mon Jan 8 16:00:19 2018 -0800
Use anti-aliasing code for bezier curve. For shared dev w/ Braney. refs #17512

diff --git src/hg/hgTracks/longRangeTrack.c src/hg/hgTracks/longRangeTrack.c
index 1c50c02..10f0842 100644
--- src/hg/hgTracks/longRangeTrack.c
+++ src/hg/hgTracks/longRangeTrack.c
@@ -171,31 +171,32 @@
         }
     if (eOnScreen)
         {
         // draw foot of second region
         hvGfxLine(hvg, ex - eFootWidth, yOff, ex + eFootWidth, yOff, color);
 
         // draw vertical
         if (!sOnScreen || draw == DRAW_LINE)
             hvGfxLine(hvg, ex, yOff, ex, peak, color); //OLD
         }
     if (tg->visibility == tvFull)
         {
         if (sOnScreen && eOnScreen && draw != DRAW_LINE)
             {
             if (draw == DRAW_CURVE)
-                hvGfxCurve(hvg, sx, yOff, (ex-sx+1)/2 + sx, peak+60, ex, yOff, color);
+                //hvGfxCurve(hvg, sx, yOff, (ex-sx+1)/2 + sx, peak+60, ex, yOff, color);
+                hvGfxCurveAA(hvg, sx, yOff, (ex-sx+1)/2 + sx, peak+60, ex, yOff, color);
             else if (draw == DRAW_ELLIPSE)
                 {
                 int yLeft = yOff + peakHeight;
                 int yTop = yOff - peakHeight;
                 hvGfxEllipseDraw(hvg, sx, yLeft, ex, yTop, color, ELLIPSE_BOTTOM); // demo
                 }
             // TODO: map boxes for curves -- perhaps a colored dot at peak ?
             }
         else
             {
             // draw link horizontal line between regions (dense mode just shows feet ??)
             unsigned ePeak = eOnScreen ? ex : xOff + width;
             unsigned sPeak = sOnScreen ? sx : xOff;
             hvGfxLine(hvg, sPeak, peak, ePeak, peak, color);