aboutsummaryrefslogtreecommitdiff
path: root/ports/cairo/cairo-features.h
diff options
context:
space:
mode:
authorMichael B. McLaughlin <mikebmcl@gmail.com>2016-11-25 18:48:19 -0500
committerMichael B. McLaughlin <mikebmcl@gmail.com>2016-11-25 18:48:19 -0500
commit57f051776f3015e51045bab19d71fa8f7a69c81b (patch)
tree259cf27de1c7c1a1c92dc039990fbc41e8bb0780 /ports/cairo/cairo-features.h
parent2a8d61bf1bb74182f9a213ce4e640b05675f01df (diff)
downloadvcpkg-57f051776f3015e51045bab19d71fa8f7a69c81b.tar.gz
vcpkg-57f051776f3015e51045bab19d71fa8f7a69c81b.zip
Added ports for pixman 0.32.0 and cairo 1.14.6. Note that neither support UWP (pixman can only build as a static library due to having no exports and cairo depends on GDI among other things). Also, cairo depends on pixman, libpng, and zlib.
Diffstat (limited to 'ports/cairo/cairo-features.h')
-rw-r--r--ports/cairo/cairo-features.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ports/cairo/cairo-features.h b/ports/cairo/cairo-features.h
new file mode 100644
index 000000000..b9277b7f7
--- /dev/null
+++ b/ports/cairo/cairo-features.h
@@ -0,0 +1,27 @@
+#ifndef CAIRO_FEATURES_H
+#define CAIRO_FEATURES_H
+/* Chosen from the various possible defines in "../build/Makefile.win32.features.h""
+ guided by "../build/Makefile.win32.features". Modify at your own risk.
+*/
+
+/* Always for Win32 */
+#define CAIRO_HAS_WIN32_SURFACE 1
+#define CAIRO_HAS_WIN32_FONT 1
+
+/* Require libpng */
+#define CAIRO_HAS_PNG_FUNCTIONS 1
+#define CAIRO_HAS_PS_SURFACE 1
+#define CAIRO_HAS_PDF_SURFACE 1
+
+// Likely available
+#define CAIRO_HAS_SCRIPT_SURFACE 1
+#define CAIRO_HAS_SVG_SURFACE 1
+
+/* Always available */
+#define CAIRO_HAS_IMAGE_SURFACE 1
+#define CAIRO_HAS_MIME_SURFACE 1
+#define CAIRO_HAS_RECORDING_SURFACE 1
+#define CAIRO_HAS_OBSERVER_SURFACE 1
+#define CAIRO_HAS_USER_FONT 1
+
+#endif