summaryrefslogtreecommitdiff
path: root/src/cairo-surface-private.h
diff options
context:
space:
mode:
authorVladimir Vukicevic <vladimir@pobox.com>2007-08-29 15:34:04 -0700
committerVladimir Vukicevic <vladimir@pobox.com>2007-09-18 09:28:29 -0700
commit284ed91ee4418baf6dd1a437a904980a2156fa48 (patch)
tree3611ab4f499defbdabbc8f5029d55c1a6c17b94c /src/cairo-surface-private.h
parent79d975f84bcc32e91db517d71a7312e2e1d653d4 (diff)
downloadcairo-284ed91ee4418baf6dd1a437a904980a2156fa48.tar.gz
Let surfaces specify their native resolution, for fallback purposes
Diffstat (limited to 'src/cairo-surface-private.h')
-rw-r--r--src/cairo-surface-private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cairo-surface-private.h b/src/cairo-surface-private.h
index 6193cf805..a0b50c522 100644
--- a/src/cairo-surface-private.h
+++ b/src/cairo-surface-private.h
@@ -60,6 +60,14 @@ struct _cairo_surface {
cairo_matrix_t device_transform;
cairo_matrix_t device_transform_inverse;
+ /* The actual resolution of the device, in dots per inch. */
+ double x_resolution;
+ double y_resolution;
+
+ /* The resolution that should be used when generating image-based
+ * fallback; generally only used by the analysis/paginated
+ * surfaces
+ */
double x_fallback_resolution;
double y_fallback_resolution;