summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-10 23:23:08 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-11 00:38:30 -0400
commit391bef58fcb301014adc8b06db7265c5c9b3bee3 (patch)
tree0d4202381656f0bb35c5b5d3abf63fb45215db9e /doc
parent4a01b1d9c94beb4b3df9d4c7c8d7411c6afa1034 (diff)
Add support for always-builtin features in the build system
Like image surface and user fonts.
Diffstat (limited to 'doc')
-rw-r--r--doc/public/cairo-sections.txt2
-rw-r--r--doc/public/tmpl/cairo-image.sgml11
-rw-r--r--doc/public/tmpl/cairo-user-fonts.sgml12
3 files changed, 25 insertions, 0 deletions
diff --git a/doc/public/cairo-sections.txt b/doc/public/cairo-sections.txt
index b2bb1f1f..160de465 100644
--- a/doc/public/cairo-sections.txt
+++ b/doc/public/cairo-sections.txt
@@ -34,6 +34,7 @@ cairo_quartz_font_face_create_for_atsu_font_id
<SECTION>
<FILE>cairo-user-fonts</FILE>
<TITLE>user-font</TITLE>
+CAIRO_HAS_USER_FONT
cairo_user_scaled_font_init_func_t
cairo_user_scaled_font_render_glyph_func_t
cairo_user_scaled_font_text_to_glyphs_func_t
@@ -52,6 +53,7 @@ cairo_user_font_face_get_text_to_glyphs_func
<SECTION>
<FILE>cairo-image</FILE>
<TITLE>image-surface</TITLE>
+CAIRO_HAS_IMAGE_SURFACE
cairo_format_t
cairo_format_stride_for_width
cairo_image_surface_create
diff --git a/doc/public/tmpl/cairo-image.sgml b/doc/public/tmpl/cairo-image.sgml
index c15cc664..6ac615b1 100644
--- a/doc/public/tmpl/cairo-image.sgml
+++ b/doc/public/tmpl/cairo-image.sgml
@@ -21,6 +21,17 @@ image formats are those defined in #cairo_format_t.
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### MACRO CAIRO_HAS_IMAGE_SURFACE ##### -->
+<para>
+Defined if the image surface backend is available.
+The image surface backend is always built in.
+This macro was added for completeness in cairo 1.8.
+</para>
+
+@Since: 1.8
+
+
+
<!-- ##### ENUM cairo_format_t ##### -->
<para>
diff --git a/doc/public/tmpl/cairo-user-fonts.sgml b/doc/public/tmpl/cairo-user-fonts.sgml
index c1cf8c41..14b3257d 100644
--- a/doc/public/tmpl/cairo-user-fonts.sgml
+++ b/doc/public/tmpl/cairo-user-fonts.sgml
@@ -22,6 +22,18 @@ other application to draw "funky" fonts.
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### MACRO CAIRO_HAS_USER_FONT ##### -->
+<para>
+Defined if the user font backend is available.
+This macro can be used to conditionally compile backend-specific code.
+The user font backend is always built in versions of cairo that support
+this feature (1.8 and later).
+</para>
+
+@Since: 1.8
+
+
+
<!-- ##### USER_FUNCTION cairo_user_scaled_font_init_func_t ##### -->
<para>