[cairo-commit] [cairo-www] src/animationrotation.mdwn
Carl Worth
cworth at freedesktop.org
Sun Nov 25 03:32:11 PST 2007
src/animationrotation.mdwn | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 09ac37e23b245503fad81ff63716df9059ea7ca7
Author: Donn <donn.ingle at gmail.com>
Date: Sun Nov 25 03:32:05 2007 -0800
spelling
diff --git a/src/animationrotation.mdwn b/src/animationrotation.mdwn
index bc7abb4..4590b15 100644
--- a/src/animationrotation.mdwn
+++ b/src/animationrotation.mdwn
@@ -124,7 +124,7 @@ I tried to comment it thoroughly, so it will 'splain itself.
def drawCairoStuff ( self, cr ):
## Thrillingly, we draw a red rectangle.
- ## It's draw such that 0,0 is in it's center.
+ ## It's drawn such that 0,0 is in it's center.
cr.rectangle( -25, -25, 50, 50 )
cr.set_source_rgb( 1, 0, 0)
cr.fill( )
@@ -137,6 +137,7 @@ I tried to comment it thoroughly, so it will 'splain itself.
cr.stroke( )
def drawcross ( self, ctx ):
+ ## Also drawn around 0,0 in the center
ctx.set_source_rgb ( 0, 0, 0 )
ctx.move_to ( 0,10 )
ctx.line_to ( 0, -10 )
More information about the cairo-commit
mailing list