diff options
Diffstat (limited to 'doc/public/xml/cairo-paths.xml')
-rw-r--r-- | doc/public/xml/cairo-paths.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/public/xml/cairo-paths.xml b/doc/public/xml/cairo-paths.xml index 64c1751..03ae7cc 100644 --- a/doc/public/xml/cairo-paths.xml +++ b/doc/public/xml/cairo-paths.xml @@ -504,8 +504,8 @@ point. Adds a circular arc of the given <parameter>radius</parameter> to the current path. The arc is centered at (<parameter>xc</parameter>, <parameter>yc</parameter>), begins at <parameter>angle1</parameter> and proceeds in the direction of increasing angles to end at <parameter>angle2</parameter>. If <parameter>angle2</parameter> is -less than <parameter>angle1</parameter> it will be progressively increased by 2*M_PI -until it is greater than <parameter>angle1</parameter>. +less than <parameter>angle1</parameter> it will be progressively increased by +<literal>2*M_PI</literal> until it is greater than <parameter>angle1</parameter>. </para> <para> If there is a current point, an initial line segment will be added @@ -515,11 +515,12 @@ calling <link linkend="cairo-new-sub-path"><function>cairo_new_sub_path()</funct </para> <para> Angles are measured in radians. An angle of 0.0 is in the direction -of the positive X axis (in user space). An angle of <link linkend="M-PI:CAPS"><literal>M_PI</literal></link>/2.0 radians -(90 degrees) is in the direction of the positive Y axis (in -user space). Angles increase in the direction from the positive X -axis toward the positive Y axis. So with the default transformation -matrix, angles increase in a clockwise direction. +of the positive X axis (in user space). An angle of +<literal>M_PI/2.0</literal> radians (90 degrees) is in the +direction of the positive Y axis (in user space). Angles increase +in the direction from the positive X axis toward the positive Y +axis. So with the default transformation matrix, angles increase in +a clockwise direction. </para> <para> (To convert from degrees to radians, use <literal>degrees * (M_PI / @@ -577,8 +578,8 @@ cairo_restore (cr); Adds a circular arc of the given <parameter>radius</parameter> to the current path. The arc is centered at (<parameter>xc</parameter>, <parameter>yc</parameter>), begins at <parameter>angle1</parameter> and proceeds in the direction of decreasing angles to end at <parameter>angle2</parameter>. If <parameter>angle2</parameter> is -greater than <parameter>angle1</parameter> it will be progressively decreased by 2*M_PI -until it is less than <parameter>angle1</parameter>. +greater than <parameter>angle1</parameter> it will be progressively decreased by +<literal>2*M_PI</literal> until it is less than <parameter>angle1</parameter>. </para> <para> See <link linkend="cairo-arc"><function>cairo_arc()</function></link> for more details. This function differs only in the |