mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-28 15:40:12 +01:00
Return CAIRO_STATUS_SUCCESS even if we don't implement masks yet, so we don't set cr->status to CAIRO_INT_STATUS_UNSUPPORTED.
This commit is contained in:
parent
c4697bc572
commit
74416f2d9a
3 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-03-08 Kristian Høgsberg <krh@redhat.com>
|
||||
|
||||
* src/cairo_pdf_surface.c (_cairo_pdf_surface_composite): Return
|
||||
CAIRO_STATUS_SUCCESS even if we don't implement masks yet, so we
|
||||
don't set cr->status to CAIRO_INT_STATUS_UNSUPPORTED.
|
||||
|
||||
2005-03-07 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo_traps.c: Disable the "new" intersection code so that
|
||||
|
|
|
|||
|
|
@ -1328,7 +1328,7 @@ _cairo_pdf_surface_composite (cairo_operator_t operator,
|
|||
cairo_surface_pattern_t *src = (cairo_surface_pattern_t *) src_pattern;
|
||||
|
||||
if (mask_pattern)
|
||||
return CAIRO_INT_STATUS_UNSUPPORTED;
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
||||
if (src_pattern->type != CAIRO_PATTERN_SURFACE)
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
|
|
|||
|
|
@ -1328,7 +1328,7 @@ _cairo_pdf_surface_composite (cairo_operator_t operator,
|
|||
cairo_surface_pattern_t *src = (cairo_surface_pattern_t *) src_pattern;
|
||||
|
||||
if (mask_pattern)
|
||||
return CAIRO_INT_STATUS_UNSUPPORTED;
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
||||
if (src_pattern->type != CAIRO_PATTERN_SURFACE)
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue