[cairo-commit] cairo/test move-to-show-surface.c,1.4,1.5
Carl Worth
commit at pdx.freedesktop.org
Wed Apr 6 13:01:15 PDT 2005
- Previous message: [cairo-commit] cairo/src cairo-atsui-font.c, 1.5, 1.6 cairo-font.c,
1.39, 1.40 cairo-ft-font.c, 1.51, 1.52 cairo-gstate.c, 1.101,
1.102 cairo-output-stream.c, 1.1, 1.2 cairo.c, 1.70,
1.71 cairo.h, 1.90, 1.91 cairoint.h, 1.116, 1.117
- Next message: [cairo-commit] cairo-java/src/jni org_freedesktop_cairo_Cairo.c,
1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: cworth
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv23105/test
Modified Files:
move-to-show-surface.c
Log Message:
* src/cairo.h: Make handling of unsigned char* vs. char*
consistent. Change all parameters that are actual string data from
unsigned char* to char* (cairo_text_extents, cairo_show_text,
cairo_text_path). Change all data buffers from char* to unsigned
char* (cairo_write_func_t).
* src/cairo-gstate.c: (_cairo_gstate_text_to_glyphs):
* src/cairo-ft-font.c: (_cairo_ft_font_text_to_glyphs):
* src/cairo-font.c: (_cairo_font_text_to_glyphs):
* src/cairo-atsui-font.c: (_cairo_atsui_font_text_to_glyphs):
* src/cairoint.h:
* src/cairo.c: (cairo_text_extents), (cairo_show_text),
(cairo_text_path): Track changes from unsigned char* to
char*. Convert to unsigned only at the internal interface to
unicode processing.
* test/move-to-show-surface.c: (draw):
* src/cairo-output-stream.c: (_cairo_output_stream_printf),
(stdio_write): Track change from char* to unsigned char*.
Index: move-to-show-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/test/move-to-show-surface.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- move-to-show-surface.c 2 Apr 2005 14:00:32 -0000 1.4
+++ move-to-show-surface.c 6 Apr 2005 20:01:13 -0000 1.5
@@ -63,7 +63,7 @@
int i;
for (i=0; i < 4; i++) {
- surface = cairo_surface_create_for_image ((char *) &colors[i],
+ surface = cairo_surface_create_for_image ((unsigned char *) &colors[i],
CAIRO_FORMAT_ARGB32, 1, 1, 4);
cairo_move_to (cr, i % 2, i / 2);
cairo_show_surface (cr, surface, 1, 1);
- Previous message: [cairo-commit] cairo/src cairo-atsui-font.c, 1.5, 1.6 cairo-font.c,
1.39, 1.40 cairo-ft-font.c, 1.51, 1.52 cairo-gstate.c, 1.101,
1.102 cairo-output-stream.c, 1.1, 1.2 cairo.c, 1.70,
1.71 cairo.h, 1.90, 1.91 cairoint.h, 1.116, 1.117
- Next message: [cairo-commit] cairo-java/src/jni org_freedesktop_cairo_Cairo.c,
1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list