src/hg/hgGene/altSplice.c 1.13

1.13 2009/08/19 23:00:16 angie
Added option to mgSaveToGif and its call stack, to use GIF's Graphic Control Extension to make memgfx's background color (0) transparent. Also corrected terminology for PNG in .h files: useAlpha -> useTransparency.
Index: src/hg/hgGene/altSplice.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGene/altSplice.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -B -U 4 -r1.12 -r1.13
--- src/hg/hgGene/altSplice.c	19 Dec 2008 07:14:02 -0000	1.12
+++ src/hg/hgGene/altSplice.c	19 Aug 2009 23:00:16 -0000	1.13
@@ -97,9 +97,9 @@
 altGraphXLayout(ag, ag->tStart, ag->tEnd, scale, 100, &ssList, &heightHash, &rowCount);
 hashFree(&heightHash);
 pixHeight = rowCount * lineHeight;
 makeTempName(&gifTn, "hgc", ".gif");
-hvg = hvGfxOpenGif(pixWidth, pixHeight, gifTn.forCgi);
+hvg = hvGfxOpenGif(pixWidth, pixHeight, gifTn.forCgi, FALSE);
 makeGrayShades(hvg, maxShade, shadesOfGray);
 hvGfxSetClip(hvg, 0, 0, pixWidth, pixHeight);
 altGraphXDrawPack(ag, ssList, hvg, 0, 0, pixWidth, lineHeight, lineHeight-1,
 		  ag->tStart, ag->tEnd, scale,