[cairo-commit] [cairo-www] src/perl_cairo_module.mdwn

Carl Worth cworth at freedesktop.org
Thu Feb 26 16:52:01 PST 2009


 src/perl_cairo_module.mdwn |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 65e9905bab2408d8132223aa405ace896a326ca9
Author: c9s <c9s at web>
Date:   Thu Feb 26 16:52:01 2009 -0800

diff --git a/src/perl_cairo_module.mdwn b/src/perl_cairo_module.mdwn
index 346712f..728e361 100644
--- a/src/perl_cairo_module.mdwn
+++ b/src/perl_cairo_module.mdwn
@@ -3,9 +3,11 @@ Back to [[cookbook]]
 # Install Cairo CPAN Module
 
 Using CPAN:
+        
         # cpan Cairo
 
 Using CPANPLUS
+        
         # cpanp -i Cairo
 
 # Examples
@@ -27,7 +29,7 @@ Using CPANPLUS
 
         die "png backend not supported" unless (Cairo::HAS_PNG_FUNCTIONS);
 
-        my $png = shift || "vc32-mask.png";
+        my $png = shift || "dashed_rect.png";
 
         my $surf = Cairo::ImageSurface->create ('argb32', IMG_WIDTH, IMG_HEIGHT);
         my $cr = Cairo::Context->create ($surf);
@@ -62,7 +64,7 @@ Using CPANPLUS
                 $cr->move_to (  @$p );
                 $cr->line_to (  @$next_p );
                 $cr->stroke;
-                # $cr->rotate ((M_PI * 2) / $count);
+                
         }
 
         $cr->restore;


More information about the cairo-commit mailing list