pango 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +2 -2
- data/Rakefile +7 -5
- data/ext/pango/extconf.rb +4 -4
- data/ext/pango/rbpango.c +0 -9
- data/ext/pango/rbpango.h +2 -10
- data/ext/pango/rbpangoanalysis.c +0 -4
- data/ext/pango/rbpangoattribute.c +1 -26
- data/ext/pango/rbpangoattrlist.c +0 -4
- data/ext/pango/rbpangocairo.c +13 -12
- data/ext/pango/rbpangocairocontext.c +6 -26
- data/ext/pango/rbpangocontext.c +2 -14
- data/ext/pango/rbpangofont.c +0 -12
- data/ext/pango/rbpangofontdescription.c +0 -5
- data/ext/pango/rbpangofontface.c +0 -6
- data/ext/pango/rbpangofontfamily.c +0 -3
- data/ext/pango/rbpangofontmap.c +0 -4
- data/ext/pango/rbpangofontmetrics.c +1 -4
- data/ext/pango/rbpangofontset.c +0 -4
- data/ext/pango/rbpangoglyphitem.c +0 -8
- data/ext/pango/rbpangoglyphstring.c +0 -4
- data/ext/pango/rbpangoitem.c +0 -16
- data/ext/pango/rbpangolanguage.c +0 -5
- data/ext/pango/rbpangolayout.c +36 -19
- data/ext/pango/rbpangolayoutline.c +0 -33
- data/ext/pango/rbpangologattr.c +0 -5
- data/ext/pango/rbpangomatrix.c +0 -10
- data/ext/pango/rbpangoprivate.h +0 -4
- data/ext/pango/rbpangorenderer.c +0 -6
- data/ext/pango/rbpangoscript.c +0 -4
- data/ext/pango/rbpangoscriptiter.c +0 -5
- data/lib/1.9/pango.so +0 -0
- data/lib/2.0/pango.so +0 -0
- data/test/{test_layout.rb → test-layout.rb} +14 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-buffer.h +10 -10
- data/vendor/local/include/harfbuzz/hb-common.h +147 -131
- data/vendor/local/include/harfbuzz/{hb-uniscribe.h → hb-deprecated.h} +15 -13
- data/vendor/local/include/harfbuzz/hb-face.h +117 -0
- data/vendor/local/include/harfbuzz/hb-font.h +130 -77
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +6 -0
- data/vendor/local/include/harfbuzz/hb-set.h +2 -0
- data/vendor/local/include/harfbuzz/hb-unicode.h +97 -9
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/harfbuzz/hb.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +213 -4
- data/vendor/local/include/pango-1.0/pango/pango-break.h +53 -0
- data/vendor/local/include/pango-1.0/pango/pango-coverage.h +21 -0
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +46 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-font.h +234 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +68 -0
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +42 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +64 -0
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +55 -0
- data/vendor/local/include/pango-1.0/pango/pango-item.h +28 -0
- data/vendor/local/include/pango-1.0/pango/pango-language.h +5 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +43 -0
- data/vendor/local/include/pango-1.0/pango/pango-modules.h +11 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +149 -0
- data/vendor/local/include/pango-1.0/pango/pango-script.h +102 -0
- data/vendor/local/include/pango-1.0/pango/pango-tabs.h +11 -0
- data/vendor/local/include/pango-1.0/pango/pango-types.h +102 -2
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +44 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +13 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +6 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +5 -5
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +4 -4
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +3 -3
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +5 -5
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +1824 -1434
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +109 -103
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +18 -15
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +71 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1419 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +48 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +415 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1045 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1073 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +67 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +90 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +344 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1617 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +130 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +75 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +52 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +76 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +75 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +544 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +105 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +67 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +540 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +264 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +194 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1180 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +67 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +156 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +52 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +591 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +650 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +32 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +321 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +4 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +8 -13
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/{pango-pango-renderer.html → PangoRenderer.html} +99 -102
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +20 -29
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +6 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +4 -11
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +58 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +6 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +41 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +31 -27
- data/vendor/local/share/gtk-doc/html/pango/index.html +7 -5
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +38 -38
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +6 -9
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +113 -66
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +8 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +90 -53
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +21 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +44 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +87 -90
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +2 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +38 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +10 -18
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +10 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +4 -6
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -31
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/tools.html +2 -2
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- metadata +57 -24
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/include/harfbuzz/hb-gobject.h +0 -69
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-28.html +0 -31
@@ -43,23 +43,23 @@ and/or use gtk-doc annotations. -->
|
|
43
43
|
version="1.18"
|
44
44
|
glib:type-name="PangoCairoFont"
|
45
45
|
glib:get-type="pango_cairo_font_get_type">
|
46
|
-
<doc xml:
|
46
|
+
<doc xml:space="preserve">#PangoCairoFont is an interface exported by fonts for
|
47
47
|
use with Cairo. The actual type of the font will depend
|
48
48
|
on the particular font technology Cairo was compiled to use.</doc>
|
49
49
|
<prerequisite name="Pango.Font"/>
|
50
50
|
<method name="get_scaled_font"
|
51
51
|
c:identifier="pango_cairo_font_get_scaled_font"
|
52
52
|
version="1.18">
|
53
|
-
<doc xml:
|
53
|
+
<doc xml:space="preserve">Gets the #cairo_scaled_font_t used by @font.
|
54
54
|
The scaled font can be referenced and kept using
|
55
55
|
cairo_scaled_font_reference().</doc>
|
56
56
|
<return-value transfer-ownership="full">
|
57
|
-
<doc xml:
|
57
|
+
<doc xml:space="preserve">the #cairo_scaled_font_t used by @font, or %NULL if @font is %NULL.</doc>
|
58
58
|
<type name="cairo.ScaledFont" c:type="cairo_scaled_font_t*"/>
|
59
59
|
</return-value>
|
60
60
|
<parameters>
|
61
61
|
<instance-parameter name="font" transfer-ownership="none">
|
62
|
-
<doc xml:
|
62
|
+
<doc xml:space="preserve">a #PangoFont from a #PangoCairoFontMap</doc>
|
63
63
|
<type name="Font" c:type="PangoCairoFont*"/>
|
64
64
|
</instance-parameter>
|
65
65
|
</parameters>
|
@@ -71,14 +71,14 @@ cairo_scaled_font_reference().</doc>
|
|
71
71
|
version="1.10"
|
72
72
|
glib:type-name="PangoCairoFontMap"
|
73
73
|
glib:get-type="pango_cairo_font_map_get_type">
|
74
|
-
<doc xml:
|
74
|
+
<doc xml:space="preserve">#PangoCairoFontMap is an interface exported by font maps for
|
75
75
|
use with Cairo. The actual type of the font map will depend
|
76
76
|
on the particular font technology Cairo was compiled to use.</doc>
|
77
77
|
<prerequisite name="Pango.FontMap"/>
|
78
78
|
<function name="get_default"
|
79
79
|
c:identifier="pango_cairo_font_map_get_default"
|
80
80
|
version="1.10">
|
81
|
-
<doc xml:
|
81
|
+
<doc xml:space="preserve">Gets a default #PangoCairoFontMap to use with Cairo.
|
82
82
|
|
83
83
|
Note that the type of the returned object will depend
|
84
84
|
on the particular font backend Cairo was compiled to use;
|
@@ -94,14 +94,14 @@ Note that since Pango 1.32.6, the default fontmap is per-thread.
|
|
94
94
|
Each thread gets its own default fontmap. In this way,
|
95
95
|
PangoCairo can be used safely from multiple threads.</doc>
|
96
96
|
<return-value transfer-ownership="none">
|
97
|
-
<doc xml:
|
97
|
+
<doc xml:space="preserve">the default PangoCairo fontmap for the current thread. This object is owned by Pango and must not be freed.</doc>
|
98
98
|
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
99
99
|
</return-value>
|
100
100
|
</function>
|
101
101
|
<function name="new"
|
102
102
|
c:identifier="pango_cairo_font_map_new"
|
103
103
|
version="1.10">
|
104
|
-
<doc xml:
|
104
|
+
<doc xml:space="preserve">Creates a new #PangoCairoFontMap object; a fontmap is used
|
105
105
|
to cache information about available fonts, and holds
|
106
106
|
certain global parameters such as the resolution.
|
107
107
|
In most cases, you can use pango_cairo_font_map_get_default()
|
@@ -112,26 +112,26 @@ on the particular font backend Cairo was compiled to use;
|
|
112
112
|
You generally should only use the #PangoFontMap and
|
113
113
|
#PangoCairoFontMap interfaces on the returned object.</doc>
|
114
114
|
<return-value transfer-ownership="full">
|
115
|
-
<doc xml:
|
115
|
+
<doc xml:space="preserve">the newly allocated #PangoFontMap, which should be freed with g_object_unref().</doc>
|
116
116
|
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
117
117
|
</return-value>
|
118
118
|
</function>
|
119
119
|
<function name="new_for_font_type"
|
120
120
|
c:identifier="pango_cairo_font_map_new_for_font_type"
|
121
121
|
version="1.18">
|
122
|
-
<doc xml:
|
122
|
+
<doc xml:space="preserve">Creates a new #PangoCairoFontMap object of the type suitable
|
123
123
|
to be used with cairo font backend of type @fonttype.
|
124
124
|
|
125
125
|
In most cases one should simply use @pango_cairo_font_map_new(),
|
126
126
|
or in fact in most of those cases, just use
|
127
127
|
@pango_cairo_font_map_get_default().</doc>
|
128
128
|
<return-value transfer-ownership="full">
|
129
|
-
<doc xml:
|
129
|
+
<doc xml:space="preserve">the newly allocated #PangoFontMap of suitable type which should be freed with g_object_unref(), or %NULL if the requested cairo font backend is not supported / compiled in.</doc>
|
130
130
|
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
131
131
|
</return-value>
|
132
132
|
<parameters>
|
133
133
|
<parameter name="fonttype" transfer-ownership="none">
|
134
|
-
<doc xml:
|
134
|
+
<doc xml:space="preserve">desired #cairo_font_type_t</doc>
|
135
135
|
<type name="cairo.FontType" c:type="cairo_font_type_t"/>
|
136
136
|
</parameter>
|
137
137
|
</parameters>
|
@@ -142,14 +142,14 @@ or in fact in most of those cases, just use
|
|
142
142
|
introspectable="0"
|
143
143
|
deprecated="Use pango_font_map_create_context() instead."
|
144
144
|
deprecated-version="1.22">
|
145
|
-
<doc xml:
|
145
|
+
<doc xml:space="preserve">Create a #PangoContext for the given fontmap.</doc>
|
146
146
|
<return-value>
|
147
|
-
<doc xml:
|
147
|
+
<doc xml:space="preserve">the newly created context; free with g_object_unref().</doc>
|
148
148
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
149
149
|
</return-value>
|
150
150
|
<parameters>
|
151
151
|
<instance-parameter name="fontmap" transfer-ownership="none">
|
152
|
-
<doc xml:
|
152
|
+
<doc xml:space="preserve">a #PangoCairoFontMap</doc>
|
153
153
|
<type name="FontMap" c:type="PangoCairoFontMap*"/>
|
154
154
|
</instance-parameter>
|
155
155
|
</parameters>
|
@@ -157,14 +157,14 @@ or in fact in most of those cases, just use
|
|
157
157
|
<method name="get_font_type"
|
158
158
|
c:identifier="pango_cairo_font_map_get_font_type"
|
159
159
|
version="1.18">
|
160
|
-
<doc xml:
|
160
|
+
<doc xml:space="preserve">Gets the type of Cairo font backend that @fontmap uses.</doc>
|
161
161
|
<return-value transfer-ownership="full">
|
162
|
-
<doc xml:
|
162
|
+
<doc xml:space="preserve">the #cairo_font_type_t cairo font backend type</doc>
|
163
163
|
<type name="cairo.FontType" c:type="cairo_font_type_t"/>
|
164
164
|
</return-value>
|
165
165
|
<parameters>
|
166
166
|
<instance-parameter name="fontmap" transfer-ownership="none">
|
167
|
-
<doc xml:
|
167
|
+
<doc xml:space="preserve">a #PangoCairoFontMap</doc>
|
168
168
|
<type name="FontMap" c:type="PangoCairoFontMap*"/>
|
169
169
|
</instance-parameter>
|
170
170
|
</parameters>
|
@@ -172,14 +172,14 @@ or in fact in most of those cases, just use
|
|
172
172
|
<method name="get_resolution"
|
173
173
|
c:identifier="pango_cairo_font_map_get_resolution"
|
174
174
|
version="1.10">
|
175
|
-
<doc xml:
|
175
|
+
<doc xml:space="preserve">Gets the resolution for the fontmap. See pango_cairo_font_map_set_resolution()</doc>
|
176
176
|
<return-value transfer-ownership="none">
|
177
|
-
<doc xml:
|
177
|
+
<doc xml:space="preserve">the resolution in "dots per inch"</doc>
|
178
178
|
<type name="gdouble" c:type="double"/>
|
179
179
|
</return-value>
|
180
180
|
<parameters>
|
181
181
|
<instance-parameter name="fontmap" transfer-ownership="none">
|
182
|
-
<doc xml:
|
182
|
+
<doc xml:space="preserve">a #PangoCairoFontMap</doc>
|
183
183
|
<type name="FontMap" c:type="PangoCairoFontMap*"/>
|
184
184
|
</instance-parameter>
|
185
185
|
</parameters>
|
@@ -187,7 +187,7 @@ or in fact in most of those cases, just use
|
|
187
187
|
<method name="set_default"
|
188
188
|
c:identifier="pango_cairo_font_map_set_default"
|
189
189
|
version="1.22">
|
190
|
-
<doc xml:
|
190
|
+
<doc xml:space="preserve">Sets a default #PangoCairoFontMap to use with Cairo.
|
191
191
|
|
192
192
|
This can be used to change the Cairo font backend that the
|
193
193
|
default fontmap uses for example. The old default font map
|
@@ -207,7 +207,7 @@ map to be created on demand, using pango_cairo_font_map_new().</doc>
|
|
207
207
|
</return-value>
|
208
208
|
<parameters>
|
209
209
|
<instance-parameter name="fontmap" transfer-ownership="none">
|
210
|
-
<doc xml:
|
210
|
+
<doc xml:space="preserve">The new default font map, or %NULL</doc>
|
211
211
|
<type name="FontMap" c:type="PangoCairoFontMap*"/>
|
212
212
|
</instance-parameter>
|
213
213
|
</parameters>
|
@@ -215,7 +215,7 @@ map to be created on demand, using pango_cairo_font_map_new().</doc>
|
|
215
215
|
<method name="set_resolution"
|
216
216
|
c:identifier="pango_cairo_font_map_set_resolution"
|
217
217
|
version="1.10">
|
218
|
-
<doc xml:
|
218
|
+
<doc xml:space="preserve">Sets the resolution for the fontmap. This is a scale factor between
|
219
219
|
points specified in a #PangoFontDescription and Cairo units. The
|
220
220
|
default value is 96, meaning that a 10 point font will be 13
|
221
221
|
units high. (10 * 96. / 72. = 13.3).</doc>
|
@@ -224,31 +224,37 @@ units high. (10 * 96. / 72. = 13.3).</doc>
|
|
224
224
|
</return-value>
|
225
225
|
<parameters>
|
226
226
|
<instance-parameter name="fontmap" transfer-ownership="none">
|
227
|
-
<doc xml:
|
227
|
+
<doc xml:space="preserve">a #PangoCairoFontMap</doc>
|
228
228
|
<type name="FontMap" c:type="PangoCairoFontMap*"/>
|
229
229
|
</instance-parameter>
|
230
230
|
<parameter name="dpi" transfer-ownership="none">
|
231
|
-
<doc xml:
|
231
|
+
<doc xml:space="preserve">the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.)</doc>
|
232
232
|
<type name="gdouble" c:type="double"/>
|
233
233
|
</parameter>
|
234
234
|
</parameters>
|
235
235
|
</method>
|
236
236
|
</interface>
|
237
237
|
<callback name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc">
|
238
|
+
<doc xml:space="preserve">Function type for rendering attributes of type %PANGO_ATTR_SHAPE
|
239
|
+
with Pango's Cairo renderer.</doc>
|
238
240
|
<return-value transfer-ownership="none">
|
239
241
|
<type name="none" c:type="void"/>
|
240
242
|
</return-value>
|
241
243
|
<parameters>
|
242
244
|
<parameter name="cr" transfer-ownership="none">
|
245
|
+
<doc xml:space="preserve">a Cairo context with current point set to where the shape should be rendered</doc>
|
243
246
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
244
247
|
</parameter>
|
245
248
|
<parameter name="attr" transfer-ownership="none">
|
249
|
+
<doc xml:space="preserve">the %PANGO_ATTR_SHAPE to render</doc>
|
246
250
|
<type name="Pango.AttrShape" c:type="PangoAttrShape*"/>
|
247
251
|
</parameter>
|
248
252
|
<parameter name="do_path" transfer-ownership="none">
|
253
|
+
<doc xml:space="preserve">whether only the shape path should be appended to current path of @cr and no filling/stroking done. This will be set to %TRUE when called from pango_cairo_layout_path() and pango_cairo_layout_line_path() rendering functions.</doc>
|
249
254
|
<type name="gboolean" c:type="gboolean"/>
|
250
255
|
</parameter>
|
251
256
|
<parameter name="data" transfer-ownership="none">
|
257
|
+
<doc xml:space="preserve">user data passed to pango_cairo_context_set_shape_renderer()</doc>
|
252
258
|
<type name="gpointer" c:type="gpointer"/>
|
253
259
|
</parameter>
|
254
260
|
</parameters>
|
@@ -273,16 +279,16 @@ units high. (10 * 96. / 72. = 13.3).</doc>
|
|
273
279
|
<function name="context_get_font_options"
|
274
280
|
c:identifier="pango_cairo_context_get_font_options"
|
275
281
|
version="1.10">
|
276
|
-
<doc xml:
|
277
|
-
|
282
|
+
<doc xml:space="preserve">Retrieves any font rendering options previously set with
|
283
|
+
pango_cairo_context_set_font_options(). This function does not report options
|
278
284
|
that are derived from the target surface by pango_cairo_update_context()</doc>
|
279
285
|
<return-value transfer-ownership="none">
|
280
|
-
<doc xml:
|
286
|
+
<doc xml:space="preserve">the font options previously set on the context, or %NULL if no options have been set. This value is owned by the context and must not be modified or freed.</doc>
|
281
287
|
<type name="cairo.FontOptions" c:type="const cairo_font_options_t*"/>
|
282
288
|
</return-value>
|
283
289
|
<parameters>
|
284
290
|
<parameter name="context" transfer-ownership="none">
|
285
|
-
<doc xml:
|
291
|
+
<doc xml:space="preserve">a #PangoContext, from a pangocairo font map</doc>
|
286
292
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
287
293
|
</parameter>
|
288
294
|
</parameters>
|
@@ -290,14 +296,14 @@ that are derived from the target surface by pango_cairo_update_context()</doc>
|
|
290
296
|
<function name="context_get_resolution"
|
291
297
|
c:identifier="pango_cairo_context_get_resolution"
|
292
298
|
version="1.10">
|
293
|
-
<doc xml:
|
299
|
+
<doc xml:space="preserve">Gets the resolution for the context. See pango_cairo_context_set_resolution()</doc>
|
294
300
|
<return-value transfer-ownership="none">
|
295
|
-
<doc xml:
|
301
|
+
<doc xml:space="preserve">the resolution in "dots per inch". A negative value will be returned if no resolution has previously been set.</doc>
|
296
302
|
<type name="gdouble" c:type="double"/>
|
297
303
|
</return-value>
|
298
304
|
<parameters>
|
299
305
|
<parameter name="context" transfer-ownership="none">
|
300
|
-
<doc xml:
|
306
|
+
<doc xml:space="preserve">a #PangoContext, from a pangocairo font map</doc>
|
301
307
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
302
308
|
</parameter>
|
303
309
|
</parameters>
|
@@ -306,7 +312,7 @@ that are derived from the target surface by pango_cairo_update_context()</doc>
|
|
306
312
|
c:identifier="pango_cairo_context_get_shape_renderer"
|
307
313
|
version="1.18"
|
308
314
|
introspectable="0">
|
309
|
-
<doc xml:
|
315
|
+
<doc xml:space="preserve">Sets callback function for context to use for rendering attributes
|
310
316
|
of type %PANGO_ATTR_SHAPE. See #PangoCairoShapeRendererFunc for
|
311
317
|
details.
|
312
318
|
|
@@ -314,16 +320,16 @@ Retrieves callback function and associated user data for rendering
|
|
314
320
|
attributes of type %PANGO_ATTR_SHAPE as set by
|
315
321
|
pango_cairo_context_set_shape_renderer(), if any.</doc>
|
316
322
|
<return-value>
|
317
|
-
<doc xml:
|
323
|
+
<doc xml:space="preserve">the shape rendering callback previously set on the context, or %NULL if no shape rendering callback have been set.</doc>
|
318
324
|
<type name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"/>
|
319
325
|
</return-value>
|
320
326
|
<parameters>
|
321
327
|
<parameter name="context" transfer-ownership="none">
|
322
|
-
<doc xml:
|
328
|
+
<doc xml:space="preserve">a #PangoContext, from a pangocairo font map</doc>
|
323
329
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
324
330
|
</parameter>
|
325
331
|
<parameter name="data" transfer-ownership="none">
|
326
|
-
<doc xml:
|
332
|
+
<doc xml:space="preserve">Pointer to #gpointer to return user data</doc>
|
327
333
|
<type name="gpointer" c:type="gpointer*"/>
|
328
334
|
</parameter>
|
329
335
|
</parameters>
|
@@ -331,7 +337,7 @@ pango_cairo_context_set_shape_renderer(), if any.</doc>
|
|
331
337
|
<function name="context_set_font_options"
|
332
338
|
c:identifier="pango_cairo_context_set_font_options"
|
333
339
|
version="1.10">
|
334
|
-
<doc xml:
|
340
|
+
<doc xml:space="preserve">Sets the font options used when rendering text with this context.
|
335
341
|
These options override any options that pango_cairo_update_context()
|
336
342
|
derives from the target surface.</doc>
|
337
343
|
<return-value transfer-ownership="none">
|
@@ -339,11 +345,11 @@ derives from the target surface.</doc>
|
|
339
345
|
</return-value>
|
340
346
|
<parameters>
|
341
347
|
<parameter name="context" transfer-ownership="none">
|
342
|
-
<doc xml:
|
348
|
+
<doc xml:space="preserve">a #PangoContext, from a pangocairo font map</doc>
|
343
349
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
344
350
|
</parameter>
|
345
351
|
<parameter name="options" transfer-ownership="none">
|
346
|
-
<doc xml:
|
352
|
+
<doc xml:space="preserve">a #cairo_font_options_t, or %NULL to unset any previously set options. A copy is made.</doc>
|
347
353
|
<type name="cairo.FontOptions" c:type="const cairo_font_options_t*"/>
|
348
354
|
</parameter>
|
349
355
|
</parameters>
|
@@ -351,7 +357,7 @@ derives from the target surface.</doc>
|
|
351
357
|
<function name="context_set_resolution"
|
352
358
|
c:identifier="pango_cairo_context_set_resolution"
|
353
359
|
version="1.10">
|
354
|
-
<doc xml:
|
360
|
+
<doc xml:space="preserve">Sets the resolution for the context. This is a scale factor between
|
355
361
|
points specified in a #PangoFontDescription and Cairo units. The
|
356
362
|
default value is 96, meaning that a 10 point font will be 13
|
357
363
|
units high. (10 * 96. / 72. = 13.3).</doc>
|
@@ -360,11 +366,11 @@ units high. (10 * 96. / 72. = 13.3).</doc>
|
|
360
366
|
</return-value>
|
361
367
|
<parameters>
|
362
368
|
<parameter name="context" transfer-ownership="none">
|
363
|
-
<doc xml:
|
369
|
+
<doc xml:space="preserve">a #PangoContext, from a pangocairo font map</doc>
|
364
370
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
365
371
|
</parameter>
|
366
372
|
<parameter name="dpi" transfer-ownership="none">
|
367
|
-
<doc xml:
|
373
|
+
<doc xml:space="preserve">the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.) A 0 or negative value means to use the resolution from the font map.</doc>
|
368
374
|
<type name="gdouble" c:type="double"/>
|
369
375
|
</parameter>
|
370
376
|
</parameters>
|
@@ -372,7 +378,7 @@ units high. (10 * 96. / 72. = 13.3).</doc>
|
|
372
378
|
<function name="context_set_shape_renderer"
|
373
379
|
c:identifier="pango_cairo_context_set_shape_renderer"
|
374
380
|
version="1.18">
|
375
|
-
<doc xml:
|
381
|
+
<doc xml:space="preserve">Sets callback function for context to use for rendering attributes
|
376
382
|
of type %PANGO_ATTR_SHAPE. See #PangoCairoShapeRendererFunc for
|
377
383
|
details.</doc>
|
378
384
|
<return-value transfer-ownership="none">
|
@@ -380,7 +386,7 @@ details.</doc>
|
|
380
386
|
</return-value>
|
381
387
|
<parameters>
|
382
388
|
<parameter name="context" transfer-ownership="none">
|
383
|
-
<doc xml:
|
389
|
+
<doc xml:space="preserve">a #PangoContext, from a pangocairo font map</doc>
|
384
390
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
385
391
|
</parameter>
|
386
392
|
<parameter name="func"
|
@@ -388,15 +394,15 @@ details.</doc>
|
|
388
394
|
scope="notified"
|
389
395
|
closure="2"
|
390
396
|
destroy="3">
|
391
|
-
<doc xml:
|
397
|
+
<doc xml:space="preserve">Callback function for rendering attributes of type %PANGO_ATTR_SHAPE, or %NULL to disable shape rendering.</doc>
|
392
398
|
<type name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"/>
|
393
399
|
</parameter>
|
394
400
|
<parameter name="data" transfer-ownership="none">
|
395
|
-
<doc xml:
|
401
|
+
<doc xml:space="preserve">User data that will be passed to @func.</doc>
|
396
402
|
<type name="gpointer" c:type="gpointer"/>
|
397
403
|
</parameter>
|
398
404
|
<parameter name="dnotify" transfer-ownership="none" scope="async">
|
399
|
-
<doc xml:
|
405
|
+
<doc xml:space="preserve">Callback that will be called when the context is freed to release @data, or %NULL.</doc>
|
400
406
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
401
407
|
</parameter>
|
402
408
|
</parameters>
|
@@ -404,7 +410,7 @@ details.</doc>
|
|
404
410
|
<function name="create_context"
|
405
411
|
c:identifier="pango_cairo_create_context"
|
406
412
|
version="1.22">
|
407
|
-
<doc xml:
|
413
|
+
<doc xml:space="preserve">Creates a context object set up to match the current transformation
|
408
414
|
and target surface of the Cairo context. This context can then be
|
409
415
|
used to create a layout using pango_layout_new().
|
410
416
|
|
@@ -413,12 +419,12 @@ the default font map, then updates it to @cr. If you just need to
|
|
413
419
|
create a layout for use with @cr and do not need to access #PangoContext
|
414
420
|
directly, you can use pango_cairo_create_layout() instead.</doc>
|
415
421
|
<return-value transfer-ownership="full">
|
416
|
-
<doc xml:
|
422
|
+
<doc xml:space="preserve">the newly created #PangoContext. Free with g_object_unref().</doc>
|
417
423
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
418
424
|
</return-value>
|
419
425
|
<parameters>
|
420
426
|
<parameter name="cr" transfer-ownership="none">
|
421
|
-
<doc xml:
|
427
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
422
428
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
423
429
|
</parameter>
|
424
430
|
</parameters>
|
@@ -426,7 +432,7 @@ directly, you can use pango_cairo_create_layout() instead.</doc>
|
|
426
432
|
<function name="create_layout"
|
427
433
|
c:identifier="pango_cairo_create_layout"
|
428
434
|
version="1.10">
|
429
|
-
<doc xml:
|
435
|
+
<doc xml:space="preserve">Creates a layout object set up to match the current transformation
|
430
436
|
and target surface of the Cairo context. This layout can then be
|
431
437
|
used for text measurement with functions like
|
432
438
|
pango_layout_get_size() or drawing with functions like
|
@@ -438,12 +444,12 @@ however it is slightly inefficient since it creates a separate
|
|
438
444
|
#PangoContext object for each layout. This might matter in an
|
439
445
|
application that was laying out large amounts of text.</doc>
|
440
446
|
<return-value transfer-ownership="full">
|
441
|
-
<doc xml:
|
447
|
+
<doc xml:space="preserve">the newly created #PangoLayout. Free with g_object_unref().</doc>
|
442
448
|
<type name="Pango.Layout" c:type="PangoLayout*"/>
|
443
449
|
</return-value>
|
444
450
|
<parameters>
|
445
451
|
<parameter name="cr" transfer-ownership="none">
|
446
|
-
<doc xml:
|
452
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
447
453
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
448
454
|
</parameter>
|
449
455
|
</parameters>
|
@@ -451,7 +457,7 @@ application that was laying out large amounts of text.</doc>
|
|
451
457
|
<function name="error_underline_path"
|
452
458
|
c:identifier="pango_cairo_error_underline_path"
|
453
459
|
version="1.14">
|
454
|
-
<doc xml:
|
460
|
+
<doc xml:space="preserve">Add a squiggly line to the current path in the specified cairo context that
|
455
461
|
approximately covers the given rectangle in the style of an underline used
|
456
462
|
to indicate a spelling error. (The width of the underline is rounded to an
|
457
463
|
integer number of up/down segments and the resulting rectangle is centered
|
@@ -461,23 +467,23 @@ in the original rectangle)</doc>
|
|
461
467
|
</return-value>
|
462
468
|
<parameters>
|
463
469
|
<parameter name="cr" transfer-ownership="none">
|
464
|
-
<doc xml:
|
470
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
465
471
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
466
472
|
</parameter>
|
467
473
|
<parameter name="x" transfer-ownership="none">
|
468
|
-
<doc xml:
|
474
|
+
<doc xml:space="preserve">The X coordinate of one corner of the rectangle</doc>
|
469
475
|
<type name="gdouble" c:type="double"/>
|
470
476
|
</parameter>
|
471
477
|
<parameter name="y" transfer-ownership="none">
|
472
|
-
<doc xml:
|
478
|
+
<doc xml:space="preserve">The Y coordinate of one corner of the rectangle</doc>
|
473
479
|
<type name="gdouble" c:type="double"/>
|
474
480
|
</parameter>
|
475
481
|
<parameter name="width" transfer-ownership="none">
|
476
|
-
<doc xml:
|
482
|
+
<doc xml:space="preserve">Non-negative width of the rectangle</doc>
|
477
483
|
<type name="gdouble" c:type="double"/>
|
478
484
|
</parameter>
|
479
485
|
<parameter name="height" transfer-ownership="none">
|
480
|
-
<doc xml:
|
486
|
+
<doc xml:space="preserve">Non-negative height of the rectangle</doc>
|
481
487
|
<type name="gdouble" c:type="double"/>
|
482
488
|
</parameter>
|
483
489
|
</parameters>
|
@@ -486,7 +492,7 @@ in the original rectangle)</doc>
|
|
486
492
|
c:identifier="pango_cairo_font_map_get_default"
|
487
493
|
moved-to="FontMap.get_default"
|
488
494
|
version="1.10">
|
489
|
-
<doc xml:
|
495
|
+
<doc xml:space="preserve">Gets a default #PangoCairoFontMap to use with Cairo.
|
490
496
|
|
491
497
|
Note that the type of the returned object will depend
|
492
498
|
on the particular font backend Cairo was compiled to use;
|
@@ -502,7 +508,7 @@ Note that since Pango 1.32.6, the default fontmap is per-thread.
|
|
502
508
|
Each thread gets its own default fontmap. In this way,
|
503
509
|
PangoCairo can be used safely from multiple threads.</doc>
|
504
510
|
<return-value transfer-ownership="none">
|
505
|
-
<doc xml:
|
511
|
+
<doc xml:space="preserve">the default PangoCairo fontmap for the current thread. This object is owned by Pango and must not be freed.</doc>
|
506
512
|
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
507
513
|
</return-value>
|
508
514
|
</function>
|
@@ -510,7 +516,7 @@ PangoCairo can be used safely from multiple threads.</doc>
|
|
510
516
|
c:identifier="pango_cairo_font_map_new"
|
511
517
|
moved-to="FontMap.new"
|
512
518
|
version="1.10">
|
513
|
-
<doc xml:
|
519
|
+
<doc xml:space="preserve">Creates a new #PangoCairoFontMap object; a fontmap is used
|
514
520
|
to cache information about available fonts, and holds
|
515
521
|
certain global parameters such as the resolution.
|
516
522
|
In most cases, you can use pango_cairo_font_map_get_default()
|
@@ -521,7 +527,7 @@ on the particular font backend Cairo was compiled to use;
|
|
521
527
|
You generally should only use the #PangoFontMap and
|
522
528
|
#PangoCairoFontMap interfaces on the returned object.</doc>
|
523
529
|
<return-value transfer-ownership="full">
|
524
|
-
<doc xml:
|
530
|
+
<doc xml:space="preserve">the newly allocated #PangoFontMap, which should be freed with g_object_unref().</doc>
|
525
531
|
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
526
532
|
</return-value>
|
527
533
|
</function>
|
@@ -529,19 +535,19 @@ You generally should only use the #PangoFontMap and
|
|
529
535
|
c:identifier="pango_cairo_font_map_new_for_font_type"
|
530
536
|
moved-to="FontMap.new_for_font_type"
|
531
537
|
version="1.18">
|
532
|
-
<doc xml:
|
538
|
+
<doc xml:space="preserve">Creates a new #PangoCairoFontMap object of the type suitable
|
533
539
|
to be used with cairo font backend of type @fonttype.
|
534
540
|
|
535
541
|
In most cases one should simply use @pango_cairo_font_map_new(),
|
536
542
|
or in fact in most of those cases, just use
|
537
543
|
@pango_cairo_font_map_get_default().</doc>
|
538
544
|
<return-value transfer-ownership="full">
|
539
|
-
<doc xml:
|
545
|
+
<doc xml:space="preserve">the newly allocated #PangoFontMap of suitable type which should be freed with g_object_unref(), or %NULL if the requested cairo font backend is not supported / compiled in.</doc>
|
540
546
|
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
541
547
|
</return-value>
|
542
548
|
<parameters>
|
543
549
|
<parameter name="fonttype" transfer-ownership="none">
|
544
|
-
<doc xml:
|
550
|
+
<doc xml:space="preserve">desired #cairo_font_type_t</doc>
|
545
551
|
<type name="cairo.FontType" c:type="cairo_font_type_t"/>
|
546
552
|
</parameter>
|
547
553
|
</parameters>
|
@@ -549,7 +555,7 @@ or in fact in most of those cases, just use
|
|
549
555
|
<function name="glyph_string_path"
|
550
556
|
c:identifier="pango_cairo_glyph_string_path"
|
551
557
|
version="1.10">
|
552
|
-
<doc xml:
|
558
|
+
<doc xml:space="preserve">Adds the glyphs in @glyphs to the current path in the specified
|
553
559
|
cairo context. The origin of the glyphs (the left edge of the baseline)
|
554
560
|
will be at the current point of the cairo context.</doc>
|
555
561
|
<return-value transfer-ownership="none">
|
@@ -557,15 +563,15 @@ will be at the current point of the cairo context.</doc>
|
|
557
563
|
</return-value>
|
558
564
|
<parameters>
|
559
565
|
<parameter name="cr" transfer-ownership="none">
|
560
|
-
<doc xml:
|
566
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
561
567
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
562
568
|
</parameter>
|
563
569
|
<parameter name="font" transfer-ownership="none">
|
564
|
-
<doc xml:
|
570
|
+
<doc xml:space="preserve">a #PangoFont from a #PangoCairoFontMap</doc>
|
565
571
|
<type name="Pango.Font" c:type="PangoFont*"/>
|
566
572
|
</parameter>
|
567
573
|
<parameter name="glyphs" transfer-ownership="none">
|
568
|
-
<doc xml:
|
574
|
+
<doc xml:space="preserve">a #PangoGlyphString</doc>
|
569
575
|
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
|
570
576
|
</parameter>
|
571
577
|
</parameters>
|
@@ -573,7 +579,7 @@ will be at the current point of the cairo context.</doc>
|
|
573
579
|
<function name="layout_line_path"
|
574
580
|
c:identifier="pango_cairo_layout_line_path"
|
575
581
|
version="1.10">
|
576
|
-
<doc xml:
|
582
|
+
<doc xml:space="preserve">Adds the text in #PangoLayoutLine to the current path in the
|
577
583
|
specified cairo context. The origin of the glyphs (the left edge
|
578
584
|
of the line) will be at the current point of the cairo context.</doc>
|
579
585
|
<return-value transfer-ownership="none">
|
@@ -581,11 +587,11 @@ of the line) will be at the current point of the cairo context.</doc>
|
|
581
587
|
</return-value>
|
582
588
|
<parameters>
|
583
589
|
<parameter name="cr" transfer-ownership="none">
|
584
|
-
<doc xml:
|
590
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
585
591
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
586
592
|
</parameter>
|
587
593
|
<parameter name="line" transfer-ownership="none">
|
588
|
-
<doc xml:
|
594
|
+
<doc xml:space="preserve">a #PangoLayoutLine</doc>
|
589
595
|
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
|
590
596
|
</parameter>
|
591
597
|
</parameters>
|
@@ -593,7 +599,7 @@ of the line) will be at the current point of the cairo context.</doc>
|
|
593
599
|
<function name="layout_path"
|
594
600
|
c:identifier="pango_cairo_layout_path"
|
595
601
|
version="1.10">
|
596
|
-
<doc xml:
|
602
|
+
<doc xml:space="preserve">Adds the text in a #PangoLayout to the current path in the
|
597
603
|
specified cairo context. The top-left corner of the #PangoLayout
|
598
604
|
will be at the current point of the cairo context.</doc>
|
599
605
|
<return-value transfer-ownership="none">
|
@@ -601,11 +607,11 @@ will be at the current point of the cairo context.</doc>
|
|
601
607
|
</return-value>
|
602
608
|
<parameters>
|
603
609
|
<parameter name="cr" transfer-ownership="none">
|
604
|
-
<doc xml:
|
610
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
605
611
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
606
612
|
</parameter>
|
607
613
|
<parameter name="layout" transfer-ownership="none">
|
608
|
-
<doc xml:
|
614
|
+
<doc xml:space="preserve">a Pango layout</doc>
|
609
615
|
<type name="Pango.Layout" c:type="PangoLayout*"/>
|
610
616
|
</parameter>
|
611
617
|
</parameters>
|
@@ -613,7 +619,7 @@ will be at the current point of the cairo context.</doc>
|
|
613
619
|
<function name="show_error_underline"
|
614
620
|
c:identifier="pango_cairo_show_error_underline"
|
615
621
|
version="1.14">
|
616
|
-
<doc xml:
|
622
|
+
<doc xml:space="preserve">Draw a squiggly line in the specified cairo context that approximately
|
617
623
|
covers the given rectangle in the style of an underline used to indicate a
|
618
624
|
spelling error. (The width of the underline is rounded to an integer
|
619
625
|
number of up/down segments and the resulting rectangle is centered in the
|
@@ -623,23 +629,23 @@ original rectangle)</doc>
|
|
623
629
|
</return-value>
|
624
630
|
<parameters>
|
625
631
|
<parameter name="cr" transfer-ownership="none">
|
626
|
-
<doc xml:
|
632
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
627
633
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
628
634
|
</parameter>
|
629
635
|
<parameter name="x" transfer-ownership="none">
|
630
|
-
<doc xml:
|
636
|
+
<doc xml:space="preserve">The X coordinate of one corner of the rectangle</doc>
|
631
637
|
<type name="gdouble" c:type="double"/>
|
632
638
|
</parameter>
|
633
639
|
<parameter name="y" transfer-ownership="none">
|
634
|
-
<doc xml:
|
640
|
+
<doc xml:space="preserve">The Y coordinate of one corner of the rectangle</doc>
|
635
641
|
<type name="gdouble" c:type="double"/>
|
636
642
|
</parameter>
|
637
643
|
<parameter name="width" transfer-ownership="none">
|
638
|
-
<doc xml:
|
644
|
+
<doc xml:space="preserve">Non-negative width of the rectangle</doc>
|
639
645
|
<type name="gdouble" c:type="double"/>
|
640
646
|
</parameter>
|
641
647
|
<parameter name="height" transfer-ownership="none">
|
642
|
-
<doc xml:
|
648
|
+
<doc xml:space="preserve">Non-negative height of the rectangle</doc>
|
643
649
|
<type name="gdouble" c:type="double"/>
|
644
650
|
</parameter>
|
645
651
|
</parameters>
|
@@ -647,7 +653,7 @@ original rectangle)</doc>
|
|
647
653
|
<function name="show_glyph_item"
|
648
654
|
c:identifier="pango_cairo_show_glyph_item"
|
649
655
|
version="1.22">
|
650
|
-
<doc xml:
|
656
|
+
<doc xml:space="preserve">Draws the glyphs in @glyph_item in the specified cairo context,
|
651
657
|
embedding the text associated with the glyphs in the output if the
|
652
658
|
output format supports it (PDF for example), otherwise it acts
|
653
659
|
similar to pango_cairo_show_glyph_string().
|
@@ -662,15 +668,15 @@ indexed by <literal>@glyph_item->item->offset</literal>.</doc>
|
|
662
668
|
</return-value>
|
663
669
|
<parameters>
|
664
670
|
<parameter name="cr" transfer-ownership="none">
|
665
|
-
<doc xml:
|
671
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
666
672
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
667
673
|
</parameter>
|
668
674
|
<parameter name="text" transfer-ownership="none">
|
669
|
-
<doc xml:
|
675
|
+
<doc xml:space="preserve">the UTF-8 text that @glyph_item refers to</doc>
|
670
676
|
<type name="utf8" c:type="const char*"/>
|
671
677
|
</parameter>
|
672
678
|
<parameter name="glyph_item" transfer-ownership="none">
|
673
|
-
<doc xml:
|
679
|
+
<doc xml:space="preserve">a #PangoGlyphItem</doc>
|
674
680
|
<type name="Pango.GlyphItem" c:type="PangoGlyphItem*"/>
|
675
681
|
</parameter>
|
676
682
|
</parameters>
|
@@ -678,7 +684,7 @@ indexed by <literal>@glyph_item->item->offset</literal>.</doc>
|
|
678
684
|
<function name="show_glyph_string"
|
679
685
|
c:identifier="pango_cairo_show_glyph_string"
|
680
686
|
version="1.10">
|
681
|
-
<doc xml:
|
687
|
+
<doc xml:space="preserve">Draws the glyphs in @glyphs in the specified cairo context.
|
682
688
|
The origin of the glyphs (the left edge of the baseline) will
|
683
689
|
be drawn at the current point of the cairo context.</doc>
|
684
690
|
<return-value transfer-ownership="none">
|
@@ -686,15 +692,15 @@ be drawn at the current point of the cairo context.</doc>
|
|
686
692
|
</return-value>
|
687
693
|
<parameters>
|
688
694
|
<parameter name="cr" transfer-ownership="none">
|
689
|
-
<doc xml:
|
695
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
690
696
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
691
697
|
</parameter>
|
692
698
|
<parameter name="font" transfer-ownership="none">
|
693
|
-
<doc xml:
|
699
|
+
<doc xml:space="preserve">a #PangoFont from a #PangoCairoFontMap</doc>
|
694
700
|
<type name="Pango.Font" c:type="PangoFont*"/>
|
695
701
|
</parameter>
|
696
702
|
<parameter name="glyphs" transfer-ownership="none">
|
697
|
-
<doc xml:
|
703
|
+
<doc xml:space="preserve">a #PangoGlyphString</doc>
|
698
704
|
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
|
699
705
|
</parameter>
|
700
706
|
</parameters>
|
@@ -702,7 +708,7 @@ be drawn at the current point of the cairo context.</doc>
|
|
702
708
|
<function name="show_layout"
|
703
709
|
c:identifier="pango_cairo_show_layout"
|
704
710
|
version="1.10">
|
705
|
-
<doc xml:
|
711
|
+
<doc xml:space="preserve">Draws a #PangoLayout in the specified cairo context.
|
706
712
|
The top-left corner of the #PangoLayout will be drawn
|
707
713
|
at the current point of the cairo context.</doc>
|
708
714
|
<return-value transfer-ownership="none">
|
@@ -710,11 +716,11 @@ at the current point of the cairo context.</doc>
|
|
710
716
|
</return-value>
|
711
717
|
<parameters>
|
712
718
|
<parameter name="cr" transfer-ownership="none">
|
713
|
-
<doc xml:
|
719
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
714
720
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
715
721
|
</parameter>
|
716
722
|
<parameter name="layout" transfer-ownership="none">
|
717
|
-
<doc xml:
|
723
|
+
<doc xml:space="preserve">a Pango layout</doc>
|
718
724
|
<type name="Pango.Layout" c:type="PangoLayout*"/>
|
719
725
|
</parameter>
|
720
726
|
</parameters>
|
@@ -722,7 +728,7 @@ at the current point of the cairo context.</doc>
|
|
722
728
|
<function name="show_layout_line"
|
723
729
|
c:identifier="pango_cairo_show_layout_line"
|
724
730
|
version="1.10">
|
725
|
-
<doc xml:
|
731
|
+
<doc xml:space="preserve">Draws a #PangoLayoutLine in the specified cairo context.
|
726
732
|
The origin of the glyphs (the left edge of the line) will
|
727
733
|
be drawn at the current point of the cairo context.</doc>
|
728
734
|
<return-value transfer-ownership="none">
|
@@ -730,11 +736,11 @@ be drawn at the current point of the cairo context.</doc>
|
|
730
736
|
</return-value>
|
731
737
|
<parameters>
|
732
738
|
<parameter name="cr" transfer-ownership="none">
|
733
|
-
<doc xml:
|
739
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
734
740
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
735
741
|
</parameter>
|
736
742
|
<parameter name="line" transfer-ownership="none">
|
737
|
-
<doc xml:
|
743
|
+
<doc xml:space="preserve">a #PangoLayoutLine</doc>
|
738
744
|
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
|
739
745
|
</parameter>
|
740
746
|
</parameters>
|
@@ -742,7 +748,7 @@ be drawn at the current point of the cairo context.</doc>
|
|
742
748
|
<function name="update_context"
|
743
749
|
c:identifier="pango_cairo_update_context"
|
744
750
|
version="1.10">
|
745
|
-
<doc xml:
|
751
|
+
<doc xml:space="preserve">Updates a #PangoContext previously created for use with Cairo to
|
746
752
|
match the current transformation and target surface of a Cairo
|
747
753
|
context. If any layouts have been created for the context,
|
748
754
|
it's necessary to call pango_layout_context_changed() on those
|
@@ -752,11 +758,11 @@ layouts.</doc>
|
|
752
758
|
</return-value>
|
753
759
|
<parameters>
|
754
760
|
<parameter name="cr" transfer-ownership="none">
|
755
|
-
<doc xml:
|
761
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
756
762
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
757
763
|
</parameter>
|
758
764
|
<parameter name="context" transfer-ownership="none">
|
759
|
-
<doc xml:
|
765
|
+
<doc xml:space="preserve">a #PangoContext, from a pangocairo font map</doc>
|
760
766
|
<type name="Pango.Context" c:type="PangoContext*"/>
|
761
767
|
</parameter>
|
762
768
|
</parameters>
|
@@ -764,7 +770,7 @@ layouts.</doc>
|
|
764
770
|
<function name="update_layout"
|
765
771
|
c:identifier="pango_cairo_update_layout"
|
766
772
|
version="1.10">
|
767
|
-
<doc xml:
|
773
|
+
<doc xml:space="preserve">Updates the private #PangoContext of a #PangoLayout created with
|
768
774
|
pango_cairo_create_layout() to match the current transformation
|
769
775
|
and target surface of a Cairo context.</doc>
|
770
776
|
<return-value transfer-ownership="none">
|
@@ -772,11 +778,11 @@ and target surface of a Cairo context.</doc>
|
|
772
778
|
</return-value>
|
773
779
|
<parameters>
|
774
780
|
<parameter name="cr" transfer-ownership="none">
|
775
|
-
<doc xml:
|
781
|
+
<doc xml:space="preserve">a Cairo context</doc>
|
776
782
|
<type name="cairo.Context" c:type="cairo_t*"/>
|
777
783
|
</parameter>
|
778
784
|
<parameter name="layout" transfer-ownership="none">
|
779
|
-
<doc xml:
|
785
|
+
<doc xml:space="preserve">a #PangoLayout, from pango_cairo_create_layout()</doc>
|
780
786
|
<type name="Pango.Layout" c:type="PangoLayout*"/>
|
781
787
|
</parameter>
|
782
788
|
</parameters>
|