[cairo-commit] 2 commits - src/cairo-pdf-surface.c src/cairo-recording-surface.c
Adrian Johnson
ajohnson at kemper.freedesktop.org
Sun Jul 3 01:10:08 UTC 2016
src/cairo-pdf-surface.c | 1 -
src/cairo-recording-surface.c | 15 ---------------
2 files changed, 16 deletions(-)
New commits:
commit 1ada65c34f7b76920501af34979dceaa9e7030d9
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sun Jul 3 10:39:08 2016 +0930
pdf: remove unused variable
diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 6ac4f87..afb1675 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -1270,7 +1270,6 @@ _get_source_surface_extents (cairo_surface_t *source,
*extents = sub->extents;
*subsurface = TRUE;
} else {
- cairo_rectangle_int_t surf_extents;
cairo_box_t box;
if (! _cairo_surface_get_extents (source, extents)) {
commit c2dc5aa6849fb41cd42cea66d18436bacac25bbd
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sun Jul 3 10:38:46 2016 +0930
recording: Remove unused function
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c
index 218a8e3..6591313 100644
--- a/src/cairo-recording-surface.c
+++ b/src/cairo-recording-surface.c
@@ -684,21 +684,6 @@ _cairo_recording_surface_reset (cairo_recording_surface_t *surface)
_cairo_array_init (&surface->commands, sizeof (cairo_command_t *));
}
-static cairo_bool_t
-is_identity_recording_pattern (const cairo_pattern_t *pattern)
-{
- cairo_surface_t *surface;
-
- if (pattern->type != CAIRO_PATTERN_TYPE_SURFACE)
- return FALSE;
-
- if (!_cairo_matrix_is_identity(&pattern->matrix))
- return FALSE;
-
- surface = ((cairo_surface_pattern_t *)pattern)->surface;
- return surface->backend->type == CAIRO_SURFACE_TYPE_RECORDING;
-}
-
static cairo_int_status_t
_cairo_recording_surface_paint (void *abstract_surface,
cairo_operator_t op,
More information about the cairo-commit
mailing list