summaryrefslogtreecommitdiff
path: root/rsvg-private.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2011-09-15 23:39:01 +0200
committerChristian Persch <chpe@gnome.org>2011-11-07 20:01:54 +0100
commit396efea7fa5518c49c0ceba78867acaaeaa0da06 (patch)
tree0edf30dfaf982bd5a05c83477a0d302683ebc105 /rsvg-private.h
parentd780a951211e1a17f3615f629dbe5f821dd1844e (diff)
downloadlibrsvg-396efea7fa5518c49c0ceba78867acaaeaa0da06.tar.gz
Use cairo_rectangle_t
Diffstat (limited to 'rsvg-private.h')
-rw-r--r--rsvg-private.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/rsvg-private.h b/rsvg-private.h
index a8dd2f99..4b2b7a9d 100644
--- a/rsvg-private.h
+++ b/rsvg-private.h
@@ -27,6 +27,8 @@
#ifndef RSVG_PRIVATE_H
#define RSVG_PRIVATE_H
+#include <cairo.h>
+
#include "rsvg.h"
#include "rsvg-bpath-util.h"
@@ -177,8 +179,8 @@ struct RsvgHandlePrivate {
};
typedef struct {
+ cairo_rectangle_t rect;
gboolean active;
- double x, y, w, h;
} RsvgViewBox;
/*Contextual information for the drawing phase*/
@@ -248,7 +250,7 @@ struct _RsvgIRect {
};
typedef struct {
- gdouble x, y, w, h;
+ cairo_rectangle_t rect;
gboolean virgin;
double affine[6];
} RsvgBbox;