[cairo-commit] cairo/doc/public/tmpl cairo-font.sgml,1.7,1.8
Carl Worth
commit at pdx.freedesktop.org
Thu Jul 28 09:46:40 PDT 2005
- Previous message: [cairo-commit] cairo ChangeLog,1.778,1.779
- Next message: [cairo-commit] cairo/src cairo-ft-font.c, 1.81,
1.82 cairo-glitz-surface.c, 1.53, 1.54 cairo-gstate.c, 1.150,
1.151 cairo-image-surface.c, 1.51,
1.52 cairo-path-data-private.h, 1.6, 1.7 cairo-path-data.c,
1.8, 1.9 cairo-pattern.c, 1.51, 1.52 cairo-png.c, 1.18,
1.19 cairo-ps-surface.c, 1.44, 1.45 cairo-quartz-surface.c,
1.15, 1.16 cairo-surface.c, 1.83, 1.84 cairo-win32-font.c,
1.29, 1.30 cairo-win32-surface.c, 1.30,
1.31 cairo-xcb-surface.c, 1.41, 1.42 cairo-xlib-surface.c,
1.98, 1.99 cairo.c, 1.115, 1.116 cairoint.h, 1.172, 1.173
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: cworth
Update of /cvs/cairo/cairo/doc/public/tmpl
In directory gabe:/tmp/cvs-serv30850/doc/public/tmpl
Modified Files:
cairo-font.sgml
Log Message:
* src/cairoint.h:
* src/cairo-path-data-private.h:
* src/cairo-path-data.c:
* src/cairo-pattern.c:
* src/cairo-surface.c:
Remove all create_in_error functions as they were just muddling up
the memory management semantics:
_cairo_path_data_create_in_error
_cairo_pattern_create_in_error
_cairo_surface_create_in_error
* src/cairo-gstate.c: (_cairo_gstate_mask),
(_composite_traps_intermediate_surface),
(_cairo_gstate_intersect_clip_mask), (_cairo_gstate_show_glyphs):
Don't bother with extra check of other->status to anticipate and
try to prevent cairo_surface_create_similar from returning through
cairo_surface_create_in_error.
* src/cairo-glitz-surface.c: (cairo_glitz_surface_create):
* src/cairo-image-surface.c: (cairo_image_surface_create),
(cairo_image_surface_create_for_data):
* src/cairo-png.c: (cairo_image_surface_create_from_png):
* src/cairo-surface.c: (_cairo_surface_create_similar_scratch),
(cairo_surface_create_similar),
(_cairo_surface_create_similar_solid):
* src/cairo-win32-surface.c: (_cairo_win32_surface_create_for_dc):
* src/cairo-xlib-surface.c: (cairo_xlib_surface_create):
* src/cairo.c: (cairo_get_source), (cairo_get_font_face):
(cairo_get_target), (cairo_copy_path), (cairo_copy_path_flat):
Just return &_cairo_surface|pattern|path_nil rather than
_cairo_surface|pattern|path_create_in_error.
* src/cairo-ft-font.c:
* src/cairo-glitz-surface.c:
* src/cairo-gstate.c:
* src/cairo-pattern.c:
* src/cairo-ps-surface.c:
* src/cairo-win32-font.c:
* src/cairo-win32-surface.c:
* src/cairo-xcb-surface.c:
* src/cairo-xlib-surface.c:
After checking surface->status from a cairo_<foo>_surface_create
function, just return CAIRO_STATUS_NO_MEMORY since that's the only
error we'll get from one of these create functions.
* src/cairo-gstate.c: (_cairo_gstate_get_target):
Remove unnecessary check for gstate == NULL;
* src/cairo-pattern.c:
(_cairo_pattern_acquire_surface_for_gradient): Fix old check for
image == NULL instead of image->base.status.
* src/cairo-quartz-surface.c:
(_cairo_quartz_surface_acquire_source_image):
Add missing check of surface->image_base.status after creating
surface->image.
* src/cairo-xcb-surface.c: (_cairo_xcb_surface_create_similar):
* src/cairo-xlib-surface.c: (_cairo_xlib_surface_create_similar):
Add missing check of surface->base.status after creating surface.
Index: cairo-font.sgml
===================================================================
RCS file: /cvs/cairo/cairo/doc/public/tmpl/cairo-font.sgml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cairo-font.sgml 21 Jul 2005 13:52:13 -0000 1.7
+++ cairo-font.sgml 28 Jul 2005 16:46:38 -0000 1.8
@@ -113,6 +113,7 @@
@scaled_font:
@extents:
+<!-- # Unused Parameters # -->
@Returns:
- Previous message: [cairo-commit] cairo ChangeLog,1.778,1.779
- Next message: [cairo-commit] cairo/src cairo-ft-font.c, 1.81,
1.82 cairo-glitz-surface.c, 1.53, 1.54 cairo-gstate.c, 1.150,
1.151 cairo-image-surface.c, 1.51,
1.52 cairo-path-data-private.h, 1.6, 1.7 cairo-path-data.c,
1.8, 1.9 cairo-pattern.c, 1.51, 1.52 cairo-png.c, 1.18,
1.19 cairo-ps-surface.c, 1.44, 1.45 cairo-quartz-surface.c,
1.15, 1.16 cairo-surface.c, 1.83, 1.84 cairo-win32-font.c,
1.29, 1.30 cairo-win32-surface.c, 1.30,
1.31 cairo-xcb-surface.c, 1.41, 1.42 cairo-xlib-surface.c,
1.98, 1.99 cairo.c, 1.115, 1.116 cairoint.h, 1.172, 1.173
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list