summaryrefslogtreecommitdiff
path: root/pango/glyphstring.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-04 15:57:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-04 15:57:03 -0400
commita43d5d3b4a15e9faf9c50e9c44aeb547cd53ce34 (patch)
tree915fb2ceeeab7cfb4adf47f819a09c74ee6af9e5 /pango/glyphstring.c
parente160a3cdf059ab8cd17a66655aa08616876d3376 (diff)
downloadpango-a43d5d3b4a15e9faf9c50e9c44aeb547cd53ce34.tar.gz
docs: Add extent images
Add an illustration of logical and ink rects.
Diffstat (limited to 'pango/glyphstring.c')
-rw-r--r--pango/glyphstring.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c
index 007f8a34..6c674e03 100644
--- a/pango/glyphstring.c
+++ b/pango/glyphstring.c
@@ -271,6 +271,10 @@ pango_glyph_string_extents_range (PangoGlyphString *glyphs,
* Compute the logical and ink extents of a glyph string. See the documentation
* for pango_font_get_glyph_extents() for details about the interpretation
* of the rectangles.
+ *
+ * Examples of logical (red) and ink (green) rects:
+ *
+ * ![](rects1.png) ![](rects2.png)
*/
void
pango_glyph_string_extents (PangoGlyphString *glyphs,