[pango] Add some more docs



commit b3cd1503ae2cf6ab9e12d8ba86934e23dfee3898
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 13 03:42:08 2019 -0400

    Add some more docs

 docs/meson.build      |   1 +
 docs/pipeline.png     | Bin 0 -> 11216 bytes
 pango/pango-context.c |   2 ++
 pango/pango-layout.c  |   3 ++-
 4 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index 249faa7d..edf04dbe 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -64,6 +64,7 @@ content_files = [
 
 html_images = [
   'layout.png',
+  'pipeline.png',
   'rotated-text.png',
 ]
 
diff --git a/docs/pipeline.png b/docs/pipeline.png
new file mode 100644
index 00000000..15a6e9c4
Binary files /dev/null and b/docs/pipeline.png differ
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 4b258c9c..8dd097ee 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -28,6 +28,8 @@
  * Unicode characters and converts it into glyphs.
  * The functions described in this section accomplish
  * various steps of this process.
+ *
+ * ![](pipeline.png)
  */
 #include "config.h"
 #include <string.h>
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 97beccc8..4660b069 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -29,7 +29,8 @@
  * that functionality directly involves writing a fairly large amount
  * of code. The objects and functions in this section provide a
  * high-level driver for formatting entire paragraphs of text
- * at once.
+ * at once. This includes paragraph-level functionality such as
+ * line-breaking, justification, alignment and ellipsization.
  */
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]