From 54c1b31f274e134dc1f532db6e96b5958caf3fc7 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 6 Sep 2007 19:23:33 +0000 Subject: [PATCH] add a GVDEVICE_COMPRESSED_FORMAT in preparation for consolidaing zlib file output --- lib/gvc/gvcjob.h | 33 +++++++++++++++++---------------- plugin/core/gvrender_core_svg.c | 1 + 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/lib/gvc/gvcjob.h b/lib/gvc/gvcjob.h index c5c294222..b6bdc0af1 100644 --- a/lib/gvc/gvcjob.h +++ b/lib/gvc/gvcjob.h @@ -52,22 +52,23 @@ extern "C" { #define GVDEVICE_EVENTS (1<<7) #define GVDEVICE_DOES_TRUECOLOR (1<<8) #define GVDEVICE_BINARY_FORMAT (1<<9) -#define GVRENDER_Y_GOES_DOWN (1<<10) -#define GVRENDER_DOES_TRANSFORM (1<<11) -#define GVRENDER_DOES_ARROWS (1<<12) -#define GVRENDER_DOES_LABELS (1<<13) -#define GVRENDER_DOES_MAPS (1<<14) -#define GVRENDER_DOES_MAP_RECTANGLE (1<<15) -#define GVRENDER_DOES_MAP_CIRCLE (1<<16) -#define GVRENDER_DOES_MAP_POLYGON (1<<17) -#define GVRENDER_DOES_MAP_ELLIPSE (1<<18) -#define GVRENDER_DOES_MAP_BSPLINE (1<<19) -#define GVRENDER_DOES_TOOLTIPS (1<<20) -#define GVRENDER_DOES_TARGETS (1<<21) -#define GVRENDER_DOES_Z (1<<22) -#define GVRENDER_NO_BG (1<<23) -#define LAYOUT_NOT_REQUIRED (1<<24) -#define OUTPUT_NOT_REQUIRED (1<<25) +#define GVDEVICE_COMPRESSED_FORMAT (1<<10) +#define GVRENDER_Y_GOES_DOWN (1<<11) +#define GVRENDER_DOES_TRANSFORM (1<<12) +#define GVRENDER_DOES_ARROWS (1<<13) +#define GVRENDER_DOES_LABELS (1<<14) +#define GVRENDER_DOES_MAPS (1<<15) +#define GVRENDER_DOES_MAP_RECTANGLE (1<<16) +#define GVRENDER_DOES_MAP_CIRCLE (1<<17) +#define GVRENDER_DOES_MAP_POLYGON (1<<18) +#define GVRENDER_DOES_MAP_ELLIPSE (1<<19) +#define GVRENDER_DOES_MAP_BSPLINE (1<<20) +#define GVRENDER_DOES_TOOLTIPS (1<<21) +#define GVRENDER_DOES_TARGETS (1<<22) +#define GVRENDER_DOES_Z (1<<23) +#define GVRENDER_NO_BG (1<<24) +#define LAYOUT_NOT_REQUIRED (1<<25) +#define OUTPUT_NOT_REQUIRED (1<<26) typedef struct { int flags; diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index 221ad62d1..bba698595 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -498,6 +498,7 @@ gvdevice_features_t device_features_svg = { gvdevice_features_t device_features_svgz = { GVDEVICE_BINARY_FORMAT + | GVDEVICE_COMPRESSED_FORMAT | GVDEVICE_DOES_TRUECOLOR,/* flags */ {0.,0.}, /* default margin - points */ {0.,0.}, /* default page width, height - points */ -- 2.40.0