[cairo] Doc patch

Russell Shaw rjshaw at netspace.net.au
Sat Aug 13 22:37:10 PDT 2005


diff -ru cairo-old/src/cairo-pattern.c cairo/src/cairo-pattern.c
--- cairo-old/src/cairo-pattern.c       2005-08-14 15:32:52.000000000 +1000
+++ cairo/src/cairo-pattern.c   2005-08-14 15:30:08.000000000 +1000
@@ -703,8 +703,8 @@
   * it does by default the correct code to use is:
   *
   * <informalexample><programlisting>
- * cairo_matrix_init_scale (&matrix, 0.5, 0.5);
- * cairo_pattern_set_matrix (pattern, &matrix);
+ * cairo_matrix_init_scale (&amp;matrix, 0.5, 0.5);
+ * cairo_pattern_set_matrix (pattern, &amp;matrix);
   * </programlisting></informalexample>
   *
   * Meanwhile, using values of 2.0 rather than 0.5 in the code above



More information about the cairo mailing list