[pangomm] Regenerate pango_docs.xml and the .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm] Regenerate pango_docs.xml and the .defs files
- Date: Tue, 5 Sep 2017 06:47:02 +0000 (UTC)
commit d07ed87406420c349f3de58aecb3070236e08103
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Tue Sep 5 08:43:50 2017 +0200
Regenerate pango_docs.xml and the .defs files
and add PangoCoverage to pango_extra_objects.defs.
pango/src/pango_docs.xml | 9 +-
pango/src/pango_enums.defs | 28 ---
pango/src/pango_extra_objects.defs | 6 +
pango/src/pango_methods.defs | 388 ++++++++++--------------------------
4 files changed, 117 insertions(+), 314 deletions(-)
---
diff --git a/pango/src/pango_docs.xml b/pango/src/pango_docs.xml
index d50b838..0124fa2 100644
--- a/pango/src/pango_docs.xml
+++ b/pango/src/pango_docs.xml
@@ -4343,7 +4343,7 @@ Since: 1.38
</parameter_description>
</parameter>
<parameter name="fcconfig">
-<parameter_description> (nullable) a #FcConfig, or %NULL
+<parameter_description> a #FcConfig, or %NULL
</parameter_description>
</parameter>
</parameters>
@@ -6193,7 +6193,8 @@ Deprecated: 1.22: Use pango_font_map_create_context() instead.
</parameter_description>
</parameter>
</parameters>
-<return> the newly created context; free with g_object_unref().
+<return> the newly created context; free with
+g_object_unref().
</return>
</function>
@@ -13264,7 +13265,7 @@ Render a #PangoLayoutLine onto an X drawable
</description>
<parameters>
<parameter name="hdc">
-<parameter_description> HDC to use for uncolored drawing
+<parameter_description> HDC to use for drawing
</parameter_description>
</parameter>
<parameter name="layout">
@@ -13292,7 +13293,7 @@ and TA_LEFT.
</description>
<parameters>
<parameter name="hdc">
-<parameter_description> DC to use for uncolored drawing
+<parameter_description> DC to use for drawing
</parameter_description>
</parameter>
<parameter name="line">
diff --git a/pango/src/pango_enums.defs b/pango/src/pango_enums.defs
index 0836097..d8a352f 100644
--- a/pango/src/pango_enums.defs
+++ b/pango/src/pango_enums.defs
@@ -734,31 +734,3 @@
)
)
-;; From pangowin32-private.h
-
-;; Original typedef:
-;; typedef enum
-;; {
-;; PANGO_WIN32_COVERAGE_UNSPEC,
-;; PANGO_WIN32_COVERAGE_ZH_TW,
-;; PANGO_WIN32_COVERAGE_ZH_CN,
-;; PANGO_WIN32_COVERAGE_JA,
-;; PANGO_WIN32_COVERAGE_KO,
-;; PANGO_WIN32_COVERAGE_VI,
-;; PANGO_WIN32_N_COVERAGES
-;; } PangoWin32CoverageLanguageClass;
-
-(define-enum-extended Win32CoverageLanguageClass
- (in-module "Pango")
- (c-name "PangoWin32CoverageLanguageClass")
- (values
- '("coverage-unspec" "PANGO_WIN32_COVERAGE_UNSPEC" "0")
- '("coverage-zh-tw" "PANGO_WIN32_COVERAGE_ZH_TW" "1")
- '("coverage-zh-cn" "PANGO_WIN32_COVERAGE_ZH_CN" "2")
- '("coverage-ja" "PANGO_WIN32_COVERAGE_JA" "3")
- '("coverage-ko" "PANGO_WIN32_COVERAGE_KO" "4")
- '("coverage-vi" "PANGO_WIN32_COVERAGE_VI" "5")
- '("n-coverages" "PANGO_WIN32_N_COVERAGES" "6")
- )
-)
-
diff --git a/pango/src/pango_extra_objects.defs b/pango/src/pango_extra_objects.defs
index 099055f..2cb96cd 100644
--- a/pango/src/pango_extra_objects.defs
+++ b/pango/src/pango_extra_objects.defs
@@ -30,6 +30,12 @@
(gtype-id "PANGO_TYPE_CONTEXT")
)
+(define-object Coverage
+ (in-module "Pango")
+ (c-name "PangoCoverage")
+ (gtype-id "PANGO_TYPE_COVERAGE")
+)
+
(define-object FontMetrics
(in-module "Pango")
(c-name "PangoFontMetrics")
diff --git a/pango/src/pango_methods.defs b/pango/src/pango_methods.defs
index 1cdd6b7..39a293e 100644
--- a/pango/src/pango_methods.defs
+++ b/pango/src/pango_methods.defs
@@ -1,17 +1,5 @@
;; -*- scheme -*-
; object definitions ...
-(define-object CairoFont
- (in-module "Pango")
- (c-name "PangoCairoFont")
- (gtype-id "PANGO_TYPE_CAIRO_FONT")
-)
-
-(define-object CairoFontMap
- (in-module "Pango")
- (c-name "PangoCairoFontMap")
- (gtype-id "PANGO_TYPE_CAIRO_FONT_MAP")
-)
-
(define-object Engine
(in-module "Pango")
(parent "GObject")
@@ -89,13 +77,6 @@
(gtype-id "PANGO_TYPE_FC_FONT_MAP")
)
-(define-object CoreTextFontMap
- (in-module "Pango")
- (parent "PangoFontMap")
- (c-name "PangoCoreTextFontMap")
- (gtype-id "PANGO_TYPE_CORE_TEXT_FONT_MAP")
-)
-
(define-object Fontset
(in-module "Pango")
(parent "GObject")
@@ -103,20 +84,6 @@
(gtype-id "PANGO_TYPE_FONTSET")
)
-(define-object OTInfo
- (in-module "Pango")
- (parent "GObject")
- (c-name "PangoOTInfo")
- (gtype-id "PANGO_TYPE_OT_INFO")
-)
-
-(define-object OTRuleset
- (in-module "Pango")
- (parent "GObject")
- (c-name "PangoOTRuleset")
- (gtype-id "PANGO_TYPE_OT_RULESET")
-)
-
(define-object Renderer
(in-module "Pango")
(parent "GObject")
@@ -124,20 +91,6 @@
(gtype-id "PANGO_TYPE_RENDERER")
)
-(define-object Win32Font
- (in-module "Pango")
- (parent "PangoFont")
- (c-name "PangoWin32Font")
- (gtype-id "PANGO_TYPE_WIN32_FONT")
-)
-
-(define-object Win32FontMap
- (in-module "Pango")
- (parent "PangoFontMap")
- (c-name "PangoWin32FontMap")
- (gtype-id "PANGO_TYPE_WIN32_FONT_MAP")
-)
-
(define-object XftRenderer
(in-module "Pango")
(parent "PangoRenderer")
@@ -537,10 +490,6 @@
)
-;; From module-defs.h
-
-
-
;; From pango-attributes.h
(define-function pango_color_get_type
@@ -1130,20 +1079,10 @@
;; From pangocairo-coretextfont.h
-(define-function pango_cairo_core_text_font_get_type
- (c-name "pango_cairo_core_text_font_get_type")
- (return-type "GType")
-)
-
;; From pangocairo-coretext.h
-(define-function pango_cairo_core_text_font_map_get_type
- (c-name "pango_cairo_core_text_font_map_get_type")
- (return-type "GType")
-)
-
;; From pangocairo-fc.h
@@ -1405,15 +1344,6 @@
-;; From pangocairo-private.h
-
-(define-function pango_cairo_renderer_get_type
- (c-name "pango_cairo_renderer_get_type")
- (return-type "GType")
-)
-
-
-
;; From pangocairo-win32.h
(define-function pango_cairo_win32_font_map_get_type
@@ -1646,57 +1576,6 @@
-;; From pangocoretext-private.h
-
-(define-function pango_core_text_font_map_get_type
- (c-name "pango_core_text_font_map_get_type")
- (return-type "GType")
-)
-
-(define-method get_absolute_size
- (of-object "PangoCoreTextFontKey")
- (c-name "pango_core_text_font_key_get_absolute_size")
- (return-type "int")
-)
-
-(define-method get_resolution
- (of-object "PangoCoreTextFontKey")
- (c-name "pango_core_text_font_key_get_resolution")
- (return-type "double")
-)
-
-(define-method get_synthetic_italic
- (of-object "PangoCoreTextFontKey")
- (c-name "pango_core_text_font_key_get_synthetic_italic")
- (return-type "gboolean")
-)
-
-(define-method get_context_key
- (of-object "PangoCoreTextFontKey")
- (c-name "pango_core_text_font_key_get_context_key")
- (return-type "gpointer")
-)
-
-(define-method get_matrix
- (of-object "PangoCoreTextFontKey")
- (c-name "pango_core_text_font_key_get_matrix")
- (return-type "const-PangoMatrix*")
-)
-
-(define-method get_gravity
- (of-object "PangoCoreTextFontKey")
- (c-name "pango_core_text_font_key_get_gravity")
- (return-type "PangoGravity")
-)
-
-(define-method get_ctfontdescriptor
- (of-object "PangoCoreTextFontKey")
- (c-name "pango_core_text_font_key_get_ctfontdescriptor")
- (return-type "CTFontDescriptorRef")
-)
-
-
-
;; From pango-coverage.h
(define-function pango_coverage_new
@@ -1772,6 +1651,10 @@
+;; From pango-emoji-table.h
+
+
+
;; From pango-engine.h
(define-function pango_engine_get_type
@@ -1821,104 +1704,6 @@
-;; From pango-engine-private.h
-
-
-
-;; From pango-enum-types.h
-
-(define-function pango_attr_type_get_type
- (c-name "pango_attr_type_get_type")
- (return-type "GType")
-)
-
-(define-function pango_underline_get_type
- (c-name "pango_underline_get_type")
- (return-type "GType")
-)
-
-(define-function pango_bidi_type_get_type
- (c-name "pango_bidi_type_get_type")
- (return-type "GType")
-)
-
-(define-function pango_direction_get_type
- (c-name "pango_direction_get_type")
- (return-type "GType")
-)
-
-(define-function pango_coverage_level_get_type
- (c-name "pango_coverage_level_get_type")
- (return-type "GType")
-)
-
-(define-function pango_style_get_type
- (c-name "pango_style_get_type")
- (return-type "GType")
-)
-
-(define-function pango_variant_get_type
- (c-name "pango_variant_get_type")
- (return-type "GType")
-)
-
-(define-function pango_weight_get_type
- (c-name "pango_weight_get_type")
- (return-type "GType")
-)
-
-(define-function pango_stretch_get_type
- (c-name "pango_stretch_get_type")
- (return-type "GType")
-)
-
-(define-function pango_font_mask_get_type
- (c-name "pango_font_mask_get_type")
- (return-type "GType")
-)
-
-(define-function pango_gravity_get_type
- (c-name "pango_gravity_get_type")
- (return-type "GType")
-)
-
-(define-function pango_gravity_hint_get_type
- (c-name "pango_gravity_hint_get_type")
- (return-type "GType")
-)
-
-(define-function pango_alignment_get_type
- (c-name "pango_alignment_get_type")
- (return-type "GType")
-)
-
-(define-function pango_wrap_mode_get_type
- (c-name "pango_wrap_mode_get_type")
- (return-type "GType")
-)
-
-(define-function pango_ellipsize_mode_get_type
- (c-name "pango_ellipsize_mode_get_type")
- (return-type "GType")
-)
-
-(define-function pango_render_part_get_type
- (c-name "pango_render_part_get_type")
- (return-type "GType")
-)
-
-(define-function pango_script_get_type
- (c-name "pango_script_get_type")
- (return-type "GType")
-)
-
-(define-function pango_tab_align_get_type
- (c-name "pango_tab_align_get_type")
- (return-type "GType")
-)
-
-
-
;; From pangofc-decoder.h
(define-function pango_fc_decoder_get_type
@@ -2135,35 +1920,6 @@
-;; From pangofc-private.h
-
-(define-method get_raw_extents
- (of-object "PangoFcFont")
- (c-name "pango_fc_font_get_raw_extents")
- (return-type "none")
- (parameters
- '("FT_Int32" "load_flags")
- '("PangoGlyph" "glyph")
- '("PangoRectangle*" "ink_rect")
- '("PangoRectangle*" "logical_rect")
- )
-)
-
-(define-method create_base_metrics_for_context
- (of-object "PangoFcFont")
- (c-name "pango_fc_font_create_base_metrics_for_context")
- (return-type "PangoFontMetrics*")
- (parameters
- '("PangoContext*" "context")
- )
-)
-
-
-
-;; From pango-features.h
-
-
-
;; From pango-font.h
(define-function pango_font_description_get_type
@@ -2906,20 +2662,6 @@
-;; From pangoft2-private.h
-
-(define-function pango_ft2_font_get_type
- (c-name "pango_ft2_font_get_type")
- (return-type "GType")
-)
-
-(define-function pango_ft2_renderer_get_type
- (c-name "pango_ft2_renderer_get_type")
- (return-type "GType")
-)
-
-
-
;; From pango-glyph.h
(define-function pango_glyph_string_new
@@ -4002,10 +3744,6 @@
-;; From pango-layout-private.h
-
-
-
;; From pango-matrix.h
(define-function pango_matrix_get_type
@@ -4474,10 +4212,6 @@
-;; From pango-ot-private.h
-
-
-
;; From pango-renderer.h
(define-function pango_renderer_get_type
@@ -4726,10 +4460,6 @@
-;; From pango-script-private.h
-
-
-
;; From pango-tabs.h
(define-function pango_tab_array_new
@@ -5054,6 +4784,10 @@
+;; From pango-version-macros.h
+
+
+
;; From pangowin32.h
(define-function pango_win32_get_context
@@ -5252,10 +4986,6 @@
-;; From pangowin32-private.h
-
-
-
;; From pangoxft.h
(define-function pango_xft_get_font_map
@@ -5377,10 +5107,6 @@
-;; From pangoxft-private.h
-
-
-
;; From pangoxft-render.h
(define-function pango_xft_renderer_get_type
@@ -5482,3 +5208,101 @@
)
+
+;; From pango-enum-types.h
+
+(define-function pango_attr_type_get_type
+ (c-name "pango_attr_type_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_underline_get_type
+ (c-name "pango_underline_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_bidi_type_get_type
+ (c-name "pango_bidi_type_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_direction_get_type
+ (c-name "pango_direction_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_coverage_level_get_type
+ (c-name "pango_coverage_level_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_style_get_type
+ (c-name "pango_style_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_variant_get_type
+ (c-name "pango_variant_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_weight_get_type
+ (c-name "pango_weight_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_stretch_get_type
+ (c-name "pango_stretch_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_font_mask_get_type
+ (c-name "pango_font_mask_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_gravity_get_type
+ (c-name "pango_gravity_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_gravity_hint_get_type
+ (c-name "pango_gravity_hint_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_alignment_get_type
+ (c-name "pango_alignment_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_wrap_mode_get_type
+ (c-name "pango_wrap_mode_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_ellipsize_mode_get_type
+ (c-name "pango_ellipsize_mode_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_render_part_get_type
+ (c-name "pango_render_part_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_script_get_type
+ (c-name "pango_script_get_type")
+ (return-type "GType")
+)
+
+(define-function pango_tab_align_get_type
+ (c-name "pango_tab_align_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From pango-features.h
+
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]