]> granicus.if.org Git - graphviz/commitdiff
add a GVDEVICE_COMPRESSED_FORMAT in preparation for consolidaing zlib file output
authorellson <devnull@localhost>
Thu, 6 Sep 2007 19:23:33 +0000 (19:23 +0000)
committerellson <devnull@localhost>
Thu, 6 Sep 2007 19:23:33 +0000 (19:23 +0000)
lib/gvc/gvcjob.h
plugin/core/gvrender_core_svg.c

index c5c294222d58116fa370387bb9d212a283745c1f..b6bdc0af181aa7cde4d27cff217097dc12f58267 100644 (file)
@@ -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;
index 221ad62d123e8196514f648509f0e456dca40018..bba6985955f64f6698da7952f42276e97607220d 100644 (file)
@@ -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 */