[cairo-commit]
cairo-demo/path_paint ChangeLog, 1.7, 1.8 README.txt,
1.3, 1.4 path_paint.c, 1.7, 1.8
Oeyvind Kolaas
commit at pdx.freedesktop.org
Sun Aug 7 17:31:41 PDT 2005
- Previous message: [cairo-commit] cairo-demo/gtkcairo_slide ChangeLog, 1.9,
1.10 Makefile, 1.2, 1.3 gtkcairo_slide.c, 1.4, 1.5 puzzle.c,
1.8, 1.9
- Next message: [cairo-commit] pycairo README,1.17,1.18 ChangeLog,1.159,1.160
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: pippin
Update of /cvs/cairo/cairo-demo/path_paint
In directory gabe:/tmp/cvs-serv3868
Modified Files:
ChangeLog README.txt path_paint.c
Log Message:
make default alpha value be 0.5
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/path_paint/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ChangeLog 7 Aug 2005 23:59:48 -0000 1.7
+++ ChangeLog 8 Aug 2005 00:31:39 -0000 1.8
@@ -1,4 +1,8 @@
-2005-08-09 Ãyvind KolÃ¥s <pippin at freedesktop.org>
+2005-08-08 Ãyvind KolÃ¥s <pippin at freedesktop.org>
+
+ * path_paint.c: make the default alpha value be 0.5
+
+2005-08-08 Ãyvind KolÃ¥s <pippin at freedesktop.org>
* path_paint.c: update to work with current cairo api.
Index: README.txt
===================================================================
RCS file: /cvs/cairo/cairo-demo/path_paint/README.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- README.txt 7 Aug 2005 23:59:48 -0000 1.3
+++ README.txt 8 Aug 2005 00:31:39 -0000 1.4
@@ -29,9 +29,10 @@
- using gtk+ 's native cairo handling
- setting color
- - load/save of png
- setting line width
- setting alpha
+ - load/save of png
+ - load/save of svg (using stroke history)
- changing canvas size
- path/data simplification
- editing sample points
@@ -39,7 +40,6 @@
- closing of path
- filling path
- stroke/fill history (for undo)
- - load/save of svg (using stroke history)
- zoom (redraw from stroke history)
-pippin / Ãyvind KolÃ¥s pippin at freedesktop.org
Index: path_paint.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/path_paint/path_paint.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- path_paint.c 7 Aug 2005 23:59:48 -0000 1.7
+++ path_paint.c 8 Aug 2005 00:31:39 -0000 1.8
@@ -71,15 +71,14 @@
cairo_fill (cr);
cairo_set_line_width (cr, pen_radius*2);
- cairo_set_source_rgba (cr, 1,1,1, 0.5);
if (pen_color_is_black)
{
- cairo_set_source_rgb (cr, 0,0,0);
+ cairo_set_source_rgba (cr, 0,0,0, 0.5);
}
else
{
- cairo_set_source_rgb (cr, 1,1,1);
+ cairo_set_source_rgba (cr, 1,1,1, 0.5);
}
cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND);
- Previous message: [cairo-commit] cairo-demo/gtkcairo_slide ChangeLog, 1.9,
1.10 Makefile, 1.2, 1.3 gtkcairo_slide.c, 1.4, 1.5 puzzle.c,
1.8, 1.9
- Next message: [cairo-commit] pycairo README,1.17,1.18 ChangeLog,1.159,1.160
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list