mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-05 11:10:33 +01:00
recording: Remove unused function
This commit is contained in:
parent
97d8b2b7de
commit
c2dc5aa684
1 changed files with 0 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue