[pango/gi-docs: 6/30] docs: Move PangoRenderer docs to the right file




commit f05c37b3a3cd4755ba3b9dc75c67466495ce630b
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 4 15:25:12 2021 -0500

    docs: Move PangoRenderer docs to the right file

 docs/pango-docs.sgml    |  2 +-
 docs/pango-sections.txt |  2 +-
 pango/pango-renderer.c  | 12 ++++++++++++
 pango/pangoft2-render.c | 11 -----------
 4 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/docs/pango-docs.sgml b/docs/pango-docs.sgml
index 705b00f6..9a69aa33 100644
--- a/docs/pango-docs.sgml
+++ b/docs/pango-docs.sgml
@@ -42,7 +42,7 @@
     <xi:include href="xml/pangocontext.xml"/>
     <xi:include href="xml/tab-stops.xml"/>
     <xi:include href="xml/pangocoverage.xml"/>
-    <xi:include href="xml/pango-renderer.xml"/>
+    <xi:include href="xml/pangorenderer.xml"/>
     <xi:include href="xml/pangofc-fontmap.xml"/>
     <xi:include href="xml/pangofc-font.xml"/>
     <xi:include href="xml/pangofc-decoder.xml"/>
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt
index b5df6db7..f4a134dd 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -727,7 +727,7 @@ pango_module_register
 </SECTION>
 
 <SECTION>
-<FILE>pango-renderer</FILE>
+<FILE>pangorenderer</FILE>
 PangoRenderer
 PangoRenderPart
 PANGO_TYPE_RENDER_PART
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index 869a6cff..5a1b8c91 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -19,6 +19,18 @@
  * Boston, MA 02111-1307, USA.
  */
 
+/**
+ * SECTION:pangorenderer
+ * @short_description:Rendering driver base class
+ * @title:PangoRenderer
+ *
+ * #PangoRenderer is a base class that contains the necessary logic for
+ * rendering a #PangoLayout or #PangoGlyphString. By subclassing
+ * #PangoRenderer and overriding operations such as @draw_glyphs and
+ * @draw_rectangle, renderers for particular font backends and
+ * destinations can be created.
+ */
+
 #include "config.h"
 #include <stdlib.h>
 
diff --git a/pango/pangoft2-render.c b/pango/pangoft2-render.c
index ab4dd5d0..45230fdb 100644
--- a/pango/pangoft2-render.c
+++ b/pango/pangoft2-render.c
@@ -20,17 +20,6 @@
  * Boston, MA 02111-1307, USA.
  */
 
-/**
- * SECTION:pango-renderer
- * @short_description:Rendering driver base class
- * @title:PangoRenderer
- *
- * #PangoRenderer is a base class that contains the necessary logic for
- * rendering a #PangoLayout or #PangoLayoutLine. By subclassing
- * #PangoRenderer and overriding operations such as @draw_glyphs and
- * @draw_rectangle, renderers for particular font backends and
- * destinations can be created.
- */
 #include "config.h"
 #include <math.h>
 


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