[cairo-commit]
pycairo/examples/cairo_snippets/snippets arc.py, 1.1,
1.2 arc_negative.py, 1.1, 1.2 clip.py, 1.1, 1.2
Steve Chaplin
commit at pdx.freedesktop.org
Thu Apr 14 20:25:39 PDT 2005
- Previous message: [cairo-commit] pycairo/examples context-subclass.py, 1.3,
1.4 gradient.py, 1.4, 1.5 hering.py, 1.4, 1.5 spiral.py, 1.2,
1.3 warpedtext.py, 1.7, 1.8
- Next message: [cairo-commit] pycairo/examples/gtk cairo-demo.py, 1.2,
1.3 hangman.py, 1.3, 1.4 lsystem.py, 1.2, 1.3 text.py, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: stevech1097
Update of /cvs/cairo/pycairo/examples/cairo_snippets/snippets
In directory gabe:/tmp/cvs-serv26442/examples/cairo_snippets/snippets
Modified Files:
arc.py arc_negative.py clip.py
Log Message:
SC 2005/04/15
Index: arc.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets/arc.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- arc.py 6 Apr 2005 13:54:10 -0000 1.1
+++ arc.py 15 Apr 2005 03:25:37 -0000 1.2
@@ -10,8 +10,7 @@
cr.stroke ()
#/* draw helping lines */
-cr.set_rgb_color (1,0.2,0.2)
-cr.set_alpha (0.6)
+cr.set_source_rgba (1,0.2,0.2,0.6)
cr.arc (xc, yc, 0.05, 0, 2*M_PI)
cr.fill ()
cr.set_line_width (0.03)
Index: arc_negative.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets/arc_negative.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- arc_negative.py 6 Apr 2005 13:54:10 -0000 1.1
+++ arc_negative.py 15 Apr 2005 03:25:37 -0000 1.2
@@ -10,8 +10,7 @@
cr.stroke ()
#/* draw helping lines */
-cr.set_rgb_color (1,0.2,0.2)
-cr.set_alpha (0.6)
+cr.set_source_rgba (1,0.2,0.2,0.6)
cr.arc (xc, yc, 0.05, 0, 2*M_PI)
cr.fill ()
cr.set_line_width (0.03)
Index: clip.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets/clip.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- clip.py 6 Apr 2005 13:54:10 -0000 1.1
+++ clip.py 15 Apr 2005 03:25:37 -0000 1.2
@@ -7,7 +7,7 @@
# consumed by cairo_clip() */
cr.rectangle (0, 0, 1, 1)
cr.fill ()
-cr.set_rgb_color (0, 1, 0)
+cr.set_source_rgb (0, 1, 0)
cr.move_to (0, 0)
cr.line_to (1, 1)
cr.move_to (1, 0)
- Previous message: [cairo-commit] pycairo/examples context-subclass.py, 1.3,
1.4 gradient.py, 1.4, 1.5 hering.py, 1.4, 1.5 spiral.py, 1.2,
1.3 warpedtext.py, 1.7, 1.8
- Next message: [cairo-commit] pycairo/examples/gtk cairo-demo.py, 1.2,
1.3 hangman.py, 1.3, 1.4 lsystem.py, 1.2, 1.3 text.py, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list