[cairo-commit] cairo/src cairo_color.c, 1.8, 1.9 cairo_gstate.c,
1.69, 1.70 cairo_xlib_surface.c, 1.32, 1.33
Oeyvind Kolaas
commit at pdx.freedesktop.org
Tue Jan 11 13:28:53 PST 2005
Committed by: pippin
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv24939/src
Modified Files:
cairo_color.c cairo_gstate.c cairo_xlib_surface.c
Log Message:
changed default paint color to opaque black
Index: cairo_color.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_color.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cairo_color.c 22 Oct 2004 01:40:50 -0000 1.8
+++ cairo_color.c 11 Jan 2005 21:28:51 -0000 1.9
@@ -37,8 +37,8 @@
#include "cairoint.h"
static cairo_color_t const CAIRO_COLOR_DEFAULT = {
- 1.0, 1.0, 1.0, 1.0,
- 0xffff, 0xffff, 0xffff, 0xffff
+ 0.0, 0.0, 0.0, 1.0,
+ 0x0000, 0x0000, 0x0000, 0xffff
};
static void
Index: cairo_gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_gstate.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- cairo_gstate.c 11 Jan 2005 18:03:01 -0000 1.69
+++ cairo_gstate.c 11 Jan 2005 21:28:51 -0000 1.70
@@ -86,7 +86,7 @@
gstate->clip.region = NULL;
gstate->clip.surface = NULL;
- gstate->pattern = _cairo_pattern_create_solid (1.0, 1.0, 1.0);
+ gstate->pattern = _cairo_pattern_create_solid (0.0, 0.0, 0.0);
gstate->alpha = 1.0;
gstate->pixels_per_inch = CAIRO_GSTATE_PIXELS_PER_INCH_DEFAULT;
Index: cairo_xlib_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_xlib_surface.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- cairo_xlib_surface.c 11 Jan 2005 18:03:01 -0000 1.32
+++ cairo_xlib_surface.c 11 Jan 2005 21:28:51 -0000 1.33
@@ -509,6 +509,9 @@
_cairo_xlib_surface_ensure_gc (dst);
XGetGCValues(dst->dpy, dst->gc, GCGraphicsExposures, &gc_values);
XSetGraphicsExposures(dst->dpy, dst->gc, False);
+
+ fprintf(stderr, "src->format = %d, src->format == %d\n", src->format, dst->format);
+
XCopyArea(dst->dpy,
src->drawable,
dst->drawable,
More information about the cairo-commit
mailing list