[cairo-commit] src/cairo.c
Behdad Esfahbod
behdad at kemper.freedesktop.org
Mon Jul 10 07:35:46 PDT 2006
src/cairo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree ccb54b35ed2252ae9ece95204a5ad7b43cde936e (from defa23206cfa83ad4460a868f78289ba7f7c1c53)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Mon Jul 10 10:35:42 2006 -0400
Small doc fix.
diff --git a/src/cairo.c b/src/cairo.c
index 4d005ba..d2793a0 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -1362,8 +1362,8 @@ cairo_curve_to (cairo_t *cr,
*
* <informalexample><programlisting>
* cairo_save (cr);
- * cairo_translate (x + width / 2., y + height / 2.);
- * cairo_scale (1. / (height / 2.), 1. / (width / 2.));
+ * cairo_translate (cr, x + width / 2., y + height / 2.);
+ * cairo_scale (cr, 1. / (height / 2.), 1. / (width / 2.));
* cairo_arc (cr, 0., 0., 1., 0., 2 * M_PI);
* cairo_restore (cr);
* </programlisting></informalexample>
More information about the cairo-commit
mailing list