[cairo-commit] cairo-demo/cairo_snippets/snippets gradient.cairo, 1.2, 1.3 pattern_fill.cairo, 1.2, NONE

Kristian Hogsberg commit at pdx.freedesktop.org
Fri Jun 3 12:09:38 PDT 2005


Committed by: krh

Update of /cvs/cairo/cairo-demo/cairo_snippets/snippets
In directory gabe:/tmp/cvs-serv25241/snippets

Modified Files:
	gradient.cairo 
Removed Files:
	pattern_fill.cairo 
Log Message:
2005-06-03  Kristian Høgsberg  <krh at redhat.com>

        * cairo_snippets_html.c: Update html snippets.

        * snippets/pattern_fill.cairo: Remove this, was accidentally
        committed.



Index: gradient.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/snippets/gradient.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gradient.cairo	11 May 2005 21:15:31 -0000	1.2
+++ gradient.cairo	3 Jun 2005 19:09:35 -0000	1.3
@@ -5,11 +5,11 @@
 pat = cairo_pattern_create_linear (0.0, 0.0,  0.0, 1.0);
 cairo_pattern_add_color_stop_rgba (pat, 1, 0, 0, 0, 1);
 cairo_pattern_add_color_stop_rgba (pat, 0, 1, 1, 1, 1);
-cairo_rectangle (cr, 0,0,1,1);
+cairo_rectangle (cr, 0, 0, 1, 1);
 cairo_set_source (cr, pat);
 cairo_fill (cr);
-
 cairo_pattern_destroy (pat);
+
 pat = cairo_pattern_create_radial (0.45, 0.4, 0.1,
                                    0.4,  0.4, 0.5);
 cairo_pattern_add_color_stop_rgba (pat, 0, 1, 1, 1, 1);

--- pattern_fill.cairo DELETED ---




More information about the cairo-commit mailing list