[cairo-commit] cairo-demo/sproing ChangeLog, 1.9, 1.10 sproing.c,
1.8, 1.9
Carl Worth
commit at pdx.freedesktop.org
Sun Apr 17 23:45:26 PDT 2005
- Previous message: [cairo-commit] svgslides/example default.svg, 1.8,
NONE example-inverse.svg, NONE, 1.1 example-title.svg, NONE,
1.1 example.svg, NONE, 1.1 example.xml, 1.1, 1.2
- Next message: [cairo-commit] pycairo ChangeLog,1.89,1.90
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: cworth
Update of /cvs/cairo/cairo-demo/sproing
In directory gabe:/tmp/cvs-serv6208
Modified Files:
ChangeLog sproing.c
Log Message:
* sproing.c: (draw_ball), (draw_star): Track removal of
cairo_set_alpha from cairo API.
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/sproing/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ChangeLog 13 Apr 2005 15:55:50 -0000 1.9
+++ ChangeLog 18 Apr 2005 06:45:22 -0000 1.10
@@ -1,3 +1,8 @@
+2005-04-18 Carl Worth <cworth at cworth.org>
+
+ * sproing.c: (draw_ball), (draw_star): Track removal of
+ cairo_set_alpha from cairo API.
+
2005-04-13 Carl Worth <cworth at cworth.org>
* sproing.c (WALL_X, WALL_Y): Double the size of the wall spacing
Index: sproing.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/sproing/sproing.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- sproing.c 13 Apr 2005 15:55:50 -0000 1.8
+++ sproing.c 18 Apr 2005 06:45:22 -0000 1.9
@@ -351,8 +351,7 @@
cr = begin_paint (widget->window);
- cairo_set_rgb_color (cr, color->red, color->green, color->blue);
- cairo_set_alpha (cr, 0.5);
+ cairo_set_source_rgba (cr, color->red, color->green, color->blue, 0.5);
cairo_new_path (cr);
cairo_arc (cr, x, y, 3, 0, 2 * G_PI);
cairo_fill (cr);
@@ -380,8 +379,7 @@
cr = begin_paint (widget->window);
- cairo_set_rgb_color (cr, color->red, color->green, color->blue);
- cairo_set_alpha (cr, 0.5);
+ cairo_set_source_rgba (cr, color->red, color->green, color->blue, 0.5);
cairo_new_path (cr);
for (i = 0; i < spike_count; i++) {
x = cx + cos ((i * 2) * M_PI / spike_count + theta) * inner_radius;
- Previous message: [cairo-commit] svgslides/example default.svg, 1.8,
NONE example-inverse.svg, NONE, 1.1 example-title.svg, NONE,
1.1 example.svg, NONE, 1.1 example.xml, 1.1, 1.2
- Next message: [cairo-commit] pycairo ChangeLog,1.89,1.90
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list