summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrian Ewins <Brian.Ewins@gmail.com>2007-11-16 22:43:43 +0000
committerCarl Worth <cworth@cworth.org>2008-01-21 12:04:32 -0800
commit4177208be63caa3128eaf07428f3d4617fcd18e0 (patch)
tree2b0bdbf8f4c1ee8dc199deb5302d61aae3571ac5 /doc
parentd923457c0f40c9b34ee75d4d47b9bd0c3edfe669 (diff)
[cairo] Add cairo_path_extents()
This new function gets the extents of the current path, whether or not they would be inked by a 'fill'. It differs from cairo_fill_extents() when the area enclosed by the path is 0. Includes documentation and updated test.
Diffstat (limited to 'doc')
-rw-r--r--doc/public/cairo-sections.txt1
-rw-r--r--doc/public/tmpl/cairo-paths.sgml10
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/public/cairo-sections.txt b/doc/public/cairo-sections.txt
index 44842717b..88e9c8ae5 100644
--- a/doc/public/cairo-sections.txt
+++ b/doc/public/cairo-sections.txt
@@ -326,6 +326,7 @@ cairo_text_path
cairo_rel_curve_to
cairo_rel_line_to
cairo_rel_move_to
+cairo_path_extents
</SECTION>
<SECTION>
diff --git a/doc/public/tmpl/cairo-paths.sgml b/doc/public/tmpl/cairo-paths.sgml
index 3be71a45a..3d68342cd 100644
--- a/doc/public/tmpl/cairo-paths.sgml
+++ b/doc/public/tmpl/cairo-paths.sgml
@@ -236,3 +236,13 @@ Creating paths and manipulating path data
@dy:
+<!-- ##### FUNCTION cairo_path_extents ##### -->
+<para>
+
+</para>
+
+@cr:
+@x1:
+@y1:
+@x2:
+@y2: