summaryrefslogtreecommitdiff
path: root/doc/public/html/cairo-Paths.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/public/html/cairo-Paths.html')
-rw-r--r--doc/public/html/cairo-Paths.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/public/html/cairo-Paths.html b/doc/public/html/cairo-Paths.html
index 8c8ee8a..cf5feba 100644
--- a/doc/public/html/cairo-Paths.html
+++ b/doc/public/html/cairo-Paths.html
@@ -614,8 +614,8 @@ point.
Adds a circular arc of the given <em class="parameter"><code>radius</code></em> to the current path. The
arc is centered at (<em class="parameter"><code>xc</code></em>, <em class="parameter"><code>yc</code></em>), begins at <em class="parameter"><code>angle1</code></em> and proceeds in
the direction of increasing angles to end at <em class="parameter"><code>angle2</code></em>. If <em class="parameter"><code>angle2</code></em> is
-less than <em class="parameter"><code>angle1</code></em> it will be progressively increased by 2*M_PI
-until it is greater than <em class="parameter"><code>angle1</code></em>.
+less than <em class="parameter"><code>angle1</code></em> it will be progressively increased by
+<code class="literal">2*M_PI</code> until it is greater than <em class="parameter"><code>angle1</code></em>.
</p>
<p>
If there is a current point, an initial line segment will be added
@@ -625,11 +625,12 @@ calling <a class="link" href="cairo-Paths.html#cairo-new-sub-path" title="cairo_
</p>
<p>
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 <code class="literal">M_PI</code>/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
+<code class="literal">M_PI/2.0</code> 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.
</p>
<p>
(To convert from degrees to radians, use <code class="literal">degrees * (M_PI /
@@ -706,8 +707,8 @@ cairo_restore (cr);
Adds a circular arc of the given <em class="parameter"><code>radius</code></em> to the current path. The
arc is centered at (<em class="parameter"><code>xc</code></em>, <em class="parameter"><code>yc</code></em>), begins at <em class="parameter"><code>angle1</code></em> and proceeds in
the direction of decreasing angles to end at <em class="parameter"><code>angle2</code></em>. If <em class="parameter"><code>angle2</code></em> is
-greater than <em class="parameter"><code>angle1</code></em> it will be progressively decreased by 2*M_PI
-until it is less than <em class="parameter"><code>angle1</code></em>.
+greater than <em class="parameter"><code>angle1</code></em> it will be progressively decreased by
+<code class="literal">2*M_PI</code> until it is less than <em class="parameter"><code>angle1</code></em>.
</p>
<p>
See <a class="link" href="cairo-Paths.html#cairo-arc" title="cairo_arc ()"><code class="function">cairo_arc()</code></a> for more details. This function differs only in the