Skip Menu |

This queue is for tickets about the Cairo CPAN distribution.

Report information
The Basics
Id: 70451
Status: resolved
Priority: 0/
Queue: Cairo

People
Owner: Nobody in particular
Requestors: lwsitu [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: missing cairo_operator_t enums for cairo 1.10
A patch to add the enums for the operators that were added in cairo 1.10. List of operators from http://cairographics.org/operators/
Subject: missing_cairo_1.10_operators.diff
diff --git a/Makefile.PL b/Makefile.PL index 1a7f2f8..32f5b3c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -342,7 +342,24 @@ if ($have_cairo_1_10) { CAIRO_SURFACE_TYPE_TEE CAIRO_SURFACE_TYPE_XML CAIRO_SURFACE_TYPE_SKIA - CAIRO_SURFACE_TYPE_SUBSURFACE/]); + CAIRO_SURFACE_TYPE_SUBSURFACE/], + cairo_operator_t => [ + qw/CAIRO_OPERATOR_MULTIPLY + CAIRO_OPERATOR_SCREEN + CAIRO_OPERATOR_OVERLAY + CAIRO_OPERATOR_DARKEN + CAIRO_OPERATOR_LIGHTEN + CAIRO_OPERATOR_COLOR_DODGE + CAIRO_OPERATOR_COLOR_BURN + CAIRO_OPERATOR_HARD_LIGHT + CAIRO_OPERATOR_SOFT_LIGHT + CAIRO_OPERATOR_DIFFERENCE + CAIRO_OPERATOR_EXCLUSION + CAIRO_OPERATOR_HSL_HUE + CAIRO_OPERATOR_HSL_SATURATION + CAIRO_OPERATOR_HSL_COLOR + CAIRO_OPERATOR_HSL_LUMINOSITY/], + ); $enums{cairo_pdf_version_t} = [qw/ CAIRO_PDF_VERSION_
On Wed Aug 24 00:08:21 2011, lwsitu@yahoo.com wrote: Show quoted text
> A patch to add the enums for the operators that were added in cairo > 1.10. List of operators from http://cairographics.org/operators/
Thanks a lot. I missed these because they don't have a "Since:" tag and thus don't show up in the list of new API in 1.10. Patch committed to git master.