[cairo-commit] cairo/doc/public/tmpl cairo-font.sgml, 1.2,
1.3 cairo-matrix.sgml, 1.4, 1.5 cairo-pattern.sgml, 1.2,
1.3 cairo-surface.sgml, 1.6, 1.7 cairo.sgml, 1.7, 1.8
Owen Taylor
commit at pdx.freedesktop.org
Fri Apr 8 13:14:19 PDT 2005
Committed by: otaylor
Update of /cvs/cairo/cairo/doc/public/tmpl
In directory gabe:/tmp/cvs-serv9556/doc/public/tmpl
Modified Files:
cairo-font.sgml cairo-matrix.sgml cairo-pattern.sgml
cairo-surface.sgml cairo.sgml
Log Message:
2005-04-08 Owen Taylor <otaylor at redhat.com>
* src/cairo.h src/cairo-font.c src/cairoint.h
doc/public/cairo-sections.txt:
Add cairo_font_face_set/get_user_data().
* src/cairo-array.c src/cairoint.h src/cairo-surface.c:
Refactor user data code from cairo-surface.c into
cairo_user_data_array_t.
* src/cairo-font.c (cairo_font_face_destroy,
(cairo_scaled_font_destroy, _cairo_unscaled_font_destroy):
Switch these types to be like cairo_surface_t where the
generic code frees the wrapper object.
* src/cairo-atsui-font.c src/cairo-ft-font.c
src/cairo-win32-font.c: Fix up for the above changes.
* src/cairo-ft-font.c (_cairo_ft_unscaled_font_destroy,
_ft_font_face_destroy): Implement a complicated mutual-referencing
scheme to make sure that a face from cairo_ft_font_face_create_for_ft_face()
is freed only when the FT_Face is no longer needed.
* src/cairo-ft-font.c (cairo_ft_font_face_create_for_ft_face):
Update the docs to describe how to figure out when the FT_Face
can be freed.
* src/cairo-ft-font.c: Fix refcount leaks when creating fonts.
* src/cairo-pdf-surface.c (cairo_pdf_ft_font_create): Remove
excess call to _cairo_unscaled_font_reference().
* src/cairo-gstate.c (_cairo_gstate_set_font_face): Remove
stray initialization of font matrix to the identity.
* src/cairo-array.c (_cairo_user_data_array_set_data) test/user-data.c:
Fix a bug when setting/unsetting a key with a free key slot before it,
add that to the test case.
* src/cairo-array.c (_cairo_user_data_array_set_data):
Don't append an element when user_data is NULL.
Index: cairo-font.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo-font.sgml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo-font.sgml 7 Apr 2005 20:29:32 -0000 1.2
+++ cairo-font.sgml 8 Apr 2005 20:14:17 -0000 1.3
@@ -17,32 +17,42 @@
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### TYPEDEF cairo_font_face_t ##### -->
+<!-- ##### FUNCTION cairo_font_face_reference ##### -->
<para>
</para>
+ at font_face:
-<!-- ##### TYPEDEF cairo_scaled_font_t ##### -->
+
+<!-- ##### FUNCTION cairo_font_face_destroy ##### -->
<para>
</para>
+ at font_face:
+
-<!-- ##### FUNCTION cairo_font_face_reference ##### -->
+<!-- ##### FUNCTION cairo_font_face_get_user_data ##### -->
<para>
</para>
@font_face:
+ at key:
+ at Returns:
-<!-- ##### FUNCTION cairo_font_face_destroy ##### -->
+<!-- ##### FUNCTION cairo_font_face_set_user_data ##### -->
<para>
</para>
@font_face:
+ at key:
+ at user_data:
+ at destroy:
+ at Returns:
<!-- ##### FUNCTION cairo_scaled_font_create ##### -->
Index: cairo-matrix.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo-matrix.sgml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cairo-matrix.sgml 7 Apr 2005 18:04:00 -0000 1.4
+++ cairo-matrix.sgml 8 Apr 2005 20:14:17 -0000 1.5
@@ -41,18 +41,6 @@
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### STRUCT cairo_matrix_t ##### -->
-<para>
-
-</para>
-
- at xx:
- at yx:
- at xy:
- at yy:
- at x0:
- at y0:
-
<!-- ##### FUNCTION cairo_matrix_create ##### -->
<para>
Index: cairo-pattern.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo-pattern.sgml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo-pattern.sgml 10 Mar 2005 16:59:11 -0000 1.2
+++ cairo-pattern.sgml 8 Apr 2005 20:14:17 -0000 1.3
@@ -17,12 +17,6 @@
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### TYPEDEF cairo_pattern_t ##### -->
-<para>
-
-</para>
-
-
<!-- ##### FUNCTION cairo_pattern_create_for_surface ##### -->
<para>
Index: cairo-surface.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo-surface.sgml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cairo-surface.sgml 7 Apr 2005 18:04:00 -0000 1.6
+++ cairo-surface.sgml 8 Apr 2005 20:14:17 -0000 1.7
@@ -17,12 +17,6 @@
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### TYPEDEF cairo_surface_t ##### -->
-<para>
-
-</para>
-
-
<!-- ##### MACRO cairo_surface_create_for_image ##### -->
<para>
Index: cairo.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo.sgml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cairo.sgml 7 Apr 2005 20:29:32 -0000 1.7
+++ cairo.sgml 8 Apr 2005 20:14:17 -0000 1.8
@@ -27,12 +27,6 @@
<!-- ##### SECTION Stability_Level ##### -->
-<!-- ##### TYPEDEF cairo_t ##### -->
-<para>
-
-</para>
-
-
<!-- ##### FUNCTION cairo_create ##### -->
<para>
@@ -997,13 +991,6 @@
@data:
-<!-- ##### STRUCT cairo_user_data_key_t ##### -->
-<para>
-
-</para>
-
- at unused:
-
<!-- ##### USER_FUNCTION cairo_write_func_t ##### -->
<para>
More information about the cairo-commit
mailing list