diff options
author | Carl Worth <cworth@cworth.org> | 2005-04-04 06:49:19 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-04-04 06:49:19 +0000 |
commit | 027057bf62fe0df78261af338f6d2f190433792b (patch) | |
tree | 42ee2293855e34bc4388d2b5173eaae73b6c45c7 /src/cairo-win32-surface.c | |
parent | 5778c77382f3a81b77aca1d224d0ad7626bcd5d2 (diff) |
Drop cairo_default_matrix since it is now always identical to cairo_identity_matrix.
Remove gstate->pixels_per inch. Change default matrix to always be the identity matrix.
Drop pixels_per_inch function from surface backend interface as it is no longer needed.
Diffstat (limited to 'src/cairo-win32-surface.c')
-rw-r--r-- | src/cairo-win32-surface.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c index ca5c0205..08c130d7 100644 --- a/src/cairo-win32-surface.c +++ b/src/cairo-win32-surface.c @@ -345,13 +345,6 @@ _cairo_win32_surface_finish (void *abstract_surface) return CAIRO_STATUS_SUCCESS; } -static double -_cairo_win32_surface_pixels_per_inch (void *abstract_surface) -{ - /* XXX: We should really get this value from somewhere */ - return 96.0; -} - static cairo_status_t _cairo_win32_surface_get_subimage (cairo_win32_surface_t *surface, int x, @@ -894,7 +887,6 @@ _cairo_surface_is_win32 (cairo_surface_t *surface) static const cairo_surface_backend_t cairo_win32_surface_backend = { _cairo_win32_surface_create_similar, _cairo_win32_surface_finish, - _cairo_win32_surface_pixels_per_inch, _cairo_win32_surface_acquire_source_image, _cairo_win32_surface_release_source_image, _cairo_win32_surface_acquire_dest_image, |