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_