[pango/gi-docs: 18/50] docs: Move PangoRenderer docs to the right file




commit c47b2b01d80a2326daa47bc95d8be7525e2ca03c
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 432875a4..0c70bf86 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 6d299392..3bd1ed53 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]