mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-24 04:30:45 +02:00
Small doc fix.
This commit is contained in:
parent
defa23206c
commit
ccb54b35ed
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue