diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-08-04 15:57:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-08-04 15:57:03 -0400 |
commit | a43d5d3b4a15e9faf9c50e9c44aeb547cd53ce34 (patch) | |
tree | 915fb2ceeeab7cfb4adf47f819a09c74ee6af9e5 /pango/glyphstring.c | |
parent | e160a3cdf059ab8cd17a66655aa08616876d3376 (diff) | |
download | pango-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.c | 4 |
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, |