src/hg/hgTracks/expRatioTracks.c 1.45
1.45 2009/11/05 22:28:37 braney
set correct clipping rectangle
Index: src/hg/hgTracks/expRatioTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/expRatioTracks.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -b -B -U 4 -r1.44 -r1.45
--- src/hg/hgTracks/expRatioTracks.c 14 Sep 2009 15:24:21 -0000 1.44
+++ src/hg/hgTracks/expRatioTracks.c 5 Nov 2009 22:28:37 -0000 1.45
@@ -1588,8 +1588,9 @@
double scale = scaleForWindow(width, seqStart, seqEnd);
int lineHeight = tg->lineHeight;
int y = yOff;
struct slList *item;
+hvGfxSetClip(hvg, xOff, yOff, width, tg->height);
for (item = tg->items; item != NULL; item = item->next)
{
if(tg->itemColor != NULL)
color = tg->itemColor(tg, item, hvg);