@@ -51,7 +51,7 @@ sub cairo_draw {
51
51
$context -> arc( 220, 150, 100, 0, PI * 2 );
52
52
$context -> set_line_width(10);
53
53
$context -> stroke_preserve;
54
- $context -> set_source_rgba(0.9, 0.2, 0.2, 0.2);
54
+ $context -> set_source_rgba(0.9, 0.2, 0.2, 0.2);
55
55
$context -> fill;
56
56
57
57
# Segment
@@ -78,16 +78,16 @@ sub cairo_draw {
78
78
$context -> move_to(50, 50);
79
79
$context -> line_to(550, 350);
80
80
$context -> stroke;
81
-
81
+
82
82
# Curve
83
83
$context -> set_line_width(10);
84
- $context -> set_source_rgba(0.9, 0.9, 0, 0.9);
84
+ $context -> set_source_rgba(0.9, 0.9, 0, 0.9);
85
85
$context -> move_to(50, 50);
86
86
$context -> curve_to( 100, 250, 250, 150, 550, 350);
87
87
$context -> stroke;
88
88
89
89
# Text
90
- $context -> set_source_rgba(0.0, 0.9, 0.9, 0.7);
90
+ $context -> set_source_rgba(0.0, 0.9, 0.9, 0.7);
91
91
$context -> select_font_face( " Sans" , " normal" , " bold" );
92
92
$context -> set_font_size( 50 );
93
93
$context -> move_to(220, 50);
@@ -98,7 +98,7 @@ sub cairo_draw {
98
98
$context -> text_path( " pretty" );
99
99
$context -> set_source_rgba(0.9, 0, 0.9, 0.7);
100
100
$context -> fill_preserve;
101
- $context -> set_source_rgba(0.2, 0.1, 0.1, 0.7);
101
+ $context -> set_source_rgba(0.2, 0.1, 0.1, 0.7);
102
102
$context -> set_line_width( 2 );
103
103
$context -> stroke;
104
104
0 commit comments