6eab7fc47402f1ce34ed331ae80f5bcbee54da82 braney Thu Dec 16 13:30:33 2010 -0800 remove USE_PNG and GIF support #1323 diff --git src/hg/inc/hvGfx.h src/hg/inc/hvGfx.h index ad76c1b..3c161d0 100644 --- src/hg/inc/hvGfx.h +++ src/hg/inc/hvGfx.h @@ -7,44 +7,35 @@ struct hvGfx /* browser graphics interface */ { struct hvGfx *next; /* Next in list. */ struct vGfx *vg; /* virtual graphics object */ boolean rc; /* reverse-complement display (negative strand) */ boolean pixelBased; /* Real pixels, not PostScript or something. */ int width, height; /* Virtual pixel dimensions. */ int clipMinX; /* X clipping region, before reverse */ int clipMaxX; int clipMinY; int clipMaxY; }; -#ifndef USE_PNG -struct hvGfx *hvGfxOpenGif(int width, int height, char *fileName, boolean useTransparency); -/* Open up something that we'll write out as a GIF someday. - * If useTransparency, then the first color in memgfx's colormap/palette is - * assumed to be the image background color, and pixels of that color - * are made transparent. */ -#else - struct hvGfx *hvGfxOpenPng(int width, int height, char *fileName, boolean useTransparency); /* Open up something that we'll write out as a PNG someday. * If useTransparency, then the first color in memgfx's colormap/palette is * assumed to be the image background color, and pixels of that color * are made transparent. */ -#endif /* USE_PNG */ struct hvGfx *hvGfxOpenPostScript(int width, int height, char *fileName); /* Open up something that will someday be a PostScript file. */ void hvGfxClose(struct hvGfx **pHvg); /* Close down virtual graphics object, and finish writing it to file. */ INLINE int hvGfxAdjX(struct hvGfx *hvg, int x) /* Return an X position, updating if reverse-complement mode */ { if (hvg->rc) return hvg->width - (x+1); else return x; }