7197002e0c71569ef55b52a3892c1c766a83695e jcasper Wed Jun 26 15:52:30 2024 -0700 Fixing minor function name typo, no ticket diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 3b7af0a..600223f 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -1727,31 +1727,31 @@ [GLYPH_TRIANGLE] = (struct glyphShape) {3, (struct xyPair[]) {{0.5,0},{1.07735,1},{-0.07735,1}}}, [GLYPH_INV_TRIANGLE] = (struct glyphShape) {3, (struct xyPair[]) {{0.5,1},{1.07735,0},{-0.07735,0}}}, [GLYPH_SQUARE] = (struct glyphShape) {4, (struct xyPair[]) {{0,0},{1,0},{1,1},{0,1}}}, [GLYPH_DIAMOND] = (struct glyphShape) {4, (struct xyPair[]) {{0.5,0},{1,0.5},{0.5,1},{0,0.5}}}, [GLYPH_PENTAGRAM] = (struct glyphShape) {5, (struct xyPair[]) {{0.5,0.0},{0.824920,1.0},{-0.025731,0.381966}, {1.02573,0.381966},{0.175080,1}}}, [GLYPH_OCTAGON] = (struct glyphShape) {8, (struct xyPair[]) {{0.292893,1},{0.707107,1},{1,0.707107}, {1,0.292893},{0.707107,0},{0.292893,0},{0,0.292893},{0,0.707107}}}, [GLYPH_STAR] = (struct glyphShape) {10, (struct xyPair[]) {{0.500000,0.000000},{0.624108,0.381966},{1.025731,0.381966}, {0.700811,0.618034},{0.824920,1.000000},{0.500000,0.763932},{0.175080,1.000000},{0.299189,0.618034}, {-0.025731,0.381966},{0.375892,0.381966}}} }; -void drawScalledGlyph(struct hvGfx *hvg, int chromStart, int chromEnd, double scale, int xOff, int y, +void drawScaledGlyph(struct hvGfx *hvg, int chromStart, int chromEnd, double scale, int xOff, int y, int heightPer, glyphType glyph, boolean filled, Color outlineColor, Color fillColor) /* Draw a glyph as a circle/polygon. If filled, draw as with fillColor, * which may have transparency. */ { int glyphHeight = heightPer-1; int startX, endX; double middleX, middleY = y+heightPer/2.0; // A glyph might be defined on a wide range - find the center and draw specifically there // so we don't have a glyph shifting if only part of that window is in view. int centeredStart, centeredEnd; centeredStart = (chromStart + chromEnd)/2; centeredEnd = (chromStart + chromEnd+1)/2; int ptCount, i, x0, y0; if (!scaledBoxToPixelCoords(centeredStart, centeredEnd, scale, xOff, &startX, &endX))