rsvg2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +13 -2
- data/ext/rsvg2/extconf.rb +8 -0
- data/lib/1.8/rsvg2.so +0 -0
- data/lib/1.9/rsvg2.so +0 -0
- data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgsf-1-114.dll +0 -0
- data/vendor/local/bin/libgsf-gnome-1-114.dll +0 -0
- data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-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/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkg-config.exe +0 -0
- data/vendor/local/etc/gconf/schemas/gsf-office-thumbnailer.schemas +4073 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +53 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-bonobo.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +49 -0
- data/vendor/local/include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +47 -0
- data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
- data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +66 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +67 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +47 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +44 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +69 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +45 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-input.h +65 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +194 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +54 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +92 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +106 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +48 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +50 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +74 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +38 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +42 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +43 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +51 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-output.h +98 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +52 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +46 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +64 -0
- data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +331 -0
- data/vendor/local/include/libgsf-1/gsf/gsf.h +104 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +936 -0
- data/vendor/local/lib/cairo.lib +0 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgsf-1.dll.a +0 -0
- data/vendor/local/lib/libgsf-gnome-1.dll.a +0 -0
- data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/libgsf-gnome-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
- data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
- data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
- data/vendor/local/manifest/libgsf-dev_1.14.17-1_win32.mft +57 -0
- data/vendor/local/manifest/libgsf-gnome-dev_1.14.17-1_win32.mft +9 -0
- data/vendor/local/manifest/libgsf-gnome_1.14.17-1_win32.mft +3 -0
- data/vendor/local/manifest/libgsf_1.14.17-1_win32.mft +18 -0
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/pkg.m4 +155 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING +33 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-LGPL-2.1 +510 -0
- data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-MPL-1.1 +470 -0
- data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.log +1263 -0
- data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.sh +84 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
- data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.log +1616 -0
- data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.sh +73 -0
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
- metadata +3053 -2947
- data/ext/rsvg2/Makefile +0 -155
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
- data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,29 +8,8 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Text-Processing.html" title="Rendering">
|
10
10
|
<link rel="next" href="pango-Fonts.html" title="Fonts">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Glyph-Storage.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-Glyph-Storage"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,128 +35,128 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-Glyph-Storage.synopsis"></a><h2>Synopsis</h2>
|
61
40
|
<pre class="synopsis">#define <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE">PANGO_SCALE</a>
|
62
41
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-PIXELS:CAPS" title="PANGO_PIXELS()">PANGO_PIXELS</a> (d)
|
63
42
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-PIXELS-FLOOR:CAPS" title="PANGO_PIXELS_FLOOR()">PANGO_PIXELS_FLOOR</a> (d)
|
64
43
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-PIXELS-CEIL:CAPS" title="PANGO_PIXELS_CEIL()">PANGO_PIXELS_CEIL</a> (d)
|
65
44
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-UNITS-ROUND:CAPS" title="PANGO_UNITS_ROUND()">PANGO_UNITS_ROUND</a> (d)
|
66
|
-
<span class="returnvalue">double</span> <a class="link" href="pango-Glyph-Storage.html#pango-units-to-double" title="pango_units_to_double ()">pango_units_to_double</a> (<span class="
|
67
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Glyph-Storage.html#pango-units-from-double" title="pango_units_from_double ()">pango_units_from_double</a> (<span class="
|
68
|
-
|
45
|
+
<span class="returnvalue">double</span> <a class="link" href="pango-Glyph-Storage.html#pango-units-to-double" title="pango_units_to_double ()">pango_units_to_double</a> (<em class="parameter"><code><span class="type">int</span> i</code></em>);
|
46
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Glyph-Storage.html#pango-units-from-double" title="pango_units_from_double ()">pango_units_from_double</a> (<em class="parameter"><code><span class="type">double</span> d</code></em>);
|
47
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle">PangoRectangle</a>;
|
69
48
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-ASCENT:CAPS" title="PANGO_ASCENT()">PANGO_ASCENT</a> (rect)
|
70
49
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-DESCENT:CAPS" title="PANGO_DESCENT()">PANGO_DESCENT</a> (rect)
|
71
50
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-LBEARING:CAPS" title="PANGO_LBEARING()">PANGO_LBEARING</a> (rect)
|
72
51
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-RBEARING:CAPS" title="PANGO_RBEARING()">PANGO_RBEARING</a> (rect)
|
73
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()">pango_extents_to_pixels</a> (<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
74
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
75
|
-
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()">pango_extents_to_pixels</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *inclusive</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *nearest</code></em>);
|
54
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix">PangoMatrix</a>;
|
76
55
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-MATRIX:CAPS" title="PANGO_TYPE_MATRIX">PANGO_TYPE_MATRIX</a>
|
77
56
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-MATRIX-INIT:CAPS" title="PANGO_MATRIX_INIT">PANGO_MATRIX_INIT</a>
|
78
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-matrix-copy" title="pango_matrix_copy ()">pango_matrix_copy</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
79
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-free" title="pango_matrix_free ()">pango_matrix_free</a> (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-translate" title="pango_matrix_translate ()">pango_matrix_translate</a> (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
81
|
-
<span class="
|
82
|
-
<span class="
|
83
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-scale" title="pango_matrix_scale ()">pango_matrix_scale</a> (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
84
|
-
<span class="
|
85
|
-
<span class="
|
86
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()">pango_matrix_rotate</a> (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
87
|
-
<span class="
|
88
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-concat" title="pango_matrix_concat ()">pango_matrix_concat</a> (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
89
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
90
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-point" title="pango_matrix_transform_point ()">pango_matrix_transform_point</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
91
|
-
<span class="
|
92
|
-
<span class="
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-distance" title="pango_matrix_transform_distance ()">pango_matrix_transform_distance</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
94
|
-
<span class="
|
95
|
-
<span class="
|
96
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-rectangle" title="pango_matrix_transform_rectangle ()">pango_matrix_transform_rectangle</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
97
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
57
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-matrix-copy" title="pango_matrix_copy ()">pango_matrix_copy</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-free" title="pango_matrix_free ()">pango_matrix_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-translate" title="pango_matrix_translate ()">pango_matrix_translate</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
60
|
+
<em class="parameter"><code><span class="type">double</span> tx</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">double</span> ty</code></em>);
|
62
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-scale" title="pango_matrix_scale ()">pango_matrix_scale</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
63
|
+
<em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
|
64
|
+
<em class="parameter"><code><span class="type">double</span> scale_y</code></em>);
|
65
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()">pango_matrix_rotate</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
66
|
+
<em class="parameter"><code><span class="type">double</span> degrees</code></em>);
|
67
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-concat" title="pango_matrix_concat ()">pango_matrix_concat</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
68
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-point" title="pango_matrix_transform_point ()">pango_matrix_transform_point</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">double</span> *x</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">double</span> *y</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-distance" title="pango_matrix_transform_distance ()">pango_matrix_transform_distance</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
73
|
+
<em class="parameter"><code><span class="type">double</span> *dx</code></em>,
|
74
|
+
<em class="parameter"><code><span class="type">double</span> *dy</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-rectangle" title="pango_matrix_transform_rectangle ()">pango_matrix_transform_rectangle</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);
|
98
77
|
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-pixel-rectangle" title="pango_matrix_transform_pixel_rectangle ()">pango_matrix_transform_pixel_rectangle</a>
|
99
|
-
(const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
100
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
101
|
-
<span class="returnvalue">double</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-get-font-scale-factor" title="pango_matrix_get_font_scale_factor ()">pango_matrix_get_font_scale_factor</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
78
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
79
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);
|
80
|
+
<span class="returnvalue">double</span> <a class="link" href="pango-Glyph-Storage.html#pango-matrix-get-font-scale-factor" title="pango_matrix_get_font_scale_factor ()">pango_matrix_get_font_scale_factor</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
102
81
|
typedef <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph">PangoGlyph</a>;
|
103
82
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-EMPTY:CAPS" title="PANGO_GLYPH_EMPTY">PANGO_GLYPH_EMPTY</a>
|
104
83
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-INVALID-INPUT:CAPS" title="PANGO_GLYPH_INVALID_INPUT">PANGO_GLYPH_INVALID_INPUT</a>
|
105
84
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-UNKNOWN-FLAG:CAPS" title="PANGO_GLYPH_UNKNOWN_FLAG">PANGO_GLYPH_UNKNOWN_FLAG</a>
|
106
85
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()">PANGO_GET_UNKNOWN_GLYPH</a> (wc)
|
107
|
-
|
108
|
-
|
86
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo">PangoGlyphInfo</a>;
|
87
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="struct PangoGlyphGeometry">PangoGlyphGeometry</a>;
|
109
88
|
typedef <a class="link" href="pango-Glyph-Storage.html#PangoGlyphUnit" title="PangoGlyphUnit">PangoGlyphUnit</a>;
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
89
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphVisAttr" title="struct PangoGlyphVisAttr">PangoGlyphVisAttr</a>;
|
90
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString">PangoGlyphString</a>;
|
91
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem">PangoGlyphItem</a>;
|
92
|
+
struct <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter">PangoGlyphItemIter</a>;
|
114
93
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-GLYPH-STRING:CAPS" title="PANGO_TYPE_GLYPH_STRING">PANGO_TYPE_GLYPH_STRING</a>
|
115
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-new" title="pango_glyph_string_new ()">pango_glyph_string_new</a> (void);
|
116
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-copy" title="pango_glyph_string_copy ()">pango_glyph_string_copy</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
117
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-set-size" title="pango_glyph_string_set_size ()">pango_glyph_string_set_size</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
118
|
-
<
|
119
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()">pango_glyph_string_free</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
120
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents" title="pango_glyph_string_extents ()">pango_glyph_string_extents</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
121
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
122
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
123
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
124
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents-range" title="pango_glyph_string_extents_range ()">pango_glyph_string_extents_range</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
125
|
-
<span class="
|
126
|
-
<span class="
|
127
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
128
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
129
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
130
|
-
<span class="returnvalue">int</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-width" title="pango_glyph_string_get_width ()">pango_glyph_string_get_width</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
131
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-index-to-x" title="pango_glyph_string_index_to_x ()">pango_glyph_string_index_to_x</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
132
|
-
<span class="
|
133
|
-
<span class="
|
134
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="
|
135
|
-
<span class="
|
136
|
-
<
|
137
|
-
<span class="
|
138
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-x-to-index" title="pango_glyph_string_x_to_index ()">pango_glyph_string_x_to_index</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
139
|
-
<span class="
|
140
|
-
<span class="
|
141
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="
|
142
|
-
<span class="
|
143
|
-
<span class="
|
144
|
-
<span class="
|
94
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-new" title="pango_glyph_string_new ()">pango_glyph_string_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
95
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-copy" title="pango_glyph_string_copy ()">pango_glyph_string_copy</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-set-size" title="pango_glyph_string_set_size ()">pango_glyph_string_set_size</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
|
97
|
+
<em class="parameter"><code><span class="type">gint</span> new_len</code></em>);
|
98
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()">pango_glyph_string_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents" title="pango_glyph_string_extents ()">pango_glyph_string_extents</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
100
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
101
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
102
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);
|
103
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents-range" title="pango_glyph_string_extents_range ()">pango_glyph_string_extents_range</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
104
|
+
<em class="parameter"><code><span class="type">int</span> start</code></em>,
|
105
|
+
<em class="parameter"><code><span class="type">int</span> end</code></em>,
|
106
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
107
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
108
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);
|
109
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-width" title="pango_glyph_string_get_width ()">pango_glyph_string_get_width</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
|
110
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-index-to-x" title="pango_glyph_string_index_to_x ()">pango_glyph_string_index_to_x</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
111
|
+
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
112
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
113
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
114
|
+
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
115
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
116
|
+
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);
|
117
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-x-to-index" title="pango_glyph_string_x_to_index ()">pango_glyph_string_x_to_index</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
118
|
+
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
119
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
120
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
121
|
+
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
122
|
+
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
123
|
+
<em class="parameter"><code><span class="type">int</span> *trailing</code></em>);
|
145
124
|
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-logical-widths" title="pango_glyph_string_get_logical_widths ()">pango_glyph_string_get_logical_widths</a>
|
146
|
-
(<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
147
|
-
const <span class="
|
148
|
-
<span class="
|
149
|
-
<span class="
|
150
|
-
<span class="
|
125
|
+
(<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
126
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
127
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
128
|
+
<em class="parameter"><code><span class="type">int</span> embedding_level</code></em>,
|
129
|
+
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);
|
151
130
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-GLYPH-ITEM:CAPS" title="PANGO_TYPE_GLYPH_ITEM">PANGO_TYPE_GLYPH_ITEM</a>
|
152
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-copy" title="pango_glyph_item_copy ()">pango_glyph_item_copy</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
153
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()">pango_glyph_item_free</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
154
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-split" title="pango_glyph_item_split ()">pango_glyph_item_split</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
155
|
-
const <span class="
|
156
|
-
<span class="
|
157
|
-
<
|
158
|
-
const <span class="
|
159
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
160
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-letter-space" title="pango_glyph_item_letter_space ()">pango_glyph_item_letter_space</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
161
|
-
const <span class="
|
162
|
-
<a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="
|
163
|
-
<span class="
|
164
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-logical-widths" title="pango_glyph_item_get_logical_widths ()">pango_glyph_item_get_logical_widths</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
165
|
-
const <span class="
|
166
|
-
<span class="
|
131
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-copy" title="pango_glyph_item_copy ()">pango_glyph_item_copy</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);
|
132
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()">pango_glyph_item_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);
|
133
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-split" title="pango_glyph_item_split ()">pango_glyph_item_split</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
|
134
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
135
|
+
<em class="parameter"><code><span class="type">int</span> split_index</code></em>);
|
136
|
+
<span class="returnvalue">GSList</span> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-apply-attrs" title="pango_glyph_item_apply_attrs ()">pango_glyph_item_apply_attrs</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
137
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
138
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);
|
139
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-letter-space" title="pango_glyph_item_letter_space ()">pango_glyph_item_letter_space</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
140
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
141
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *log_attrs</code></em>,
|
142
|
+
<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);
|
143
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-logical-widths" title="pango_glyph_item_get_logical_widths ()">pango_glyph_item_get_logical_widths</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
144
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
145
|
+
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);
|
167
146
|
#define <a class="link" href="pango-Glyph-Storage.html#PANGO-TYPE-GLYPH-ITEM-ITER:CAPS" title="PANGO_TYPE_GLYPH_ITEM_ITER">PANGO_TYPE_GLYPH_ITEM_ITER</a>
|
168
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="returnvalue">PangoGlyphItemIter</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-copy" title="pango_glyph_item_iter_copy ()">pango_glyph_item_iter_copy</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="
|
169
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-free" title="pango_glyph_item_iter_free ()">pango_glyph_item_iter_free</a> (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="
|
170
|
-
<
|
171
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
172
|
-
const <span class="
|
173
|
-
<
|
174
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
175
|
-
const <span class="
|
176
|
-
<
|
177
|
-
<
|
147
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="returnvalue">PangoGlyphItemIter</span></a> * <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-copy" title="pango_glyph_item_iter_copy ()">pango_glyph_item_iter_copy</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);
|
148
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-free" title="pango_glyph_item_iter_free ()">pango_glyph_item_iter_free</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
|
149
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-init-start" title="pango_glyph_item_iter_init_start ()">pango_glyph_item_iter_init_start</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
150
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
151
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);
|
152
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-init-end" title="pango_glyph_item_iter_init_end ()">pango_glyph_item_iter_init_end</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
153
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
154
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);
|
155
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-next-cluster" title="pango_glyph_item_iter_next_cluster ()">pango_glyph_item_iter_next_cluster</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
|
156
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-prev-cluster" title="pango_glyph_item_iter_prev_cluster ()">pango_glyph_item_iter_prev_cluster</a> (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);
|
178
157
|
</pre>
|
179
158
|
</div>
|
180
|
-
<div class="refsect1"
|
159
|
+
<div class="refsect1">
|
181
160
|
<a name="pango-Glyph-Storage.description"></a><h2>Description</h2>
|
182
161
|
<p>
|
183
162
|
<a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a> produces a string of glyphs which
|
@@ -186,9 +165,9 @@ structures are used to store information about
|
|
186
165
|
glyphs.
|
187
166
|
</p>
|
188
167
|
</div>
|
189
|
-
<div class="refsect1"
|
168
|
+
<div class="refsect1">
|
190
169
|
<a name="pango-Glyph-Storage.details"></a><h2>Details</h2>
|
191
|
-
<div class="refsect2"
|
170
|
+
<div class="refsect2">
|
192
171
|
<a name="PANGO-SCALE:CAPS"></a><h3>PANGO_SCALE</h3>
|
193
172
|
<pre class="programlisting">#define PANGO_SCALE 1024
|
194
173
|
</pre>
|
@@ -205,7 +184,7 @@ points (as in "12 point font"), rather than pixels.
|
|
205
184
|
</p>
|
206
185
|
</div>
|
207
186
|
<hr>
|
208
|
-
<div class="refsect2"
|
187
|
+
<div class="refsect2">
|
209
188
|
<a name="PANGO-PIXELS:CAPS"></a><h3>PANGO_PIXELS()</h3>
|
210
189
|
<pre class="programlisting">#define PANGO_PIXELS(d) (((int)(d) + 512) >> 10)
|
211
190
|
</pre>
|
@@ -229,7 +208,7 @@ Converts a dimension to device units by rounding.
|
|
229
208
|
</table></div>
|
230
209
|
</div>
|
231
210
|
<hr>
|
232
|
-
<div class="refsect2"
|
211
|
+
<div class="refsect2">
|
233
212
|
<a name="PANGO-PIXELS-FLOOR:CAPS"></a><h3>PANGO_PIXELS_FLOOR()</h3>
|
234
213
|
<pre class="programlisting">#define PANGO_PIXELS_FLOOR(d) (((int)(d)) >> 10)
|
235
214
|
</pre>
|
@@ -254,7 +233,7 @@ Converts a dimension to device units by flooring.
|
|
254
233
|
<p class="since">Since 1.14</p>
|
255
234
|
</div>
|
256
235
|
<hr>
|
257
|
-
<div class="refsect2"
|
236
|
+
<div class="refsect2">
|
258
237
|
<a name="PANGO-PIXELS-CEIL:CAPS"></a><h3>PANGO_PIXELS_CEIL()</h3>
|
259
238
|
<pre class="programlisting">#define PANGO_PIXELS_CEIL(d) (((int)(d) + 1023) >> 10)
|
260
239
|
</pre>
|
@@ -279,7 +258,7 @@ Converts a dimension to device units by ceiling.
|
|
279
258
|
<p class="since">Since 1.14</p>
|
280
259
|
</div>
|
281
260
|
<hr>
|
282
|
-
<div class="refsect2"
|
261
|
+
<div class="refsect2">
|
283
262
|
<a name="PANGO-UNITS-ROUND:CAPS"></a><h3>PANGO_UNITS_ROUND()</h3>
|
284
263
|
<pre class="programlisting">#define PANGO_UNITS_ROUND(d)</pre>
|
285
264
|
<p>
|
@@ -304,18 +283,19 @@ convert it to device units.
|
|
304
283
|
<p class="since">Since 1.18</p>
|
305
284
|
</div>
|
306
285
|
<hr>
|
307
|
-
<div class="refsect2"
|
286
|
+
<div class="refsect2">
|
308
287
|
<a name="pango-units-to-double"></a><h3>pango_units_to_double ()</h3>
|
309
|
-
<pre class="programlisting"><span class="returnvalue">double</span> pango_units_to_double (<span class="
|
288
|
+
<pre class="programlisting"><span class="returnvalue">double</span> pango_units_to_double (<em class="parameter"><code><span class="type">int</span> i</code></em>);</pre>
|
310
289
|
<p>
|
311
290
|
Converts a number in Pango units to floating-point: divides
|
312
|
-
it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a
|
291
|
+
it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>.
|
292
|
+
</p>
|
313
293
|
<div class="variablelist"><table border="0">
|
314
294
|
<col align="left" valign="top">
|
315
295
|
<tbody>
|
316
296
|
<tr>
|
317
297
|
<td><p><span class="term"><em class="parameter"><code>i</code></em> :</span></p></td>
|
318
|
-
<td>
|
298
|
+
<td>value in Pango units
|
319
299
|
</td>
|
320
300
|
</tr>
|
321
301
|
<tr>
|
@@ -329,18 +309,19 @@ it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PA
|
|
329
309
|
<p class="since">Since 1.16</p>
|
330
310
|
</div>
|
331
311
|
<hr>
|
332
|
-
<div class="refsect2"
|
312
|
+
<div class="refsect2">
|
333
313
|
<a name="pango-units-from-double"></a><h3>pango_units_from_double ()</h3>
|
334
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_units_from_double (<span class="
|
314
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_units_from_double (<em class="parameter"><code><span class="type">double</span> d</code></em>);</pre>
|
335
315
|
<p>
|
336
316
|
Converts a floating-point number to Pango units: multiplies
|
337
|
-
it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> and rounds to nearest integer
|
317
|
+
it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> and rounds to nearest integer.
|
318
|
+
</p>
|
338
319
|
<div class="variablelist"><table border="0">
|
339
320
|
<col align="left" valign="top">
|
340
321
|
<tbody>
|
341
322
|
<tr>
|
342
323
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
343
|
-
<td>
|
324
|
+
<td>double floating-point value
|
344
325
|
</td>
|
345
326
|
</tr>
|
346
327
|
<tr>
|
@@ -354,17 +335,17 @@ it by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PA
|
|
354
335
|
<p class="since">Since 1.16</p>
|
355
336
|
</div>
|
356
337
|
<hr>
|
357
|
-
<div class="refsect2"
|
358
|
-
<a name="PangoRectangle"></a><h3>PangoRectangle</h3>
|
359
|
-
<pre class="programlisting">
|
338
|
+
<div class="refsect2">
|
339
|
+
<a name="PangoRectangle"></a><h3>struct PangoRectangle</h3>
|
340
|
+
<pre class="programlisting">struct PangoRectangle {
|
360
341
|
int x;
|
361
342
|
int y;
|
362
343
|
int width;
|
363
344
|
int height;
|
364
|
-
}
|
345
|
+
};
|
365
346
|
</pre>
|
366
347
|
<p>
|
367
|
-
The <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a> structure represents a rectangle. It is frequently
|
348
|
+
The <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> structure represents a rectangle. It is frequently
|
368
349
|
used to represent the logical or ink extents of a single glyph or section
|
369
350
|
of text. (See, for instance, <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()"><code class="function">pango_font_get_glyph_extents()</code></a>)
|
370
351
|
</p>
|
@@ -395,12 +376,12 @@ of text. (See, for instance, <a class="link" href="pango-Fonts.html#pango-font-g
|
|
395
376
|
</table></div>
|
396
377
|
</div>
|
397
378
|
<hr>
|
398
|
-
<div class="refsect2"
|
379
|
+
<div class="refsect2">
|
399
380
|
<a name="PANGO-ASCENT:CAPS"></a><h3>PANGO_ASCENT()</h3>
|
400
381
|
<pre class="programlisting">#define PANGO_ASCENT(rect) (-(rect).y)
|
401
382
|
</pre>
|
402
383
|
<p>
|
403
|
-
Extracts the <em class="firstterm">ascent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
384
|
+
Extracts the <em class="firstterm">ascent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
404
385
|
representing glyph extents. The ascent is the distance from the
|
405
386
|
baseline to the highest point of the character. This is positive if the
|
406
387
|
glyph ascends above the baseline.
|
@@ -409,18 +390,18 @@ glyph ascends above the baseline.
|
|
409
390
|
<col align="left" valign="top">
|
410
391
|
<tbody><tr>
|
411
392
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
412
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
393
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
413
394
|
</td>
|
414
395
|
</tr></tbody>
|
415
396
|
</table></div>
|
416
397
|
</div>
|
417
398
|
<hr>
|
418
|
-
<div class="refsect2"
|
399
|
+
<div class="refsect2">
|
419
400
|
<a name="PANGO-DESCENT:CAPS"></a><h3>PANGO_DESCENT()</h3>
|
420
401
|
<pre class="programlisting">#define PANGO_DESCENT(rect) ((rect).y + (rect).height)
|
421
402
|
</pre>
|
422
403
|
<p>
|
423
|
-
Extracts the <em class="firstterm">descent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
404
|
+
Extracts the <em class="firstterm">descent</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
424
405
|
representing glyph extents. The descent is the distance from the
|
425
406
|
baseline to the lowest point of the character. This is positive if the
|
426
407
|
glyph descends below the baseline.
|
@@ -429,18 +410,18 @@ glyph descends below the baseline.
|
|
429
410
|
<col align="left" valign="top">
|
430
411
|
<tbody><tr>
|
431
412
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
432
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
413
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
433
414
|
</td>
|
434
415
|
</tr></tbody>
|
435
416
|
</table></div>
|
436
417
|
</div>
|
437
418
|
<hr>
|
438
|
-
<div class="refsect2"
|
419
|
+
<div class="refsect2">
|
439
420
|
<a name="PANGO-LBEARING:CAPS"></a><h3>PANGO_LBEARING()</h3>
|
440
421
|
<pre class="programlisting">#define PANGO_LBEARING(rect) ((rect).x)
|
441
422
|
</pre>
|
442
423
|
<p>
|
443
|
-
Extracts the <em class="firstterm">left bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
424
|
+
Extracts the <em class="firstterm">left bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
444
425
|
representing glyph extents. The left bearing is the distance from the
|
445
426
|
horizontal origin to the farthest left point of the character.
|
446
427
|
This is positive for characters drawn completely to the right of the
|
@@ -450,18 +431,18 @@ glyph origin.
|
|
450
431
|
<col align="left" valign="top">
|
451
432
|
<tbody><tr>
|
452
433
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
453
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
434
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
454
435
|
</td>
|
455
436
|
</tr></tbody>
|
456
437
|
</table></div>
|
457
438
|
</div>
|
458
439
|
<hr>
|
459
|
-
<div class="refsect2"
|
440
|
+
<div class="refsect2">
|
460
441
|
<a name="PANGO-RBEARING:CAPS"></a><h3>PANGO_RBEARING()</h3>
|
461
442
|
<pre class="programlisting">#define PANGO_RBEARING(rect) ((rect).x + (rect).width)
|
462
443
|
</pre>
|
463
444
|
<p>
|
464
|
-
Extracts the <em class="firstterm">right bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
445
|
+
Extracts the <em class="firstterm">right bearing</em> from a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
465
446
|
representing glyph extents. The right bearing is the distance from the
|
466
447
|
horizontal origin to the farthest right point of the character.
|
467
448
|
This is positive except for characters drawn completely to the left of the
|
@@ -471,16 +452,16 @@ horizontal origin.
|
|
471
452
|
<col align="left" valign="top">
|
472
453
|
<tbody><tr>
|
473
454
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
474
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="type">PangoRectangle</span></a>
|
455
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a>
|
475
456
|
</td>
|
476
457
|
</tr></tbody>
|
477
458
|
</table></div>
|
478
459
|
</div>
|
479
460
|
<hr>
|
480
|
-
<div class="refsect2"
|
461
|
+
<div class="refsect2">
|
481
462
|
<a name="pango-extents-to-pixels"></a><h3>pango_extents_to_pixels ()</h3>
|
482
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_extents_to_pixels (<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
483
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
463
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_extents_to_pixels (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *inclusive</code></em>,
|
464
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *nearest</code></em>);</pre>
|
484
465
|
<p>
|
485
466
|
Converts extents from Pango units to device units, dividing by the
|
486
467
|
<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> factor and performing rounding.
|
@@ -499,18 +480,19 @@ The rule to which argument to use is: if you want the resulting device-space
|
|
499
480
|
rectangle to completely contain the original rectangle, pass it in as <em class="parameter"><code>inclusive</code></em>.
|
500
481
|
If you want two touching-but-not-overlapping rectangles stay
|
501
482
|
touching-but-not-overlapping after rounding to device units, pass them in
|
502
|
-
as <em class="parameter"><code>nearest</code></em
|
483
|
+
as <em class="parameter"><code>nearest</code></em>.
|
484
|
+
</p>
|
503
485
|
<div class="variablelist"><table border="0">
|
504
486
|
<col align="left" valign="top">
|
505
487
|
<tbody>
|
506
488
|
<tr>
|
507
489
|
<td><p><span class="term"><em class="parameter"><code>inclusive</code></em> :</span></p></td>
|
508
|
-
<td>
|
490
|
+
<td>rectangle to round to pixels inclusively, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
509
491
|
</td>
|
510
492
|
</tr>
|
511
493
|
<tr>
|
512
494
|
<td><p><span class="term"><em class="parameter"><code>nearest</code></em> :</span></p></td>
|
513
|
-
<td>
|
495
|
+
<td>rectangle to round to nearest pixels, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
514
496
|
</td>
|
515
497
|
</tr>
|
516
498
|
</tbody>
|
@@ -518,16 +500,16 @@ as <em class="parameter"><code>nearest</code></em>.</p>
|
|
518
500
|
<p class="since">Since 1.16</p>
|
519
501
|
</div>
|
520
502
|
<hr>
|
521
|
-
<div class="refsect2"
|
522
|
-
<a name="PangoMatrix"></a><h3>PangoMatrix</h3>
|
523
|
-
<pre class="programlisting">
|
503
|
+
<div class="refsect2">
|
504
|
+
<a name="PangoMatrix"></a><h3>struct PangoMatrix</h3>
|
505
|
+
<pre class="programlisting">struct PangoMatrix {
|
524
506
|
double xx;
|
525
507
|
double xy;
|
526
508
|
double yx;
|
527
509
|
double yy;
|
528
510
|
double x0;
|
529
511
|
double y0;
|
530
|
-
}
|
512
|
+
};
|
531
513
|
</pre>
|
532
514
|
<p>
|
533
515
|
A structure specifying a transformation between user-space
|
@@ -540,37 +522,39 @@ is given by
|
|
540
522
|
x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0;
|
541
523
|
y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
|
542
524
|
</pre>
|
525
|
+
<p>
|
526
|
+
</p>
|
543
527
|
<div class="variablelist"><table border="0">
|
544
528
|
<col align="left" valign="top">
|
545
529
|
<tbody>
|
546
530
|
<tr>
|
547
531
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.xx"></a>xx</code></em>;</span></p></td>
|
548
|
-
<td>
|
532
|
+
<td>1st component of the transformation matrix
|
549
533
|
</td>
|
550
534
|
</tr>
|
551
535
|
<tr>
|
552
536
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.xy"></a>xy</code></em>;</span></p></td>
|
553
|
-
<td>
|
537
|
+
<td>2nd component of the transformation matrix
|
554
538
|
</td>
|
555
539
|
</tr>
|
556
540
|
<tr>
|
557
541
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.yx"></a>yx</code></em>;</span></p></td>
|
558
|
-
<td>
|
542
|
+
<td>3rd component of the transformation matrix
|
559
543
|
</td>
|
560
544
|
</tr>
|
561
545
|
<tr>
|
562
546
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.yy"></a>yy</code></em>;</span></p></td>
|
563
|
-
<td>
|
547
|
+
<td>4th component of the transformation matrix
|
564
548
|
</td>
|
565
549
|
</tr>
|
566
550
|
<tr>
|
567
551
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.x0"></a>x0</code></em>;</span></p></td>
|
568
|
-
<td>
|
552
|
+
<td>x translation
|
569
553
|
</td>
|
570
554
|
</tr>
|
571
555
|
<tr>
|
572
556
|
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PangoMatrix.y0"></a>y0</code></em>;</span></p></td>
|
573
|
-
<td>
|
557
|
+
<td>y translation
|
574
558
|
</td>
|
575
559
|
</tr>
|
576
560
|
</tbody>
|
@@ -578,15 +562,16 @@ y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
|
|
578
562
|
<p class="since">Since 1.6</p>
|
579
563
|
</div>
|
580
564
|
<hr>
|
581
|
-
<div class="refsect2"
|
565
|
+
<div class="refsect2">
|
582
566
|
<a name="PANGO-TYPE-MATRIX:CAPS"></a><h3>PANGO_TYPE_MATRIX</h3>
|
583
567
|
<pre class="programlisting">#define PANGO_TYPE_MATRIX (pango_matrix_get_type ())
|
584
568
|
</pre>
|
585
569
|
<p>
|
586
|
-
The GObject type for <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a
|
570
|
+
The GObject type for <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
|
571
|
+
</p>
|
587
572
|
</div>
|
588
573
|
<hr>
|
589
|
-
<div class="refsect2"
|
574
|
+
<div class="refsect2">
|
590
575
|
<a name="PANGO-MATRIX-INIT:CAPS"></a><h3>PANGO_MATRIX_INIT</h3>
|
591
576
|
<pre class="programlisting">#define PANGO_MATRIX_INIT { 1., 0., 0., 1., 0., 0. }
|
592
577
|
</pre>
|
@@ -596,31 +581,43 @@ the identity transform.
|
|
596
581
|
</p>
|
597
582
|
<p>
|
598
583
|
</p>
|
599
|
-
<div class="informalexample"
|
600
|
-
|
601
|
-
|
602
|
-
|
584
|
+
<div class="informalexample">
|
585
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
586
|
+
<tbody>
|
587
|
+
<tr>
|
588
|
+
<td class="listing_lines" align="right"><pre>1
|
589
|
+
2</pre></td>
|
590
|
+
<td class="listing_code"><pre class="programlisting">PangoMatrix matrix = PANGO_MATRIX_INIT;
|
591
|
+
pango_matrix_rotate (&matrix, <span class="number">45.</span>);</pre></td>
|
592
|
+
</tr>
|
593
|
+
</tbody>
|
594
|
+
</table>
|
595
|
+
</div>
|
596
|
+
|
597
|
+
<p>
|
598
|
+
</p>
|
603
599
|
<p class="since">Since 1.6</p>
|
604
600
|
</div>
|
605
601
|
<hr>
|
606
|
-
<div class="refsect2"
|
602
|
+
<div class="refsect2">
|
607
603
|
<a name="pango-matrix-copy"></a><h3>pango_matrix_copy ()</h3>
|
608
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_matrix_copy (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
604
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_matrix_copy (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
609
605
|
<p>
|
610
|
-
Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a
|
606
|
+
Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>.
|
607
|
+
</p>
|
611
608
|
<div class="variablelist"><table border="0">
|
612
609
|
<col align="left" valign="top">
|
613
610
|
<tbody>
|
614
611
|
<tr>
|
615
612
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
616
|
-
<td>
|
613
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
617
614
|
</td>
|
618
615
|
</tr>
|
619
616
|
<tr>
|
620
617
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
621
|
-
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, which should
|
622
|
-
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-matrix-free" title="pango_matrix_free ()"><code class="function">pango_matrix_free()</code></a>, or <a href="/usr/share/gtk-doc/html/
|
623
|
-
<em class="parameter"><code>matrix</code></em> was <a href="/usr/share/gtk-doc/html/
|
618
|
+
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, which should
|
619
|
+
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-matrix-free" title="pango_matrix_free ()"><code class="function">pango_matrix_free()</code></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
|
620
|
+
<em class="parameter"><code>matrix</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
624
621
|
|
625
622
|
</td>
|
626
623
|
</tr>
|
@@ -629,47 +626,49 @@ Copies a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="Pang
|
|
629
626
|
<p class="since">Since 1.6</p>
|
630
627
|
</div>
|
631
628
|
<hr>
|
632
|
-
<div class="refsect2"
|
629
|
+
<div class="refsect2">
|
633
630
|
<a name="pango-matrix-free"></a><h3>pango_matrix_free ()</h3>
|
634
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_free (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
631
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
635
632
|
<p>
|
636
|
-
Free a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a> created with <a class="link" href="pango-Glyph-Storage.html#pango-matrix-copy" title="pango_matrix_copy ()"><code class="function">pango_matrix_copy()</code></a
|
633
|
+
Free a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> created with <a class="link" href="pango-Glyph-Storage.html#pango-matrix-copy" title="pango_matrix_copy ()"><code class="function">pango_matrix_copy()</code></a>.
|
634
|
+
</p>
|
637
635
|
<div class="variablelist"><table border="0">
|
638
636
|
<col align="left" valign="top">
|
639
637
|
<tbody><tr>
|
640
638
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
641
|
-
<td>
|
639
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
642
640
|
</td>
|
643
641
|
</tr></tbody>
|
644
642
|
</table></div>
|
645
643
|
<p class="since">Since 1.6</p>
|
646
644
|
</div>
|
647
645
|
<hr>
|
648
|
-
<div class="refsect2"
|
646
|
+
<div class="refsect2">
|
649
647
|
<a name="pango-matrix-translate"></a><h3>pango_matrix_translate ()</h3>
|
650
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_translate (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
651
|
-
<span class="
|
652
|
-
<span class="
|
648
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_translate (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
649
|
+
<em class="parameter"><code><span class="type">double</span> tx</code></em>,
|
650
|
+
<em class="parameter"><code><span class="type">double</span> ty</code></em>);</pre>
|
653
651
|
<p>
|
654
652
|
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
|
655
653
|
transformation given by first translating by (<em class="parameter"><code>tx</code></em>, <em class="parameter"><code>ty</code></em>)
|
656
|
-
then applying the original transformation
|
654
|
+
then applying the original transformation.
|
655
|
+
</p>
|
657
656
|
<div class="variablelist"><table border="0">
|
658
657
|
<col align="left" valign="top">
|
659
658
|
<tbody>
|
660
659
|
<tr>
|
661
660
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
662
|
-
<td>
|
661
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
|
663
662
|
</td>
|
664
663
|
</tr>
|
665
664
|
<tr>
|
666
665
|
<td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
|
667
|
-
<td>
|
666
|
+
<td>amount to translate in the X direction
|
668
667
|
</td>
|
669
668
|
</tr>
|
670
669
|
<tr>
|
671
670
|
<td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
|
672
|
-
<td>
|
671
|
+
<td>amount to translate in the Y direction
|
673
672
|
</td>
|
674
673
|
</tr>
|
675
674
|
</tbody>
|
@@ -677,32 +676,33 @@ then applying the original transformation.</p>
|
|
677
676
|
<p class="since">Since 1.6</p>
|
678
677
|
</div>
|
679
678
|
<hr>
|
680
|
-
<div class="refsect2"
|
679
|
+
<div class="refsect2">
|
681
680
|
<a name="pango-matrix-scale"></a><h3>pango_matrix_scale ()</h3>
|
682
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_scale (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
683
|
-
<span class="
|
684
|
-
<span class="
|
681
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_scale (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
682
|
+
<em class="parameter"><code><span class="type">double</span> scale_x</code></em>,
|
683
|
+
<em class="parameter"><code><span class="type">double</span> scale_y</code></em>);</pre>
|
685
684
|
<p>
|
686
685
|
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
|
687
686
|
transformation given by first scaling by <em class="parameter"><code>sx</code></em> in the X direction
|
688
687
|
and <em class="parameter"><code>sy</code></em> in the Y direction then applying the original
|
689
|
-
transformation
|
688
|
+
transformation.
|
689
|
+
</p>
|
690
690
|
<div class="variablelist"><table border="0">
|
691
691
|
<col align="left" valign="top">
|
692
692
|
<tbody>
|
693
693
|
<tr>
|
694
694
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
695
|
-
<td>
|
695
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
|
696
696
|
</td>
|
697
697
|
</tr>
|
698
698
|
<tr>
|
699
699
|
<td><p><span class="term"><em class="parameter"><code>scale_x</code></em> :</span></p></td>
|
700
|
-
<td>
|
700
|
+
<td>amount to scale by in X direction
|
701
701
|
</td>
|
702
702
|
</tr>
|
703
703
|
<tr>
|
704
704
|
<td><p><span class="term"><em class="parameter"><code>scale_y</code></em> :</span></p></td>
|
705
|
-
<td>
|
705
|
+
<td>amount to scale by in Y direction
|
706
706
|
</td>
|
707
707
|
</tr>
|
708
708
|
</tbody>
|
@@ -710,25 +710,26 @@ transformation.</p>
|
|
710
710
|
<p class="since">Since 1.6</p>
|
711
711
|
</div>
|
712
712
|
<hr>
|
713
|
-
<div class="refsect2"
|
713
|
+
<div class="refsect2">
|
714
714
|
<a name="pango-matrix-rotate"></a><h3>pango_matrix_rotate ()</h3>
|
715
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_rotate (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
716
|
-
<span class="
|
715
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_rotate (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
716
|
+
<em class="parameter"><code><span class="type">double</span> degrees</code></em>);</pre>
|
717
717
|
<p>
|
718
718
|
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
|
719
719
|
transformation given by first rotating by <em class="parameter"><code>degrees</code></em> degrees
|
720
|
-
counter-clockwise then applying the original transformation
|
720
|
+
counter-clockwise then applying the original transformation.
|
721
|
+
</p>
|
721
722
|
<div class="variablelist"><table border="0">
|
722
723
|
<col align="left" valign="top">
|
723
724
|
<tbody>
|
724
725
|
<tr>
|
725
726
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
726
|
-
<td>
|
727
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
|
727
728
|
</td>
|
728
729
|
</tr>
|
729
730
|
<tr>
|
730
731
|
<td><p><span class="term"><em class="parameter"><code>degrees</code></em> :</span></p></td>
|
731
|
-
<td>
|
732
|
+
<td>degrees to rotate counter-clockwise
|
732
733
|
</td>
|
733
734
|
</tr>
|
734
735
|
</tbody>
|
@@ -736,25 +737,26 @@ counter-clockwise then applying the original transformation.</p>
|
|
736
737
|
<p class="since">Since 1.6</p>
|
737
738
|
</div>
|
738
739
|
<hr>
|
739
|
-
<div class="refsect2"
|
740
|
+
<div class="refsect2">
|
740
741
|
<a name="pango-matrix-concat"></a><h3>pango_matrix_concat ()</h3>
|
741
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_concat (<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
742
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
742
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_concat (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
743
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *new_matrix</code></em>);</pre>
|
743
744
|
<p>
|
744
745
|
Changes the transformation represented by <em class="parameter"><code>matrix</code></em> to be the
|
745
746
|
transformation given by first applying transformation
|
746
|
-
given by <em class="parameter"><code>new_matrix</code></em> then applying the original transformation
|
747
|
+
given by <em class="parameter"><code>new_matrix</code></em> then applying the original transformation.
|
748
|
+
</p>
|
747
749
|
<div class="variablelist"><table border="0">
|
748
750
|
<col align="left" valign="top">
|
749
751
|
<tbody>
|
750
752
|
<tr>
|
751
753
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
752
|
-
<td>
|
754
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
|
753
755
|
</td>
|
754
756
|
</tr>
|
755
757
|
<tr>
|
756
758
|
<td><p><span class="term"><em class="parameter"><code>new_matrix</code></em> :</span></p></td>
|
757
|
-
<td>
|
759
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
|
758
760
|
</td>
|
759
761
|
</tr>
|
760
762
|
</tbody>
|
@@ -762,29 +764,30 @@ given by <em class="parameter"><code>new_matrix</code></em> then applying the or
|
|
762
764
|
<p class="since">Since 1.6</p>
|
763
765
|
</div>
|
764
766
|
<hr>
|
765
|
-
<div class="refsect2"
|
767
|
+
<div class="refsect2">
|
766
768
|
<a name="pango-matrix-transform-point"></a><h3>pango_matrix_transform_point ()</h3>
|
767
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_point (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
768
|
-
<span class="
|
769
|
-
<span class="
|
769
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_point (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
770
|
+
<em class="parameter"><code><span class="type">double</span> *x</code></em>,
|
771
|
+
<em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
|
770
772
|
<p>
|
771
|
-
Transforms the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) by <em class="parameter"><code>matrix</code></em
|
773
|
+
Transforms the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) by <em class="parameter"><code>matrix</code></em>.
|
774
|
+
</p>
|
772
775
|
<div class="variablelist"><table border="0">
|
773
776
|
<col align="left" valign="top">
|
774
777
|
<tbody>
|
775
778
|
<tr>
|
776
779
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
777
|
-
<td>
|
780
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
778
781
|
</td>
|
779
782
|
</tr>
|
780
783
|
<tr>
|
781
784
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
782
|
-
<td>
|
785
|
+
<td>in/out X position
|
783
786
|
</td>
|
784
787
|
</tr>
|
785
788
|
<tr>
|
786
789
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
787
|
-
<td>
|
790
|
+
<td>in/out Y position
|
788
791
|
</td>
|
789
792
|
</tr>
|
790
793
|
</tbody>
|
@@ -792,11 +795,11 @@ Transforms the point (<em class="parameter"><code>x</code></em>, <em class="para
|
|
792
795
|
<p class="since">Since 1.16</p>
|
793
796
|
</div>
|
794
797
|
<hr>
|
795
|
-
<div class="refsect2"
|
798
|
+
<div class="refsect2">
|
796
799
|
<a name="pango-matrix-transform-distance"></a><h3>pango_matrix_transform_distance ()</h3>
|
797
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_distance (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
798
|
-
<span class="
|
799
|
-
<span class="
|
800
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_distance (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
801
|
+
<em class="parameter"><code><span class="type">double</span> *dx</code></em>,
|
802
|
+
<em class="parameter"><code><span class="type">double</span> *dy</code></em>);</pre>
|
800
803
|
<p>
|
801
804
|
Transforms the distance vector (<em class="parameter"><code>dx</code></em>,<em class="parameter"><code>dy</code></em>) by <em class="parameter"><code>matrix</code></em>. This is
|
802
805
|
similar to <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-point" title="pango_matrix_transform_point ()"><code class="function">pango_matrix_transform_point()</code></a> except that the translation
|
@@ -815,23 +818,24 @@ dy2 = dx1 * yx + dy1 * yy;
|
|
815
818
|
Affine transformations are position invariant, so the same vector
|
816
819
|
always transforms to the same vector. If (<em class="parameter"><code>x1</code></em>,<em class="parameter"><code>y1</code></em>) transforms
|
817
820
|
to (<em class="parameter"><code>x2</code></em>,<em class="parameter"><code>y2</code></em>) then (<em class="parameter"><code>x1</code></em>+<em class="parameter"><code>dx1</code></em>,<em class="parameter"><code>y1</code></em>+<em class="parameter"><code>dy1</code></em>) will transform to
|
818
|
-
(<em class="parameter"><code>x1</code></em>+<em class="parameter"><code>dx2</code></em>,<em class="parameter"><code>y1</code></em>+<em class="parameter"><code>dy2</code></em>) for all values of <em class="parameter"><code>x1</code></em> and <em class="parameter"><code>x2</code></em
|
821
|
+
(<em class="parameter"><code>x1</code></em>+<em class="parameter"><code>dx2</code></em>,<em class="parameter"><code>y1</code></em>+<em class="parameter"><code>dy2</code></em>) for all values of <em class="parameter"><code>x1</code></em> and <em class="parameter"><code>x2</code></em>.
|
822
|
+
</p>
|
819
823
|
<div class="variablelist"><table border="0">
|
820
824
|
<col align="left" valign="top">
|
821
825
|
<tbody>
|
822
826
|
<tr>
|
823
827
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
824
|
-
<td>
|
828
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
825
829
|
</td>
|
826
830
|
</tr>
|
827
831
|
<tr>
|
828
832
|
<td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
|
829
|
-
<td>
|
833
|
+
<td>in/out X component of a distance vector
|
830
834
|
</td>
|
831
835
|
</tr>
|
832
836
|
<tr>
|
833
837
|
<td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
|
834
|
-
<td>
|
838
|
+
<td>yn/out Y component of a distance vector
|
835
839
|
</td>
|
836
840
|
</tr>
|
837
841
|
</tbody>
|
@@ -839,10 +843,10 @@ to (<em class="parameter"><code>x2</code></em>,<em class="parameter"><code>y2</c
|
|
839
843
|
<p class="since">Since 1.16</p>
|
840
844
|
</div>
|
841
845
|
<hr>
|
842
|
-
<div class="refsect2"
|
846
|
+
<div class="refsect2">
|
843
847
|
<a name="pango-matrix-transform-rectangle"></a><h3>pango_matrix_transform_rectangle ()</h3>
|
844
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_rectangle (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
845
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
848
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_rectangle (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
849
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);</pre>
|
846
850
|
<p>
|
847
851
|
First transforms <em class="parameter"><code>rect</code></em> using <em class="parameter"><code>matrix</code></em>, then calculates the bounding box
|
848
852
|
of the transformed rectangle. The rectangle should be in Pango units.
|
@@ -864,18 +868,19 @@ first argument, for an inclusive rounded rectangle.
|
|
864
868
|
However, there are valid reasons that you may want to convert
|
865
869
|
to pixels first and then transform, for example when the transformed
|
866
870
|
coordinates may overflow in Pango units (large matrix translation for
|
867
|
-
example)
|
871
|
+
example).
|
872
|
+
</p>
|
868
873
|
<div class="variablelist"><table border="0">
|
869
874
|
<col align="left" valign="top">
|
870
875
|
<tbody>
|
871
876
|
<tr>
|
872
877
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
873
|
-
<td>
|
878
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
874
879
|
</td>
|
875
880
|
</tr>
|
876
881
|
<tr>
|
877
882
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
878
|
-
<td>
|
883
|
+
<td>in/out bounding box in Pango units, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
879
884
|
</td>
|
880
885
|
</tr>
|
881
886
|
</tbody>
|
@@ -883,11 +888,11 @@ example).</p>
|
|
883
888
|
<p class="since">Since 1.16</p>
|
884
889
|
</div>
|
885
890
|
<hr>
|
886
|
-
<div class="refsect2"
|
891
|
+
<div class="refsect2">
|
887
892
|
<a name="pango-matrix-transform-pixel-rectangle"></a><h3>pango_matrix_transform_pixel_rectangle ()</h3>
|
888
893
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_matrix_transform_pixel_rectangle
|
889
|
-
(const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
890
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
894
|
+
(<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
895
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *rect</code></em>);</pre>
|
891
896
|
<p>
|
892
897
|
First transforms the <em class="parameter"><code>rect</code></em> using <em class="parameter"><code>matrix</code></em>, then calculates the bounding box
|
893
898
|
of the transformed rectangle. The rectangle should be in device units
|
@@ -901,18 +906,19 @@ should be and how much you should shift the layout when rendering.
|
|
901
906
|
<p>
|
902
907
|
For better accuracy, you should use <a class="link" href="pango-Glyph-Storage.html#pango-matrix-transform-rectangle" title="pango_matrix_transform_rectangle ()"><code class="function">pango_matrix_transform_rectangle()</code></a> on
|
903
908
|
original rectangle in Pango units and convert to pixels afterward
|
904
|
-
using <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a>'s first argument
|
909
|
+
using <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a>'s first argument.
|
910
|
+
</p>
|
905
911
|
<div class="variablelist"><table border="0">
|
906
912
|
<col align="left" valign="top">
|
907
913
|
<tbody>
|
908
914
|
<tr>
|
909
915
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
910
|
-
<td>
|
916
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
911
917
|
</td>
|
912
918
|
</tr>
|
913
919
|
<tr>
|
914
920
|
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
|
915
|
-
<td>
|
921
|
+
<td>in/out bounding box in device units, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
916
922
|
</td>
|
917
923
|
</tr>
|
918
924
|
</tbody>
|
@@ -920,25 +926,26 @@ using <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" ti
|
|
920
926
|
<p class="since">Since 1.16</p>
|
921
927
|
</div>
|
922
928
|
<hr>
|
923
|
-
<div class="refsect2"
|
929
|
+
<div class="refsect2">
|
924
930
|
<a name="pango-matrix-get-font-scale-factor"></a><h3>pango_matrix_get_font_scale_factor ()</h3>
|
925
|
-
<pre class="programlisting"><span class="returnvalue">double</span> pango_matrix_get_font_scale_factor (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
931
|
+
<pre class="programlisting"><span class="returnvalue">double</span> pango_matrix_get_font_scale_factor (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
926
932
|
<p>
|
927
933
|
Returns the scale factor of a matrix on the height of the font.
|
928
934
|
That is, the scale factor in the direction perpendicular to the
|
929
|
-
vector that the X coordinate is mapped to
|
935
|
+
vector that the X coordinate is mapped to.
|
936
|
+
</p>
|
930
937
|
<div class="variablelist"><table border="0">
|
931
938
|
<col align="left" valign="top">
|
932
939
|
<tbody>
|
933
940
|
<tr>
|
934
941
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
935
|
-
<td>
|
942
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
936
943
|
</td>
|
937
944
|
</tr>
|
938
945
|
<tr>
|
939
946
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
940
947
|
<td> the scale factor of <em class="parameter"><code>matrix</code></em> on the height of the font,
|
941
|
-
or 1.0 if <em class="parameter"><code>matrix</code></em> is <a href="/usr/share/gtk-doc/html/
|
948
|
+
or 1.0 if <em class="parameter"><code>matrix</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
942
949
|
|
943
950
|
</td>
|
944
951
|
</tr>
|
@@ -947,7 +954,7 @@ or 1.0 if <em class="parameter"><code>matrix</code></em> is <a href="/usr/share/
|
|
947
954
|
<p class="since">Since 1.12</p>
|
948
955
|
</div>
|
949
956
|
<hr>
|
950
|
-
<div class="refsect2"
|
957
|
+
<div class="refsect2">
|
951
958
|
<a name="PangoGlyph"></a><h3>PangoGlyph</h3>
|
952
959
|
<pre class="programlisting">typedef guint32 PangoGlyph;
|
953
960
|
</pre>
|
@@ -956,7 +963,7 @@ A <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph">
|
|
956
963
|
</p>
|
957
964
|
</div>
|
958
965
|
<hr>
|
959
|
-
<div class="refsect2"
|
966
|
+
<div class="refsect2">
|
960
967
|
<a name="PANGO-GLYPH-EMPTY:CAPS"></a><h3>PANGO_GLYPH_EMPTY</h3>
|
961
968
|
<pre class="programlisting">#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)
|
962
969
|
</pre>
|
@@ -968,7 +975,7 @@ Unicode characters (those passing <a class="link" href="pango-Miscellaneous-Util
|
|
968
975
|
</p>
|
969
976
|
</div>
|
970
977
|
<hr>
|
971
|
-
<div class="refsect2"
|
978
|
+
<div class="refsect2">
|
972
979
|
<a name="PANGO-GLYPH-INVALID-INPUT:CAPS"></a><h3>PANGO_GLYPH_INVALID_INPUT</h3>
|
973
980
|
<pre class="programlisting">#define PANGO_GLYPH_INVALID_INPUT ((PangoGlyph)0xFFFFFFFF)
|
974
981
|
</pre>
|
@@ -983,18 +990,18 @@ on.
|
|
983
990
|
<p class="since">Since 1.20</p>
|
984
991
|
</div>
|
985
992
|
<hr>
|
986
|
-
<div class="refsect2"
|
993
|
+
<div class="refsect2">
|
987
994
|
<a name="PANGO-GLYPH-UNKNOWN-FLAG:CAPS"></a><h3>PANGO_GLYPH_UNKNOWN_FLAG</h3>
|
988
995
|
<pre class="programlisting">#define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000)
|
989
996
|
</pre>
|
990
997
|
<p>
|
991
998
|
The <a class="link" href="pango-Glyph-Storage.html#PANGO-GLYPH-UNKNOWN-FLAG:CAPS" title="PANGO_GLYPH_UNKNOWN_FLAG"><code class="literal">PANGO_GLYPH_UNKNOWN_FLAG</code></a> macro is a flag value that can be added to
|
992
|
-
a <
|
993
|
-
value, representing an unknown-character glyph for the respective <
|
999
|
+
a <span class="type">gunichar</span> value of a valid Unicode character, to produce a <a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a>
|
1000
|
+
value, representing an unknown-character glyph for the respective <span class="type">gunichar</span>.
|
994
1001
|
</p>
|
995
1002
|
</div>
|
996
1003
|
<hr>
|
997
|
-
<div class="refsect2"
|
1004
|
+
<div class="refsect2">
|
998
1005
|
<a name="PANGO-GET-UNKNOWN-GLYPH:CAPS"></a><h3>PANGO_GET_UNKNOWN_GLYPH()</h3>
|
999
1006
|
<pre class="programlisting">#define PANGO_GET_UNKNOWN_GLYPH(wc) ((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)
|
1000
1007
|
</pre>
|
@@ -1014,16 +1021,16 @@ is what is done in the most common backends.
|
|
1014
1021
|
</table></div>
|
1015
1022
|
</div>
|
1016
1023
|
<hr>
|
1017
|
-
<div class="refsect2"
|
1018
|
-
<a name="PangoGlyphInfo"></a><h3>PangoGlyphInfo</h3>
|
1019
|
-
<pre class="programlisting">
|
1024
|
+
<div class="refsect2">
|
1025
|
+
<a name="PangoGlyphInfo"></a><h3>struct PangoGlyphInfo</h3>
|
1026
|
+
<pre class="programlisting">struct PangoGlyphInfo {
|
1020
1027
|
PangoGlyph glyph;
|
1021
1028
|
PangoGlyphGeometry geometry;
|
1022
1029
|
PangoGlyphVisAttr attr;
|
1023
|
-
}
|
1030
|
+
};
|
1024
1031
|
</pre>
|
1025
1032
|
<p>
|
1026
|
-
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structure represents a single glyph together with
|
1033
|
+
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structure represents a single glyph together with
|
1027
1034
|
positioning information and visual attributes.
|
1028
1035
|
It contains the following fields.
|
1029
1036
|
</p>
|
@@ -1036,12 +1043,12 @@ It contains the following fields.
|
|
1036
1043
|
</td>
|
1037
1044
|
</tr>
|
1038
1045
|
<tr>
|
1039
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.geometry"></a>geometry</code></em>;</span></p></td>
|
1046
|
+
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="struct PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.geometry"></a>geometry</code></em>;</span></p></td>
|
1040
1047
|
<td>the positional information about the glyph.
|
1041
1048
|
</td>
|
1042
1049
|
</tr>
|
1043
1050
|
<tr>
|
1044
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphVisAttr" title="PangoGlyphVisAttr"><span class="type">PangoGlyphVisAttr</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.attr"></a>attr</code></em>;</span></p></td>
|
1051
|
+
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphVisAttr" title="struct PangoGlyphVisAttr"><span class="type">PangoGlyphVisAttr</span></a> <em class="structfield"><code><a name="PangoGlyphInfo.attr"></a>attr</code></em>;</span></p></td>
|
1045
1052
|
<td>the visual attributes of the glyph.
|
1046
1053
|
</td>
|
1047
1054
|
</tr>
|
@@ -1049,16 +1056,16 @@ It contains the following fields.
|
|
1049
1056
|
</table></div>
|
1050
1057
|
</div>
|
1051
1058
|
<hr>
|
1052
|
-
<div class="refsect2"
|
1053
|
-
<a name="PangoGlyphGeometry"></a><h3>PangoGlyphGeometry</h3>
|
1054
|
-
<pre class="programlisting">
|
1059
|
+
<div class="refsect2">
|
1060
|
+
<a name="PangoGlyphGeometry"></a><h3>struct PangoGlyphGeometry</h3>
|
1061
|
+
<pre class="programlisting">struct PangoGlyphGeometry {
|
1055
1062
|
PangoGlyphUnit width;
|
1056
1063
|
PangoGlyphUnit x_offset;
|
1057
1064
|
PangoGlyphUnit y_offset;
|
1058
|
-
}
|
1065
|
+
};
|
1059
1066
|
</pre>
|
1060
1067
|
<p>
|
1061
|
-
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> structure contains width and positioning
|
1068
|
+
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphGeometry" title="struct PangoGlyphGeometry"><span class="type">PangoGlyphGeometry</span></a> structure contains width and positioning
|
1062
1069
|
information for a single glyph.
|
1063
1070
|
</p>
|
1064
1071
|
<div class="variablelist"><table border="0">
|
@@ -1083,7 +1090,7 @@ information for a single glyph.
|
|
1083
1090
|
</table></div>
|
1084
1091
|
</div>
|
1085
1092
|
<hr>
|
1086
|
-
<div class="refsect2"
|
1093
|
+
<div class="refsect2">
|
1087
1094
|
<a name="PangoGlyphUnit"></a><h3>PangoGlyphUnit</h3>
|
1088
1095
|
<pre class="programlisting">typedef gint32 PangoGlyphUnit;
|
1089
1096
|
</pre>
|
@@ -1098,11 +1105,11 @@ to convert from glyph units into device units with correct rounding.
|
|
1098
1105
|
</p>
|
1099
1106
|
</div>
|
1100
1107
|
<hr>
|
1101
|
-
<div class="refsect2"
|
1102
|
-
<a name="PangoGlyphVisAttr"></a><h3>PangoGlyphVisAttr</h3>
|
1103
|
-
<pre class="programlisting">
|
1108
|
+
<div class="refsect2">
|
1109
|
+
<a name="PangoGlyphVisAttr"></a><h3>struct PangoGlyphVisAttr</h3>
|
1110
|
+
<pre class="programlisting">struct PangoGlyphVisAttr {
|
1104
1111
|
guint is_cluster_start : 1;
|
1105
|
-
}
|
1112
|
+
};
|
1106
1113
|
</pre>
|
1107
1114
|
<p>
|
1108
1115
|
The PangoGlyphVisAttr is used to communicate information between
|
@@ -1112,7 +1119,7 @@ added in the future.
|
|
1112
1119
|
<div class="variablelist"><table border="0">
|
1113
1120
|
<col align="left" valign="top">
|
1114
1121
|
<tbody><tr>
|
1115
|
-
<td><p><span class="term"><
|
1122
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PangoGlyphVisAttr.is-cluster-start"></a>is_cluster_start</code></em> : 1;</span></p></td>
|
1116
1123
|
<td>set for the first logical glyph in each cluster. (Clusters
|
1117
1124
|
are stored in visual order, within the cluster, glyphs
|
1118
1125
|
are always ordered in logical order, since visual
|
@@ -1123,9 +1130,9 @@ added in the future.
|
|
1123
1130
|
</table></div>
|
1124
1131
|
</div>
|
1125
1132
|
<hr>
|
1126
|
-
<div class="refsect2"
|
1127
|
-
<a name="PangoGlyphString"></a><h3>PangoGlyphString</h3>
|
1128
|
-
<pre class="programlisting">
|
1133
|
+
<div class="refsect2">
|
1134
|
+
<a name="PangoGlyphString"></a><h3>struct PangoGlyphString</h3>
|
1135
|
+
<pre class="programlisting">struct PangoGlyphString {
|
1129
1136
|
gint num_glyphs;
|
1130
1137
|
|
1131
1138
|
PangoGlyphInfo *glyphs;
|
@@ -1136,10 +1143,10 @@ added in the future.
|
|
1136
1143
|
* which the glyph belongs.
|
1137
1144
|
*/
|
1138
1145
|
gint *log_clusters;
|
1139
|
-
}
|
1146
|
+
};
|
1140
1147
|
</pre>
|
1141
1148
|
<p>
|
1142
|
-
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> structure is used to store strings
|
1149
|
+
The <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> structure is used to store strings
|
1143
1150
|
of glyphs with geometry and visual attribute information.
|
1144
1151
|
The storage for the glyph information is owned
|
1145
1152
|
by the structure which simplifies memory management.
|
@@ -1148,17 +1155,17 @@ by the structure which simplifies memory management.
|
|
1148
1155
|
<col align="left" valign="top">
|
1149
1156
|
<tbody>
|
1150
1157
|
<tr>
|
1151
|
-
<td><p><span class="term"><
|
1158
|
+
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="PangoGlyphString.num-glyphs"></a>num_glyphs</code></em>;</span></p></td>
|
1152
1159
|
<td>the number of glyphs in the string.
|
1153
1160
|
</td>
|
1154
1161
|
</tr>
|
1155
1162
|
<tr>
|
1156
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> *<em class="structfield"><code><a name="PangoGlyphString.glyphs"></a>glyphs</code></em>;</span></p></td>
|
1157
|
-
<td>an array of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structures of length <em class="structfield"><code>num_glyphs</code></em>.
|
1163
|
+
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> *<em class="structfield"><code><a name="PangoGlyphString.glyphs"></a>glyphs</code></em>;</span></p></td>
|
1164
|
+
<td>an array of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphInfo" title="struct PangoGlyphInfo"><span class="type">PangoGlyphInfo</span></a> structures of length <em class="structfield"><code>num_glyphs</code></em>.
|
1158
1165
|
</td>
|
1159
1166
|
</tr>
|
1160
1167
|
<tr>
|
1161
|
-
<td><p><span class="term"><
|
1168
|
+
<td><p><span class="term"><span class="type">gint</span> *<em class="structfield"><code><a name="PangoGlyphString.log-clusters"></a>log_clusters</code></em>;</span></p></td>
|
1162
1169
|
<td>for each glyph, byte index of the starting character for the
|
1163
1170
|
cluster. The indices are relative to the start of the text
|
1164
1171
|
corresponding to the PangoGlyphString.
|
@@ -1168,31 +1175,31 @@ corresponding to the PangoGlyphString.
|
|
1168
1175
|
</table></div>
|
1169
1176
|
</div>
|
1170
1177
|
<hr>
|
1171
|
-
<div class="refsect2"
|
1172
|
-
<a name="PangoGlyphItem"></a><h3>PangoGlyphItem</h3>
|
1173
|
-
<pre class="programlisting">
|
1178
|
+
<div class="refsect2">
|
1179
|
+
<a name="PangoGlyphItem"></a><h3>struct PangoGlyphItem</h3>
|
1180
|
+
<pre class="programlisting">struct PangoGlyphItem {
|
1174
1181
|
PangoItem *item;
|
1175
1182
|
PangoGlyphString *glyphs;
|
1176
|
-
}
|
1183
|
+
};
|
1177
1184
|
</pre>
|
1178
1185
|
<p>
|
1179
|
-
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> is a pair of a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> and the glyphs
|
1186
|
+
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> is a pair of a <a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a> and the glyphs
|
1180
1187
|
resulting from shaping the text corresponding to an item.
|
1181
|
-
As an example of the usage of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, the results
|
1182
|
-
of shaping text with <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is a list of <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>,
|
1183
|
-
each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
|
1188
|
+
As an example of the usage of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, the results
|
1189
|
+
of shaping text with <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is a list of <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>,
|
1190
|
+
each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
|
1184
1191
|
</p>
|
1185
1192
|
<div class="variablelist"><table border="0">
|
1186
1193
|
<col align="left" valign="top">
|
1187
1194
|
<tbody>
|
1188
1195
|
<tr>
|
1189
|
-
<td><p><span class="term"><a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> *<em class="structfield"><code><a name="PangoGlyphItem.item"></a>item</code></em>;</span></p></td>
|
1190
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a> structure that provides information
|
1196
|
+
<td><p><span class="term"><a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a> *<em class="structfield"><code><a name="PangoGlyphItem.item"></a>item</code></em>;</span></p></td>
|
1197
|
+
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a> structure that provides information
|
1191
1198
|
about a segment of text.
|
1192
1199
|
</td>
|
1193
1200
|
</tr>
|
1194
1201
|
<tr>
|
1195
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> *<em class="structfield"><code><a name="PangoGlyphItem.glyphs"></a>glyphs</code></em>;</span></p></td>
|
1202
|
+
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *<em class="structfield"><code><a name="PangoGlyphItem.glyphs"></a>glyphs</code></em>;</span></p></td>
|
1196
1203
|
<td>the glyphs obtained by shaping the text
|
1197
1204
|
corresponding to <em class="parameter"><code>item</code></em>.
|
1198
1205
|
</td>
|
@@ -1201,9 +1208,9 @@ each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#
|
|
1201
1208
|
</table></div>
|
1202
1209
|
</div>
|
1203
1210
|
<hr>
|
1204
|
-
<div class="refsect2"
|
1205
|
-
<a name="PangoGlyphItemIter"></a><h3>PangoGlyphItemIter</h3>
|
1206
|
-
<pre class="programlisting">
|
1211
|
+
<div class="refsect2">
|
1212
|
+
<a name="PangoGlyphItemIter"></a><h3>struct PangoGlyphItemIter</h3>
|
1213
|
+
<pre class="programlisting">struct PangoGlyphItemIter {
|
1207
1214
|
PangoGlyphItem *glyph_item;
|
1208
1215
|
const gchar *text;
|
1209
1216
|
|
@@ -1214,11 +1221,11 @@ each of which contains a list of <a class="link" href="pango-Glyph-Storage.html#
|
|
1214
1221
|
int end_glyph;
|
1215
1222
|
int end_index;
|
1216
1223
|
int end_char;
|
1217
|
-
}
|
1224
|
+
};
|
1218
1225
|
</pre>
|
1219
1226
|
<p>
|
1220
|
-
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> is an iterator over the clusters in a
|
1221
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>. The <em class="firstterm">forward direction</em> of the
|
1227
|
+
A <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> is an iterator over the clusters in a
|
1228
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>. The <em class="firstterm">forward direction</em> of the
|
1222
1229
|
iterator is the logical direction of text. That is, with increasing
|
1223
1230
|
<em class="parameter"><code>start_index</code></em> and <em class="parameter"><code>start_char</code></em> values. If <em class="parameter"><code>glyph_item</code></em> is right-to-left
|
1224
1231
|
(that is, if <code class="literal"><em class="parameter"><code>glyph_item->item->analysis.level</code></em></code> is odd),
|
@@ -1251,18 +1258,18 @@ index into <em class="parameter"><code>text</code></em>. The <em class="paramet
|
|
1251
1258
|
values however are zero-based for the <em class="parameter"><code>glyph_item</code></em>. For each cluster, the
|
1252
1259
|
item pointed at by the start variables is included in the cluster while
|
1253
1260
|
the one pointed at by end variables is not.
|
1254
|
-
None of the members of a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> should be modified manually.
|
1261
|
+
None of the members of a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> should be modified manually.
|
1255
1262
|
</p>
|
1256
1263
|
<div class="variablelist"><table border="0">
|
1257
1264
|
<col align="left" valign="top">
|
1258
1265
|
<tbody>
|
1259
1266
|
<tr>
|
1260
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *<em class="structfield"><code><a name="PangoGlyphItemIter.glyph-item"></a>glyph_item</code></em>;</span></p></td>
|
1261
|
-
<td>the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> this iterator iterates over
|
1267
|
+
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *<em class="structfield"><code><a name="PangoGlyphItemIter.glyph-item"></a>glyph_item</code></em>;</span></p></td>
|
1268
|
+
<td>the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> this iterator iterates over
|
1262
1269
|
</td>
|
1263
1270
|
</tr>
|
1264
1271
|
<tr>
|
1265
|
-
<td><p><span class="term">const <
|
1272
|
+
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="PangoGlyphItemIter.text"></a>text</code></em>;</span></p></td>
|
1266
1273
|
<td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em> refers to
|
1267
1274
|
</td>
|
1268
1275
|
</tr>
|
@@ -1301,199 +1308,206 @@ None of the members of a <a class="link" href="pango-Glyph-Storage.html#PangoGly
|
|
1301
1308
|
<p class="since">Since 1.22</p>
|
1302
1309
|
</div>
|
1303
1310
|
<hr>
|
1304
|
-
<div class="refsect2"
|
1311
|
+
<div class="refsect2">
|
1305
1312
|
<a name="PANGO-TYPE-GLYPH-STRING:CAPS"></a><h3>PANGO_TYPE_GLYPH_STRING</h3>
|
1306
1313
|
<pre class="programlisting">#define PANGO_TYPE_GLYPH_STRING (pango_glyph_string_get_type ())
|
1307
1314
|
</pre>
|
1308
1315
|
<p>
|
1309
|
-
The <
|
1316
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
|
1310
1317
|
</p>
|
1311
1318
|
</div>
|
1312
1319
|
<hr>
|
1313
|
-
<div class="refsect2"
|
1320
|
+
<div class="refsect2">
|
1314
1321
|
<a name="pango-glyph-string-new"></a><h3>pango_glyph_string_new ()</h3>
|
1315
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * pango_glyph_string_new (void);</pre>
|
1322
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * pango_glyph_string_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1316
1323
|
<p>
|
1317
|
-
Create a new <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a
|
1324
|
+
Create a new <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
|
1325
|
+
</p>
|
1318
1326
|
<div class="variablelist"><table border="0">
|
1319
1327
|
<col align="left" valign="top">
|
1320
1328
|
<tbody><tr>
|
1321
1329
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1322
|
-
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
|
1330
|
+
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
|
1323
1331
|
should be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()"><code class="function">pango_glyph_string_free()</code></a>.
|
1324
1332
|
</td>
|
1325
1333
|
</tr></tbody>
|
1326
1334
|
</table></div>
|
1327
1335
|
</div>
|
1328
1336
|
<hr>
|
1329
|
-
<div class="refsect2"
|
1337
|
+
<div class="refsect2">
|
1330
1338
|
<a name="pango-glyph-string-copy"></a><h3>pango_glyph_string_copy ()</h3>
|
1331
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * pango_glyph_string_copy (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1339
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="returnvalue">PangoGlyphString</span></a> * pango_glyph_string_copy (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
|
1332
1340
|
<p>
|
1333
|
-
Copy a glyph string and associated storage
|
1341
|
+
Copy a glyph string and associated storage.
|
1342
|
+
</p>
|
1334
1343
|
<div class="variablelist"><table border="0">
|
1335
1344
|
<col align="left" valign="top">
|
1336
1345
|
<tbody>
|
1337
1346
|
<tr>
|
1338
1347
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1339
|
-
<td>
|
1348
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1340
1349
|
</td>
|
1341
1350
|
</tr>
|
1342
1351
|
<tr>
|
1343
1352
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1344
|
-
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
|
1353
|
+
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, which
|
1345
1354
|
should be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-free" title="pango_glyph_string_free ()"><code class="function">pango_glyph_string_free()</code></a>,
|
1346
|
-
or <a href="/usr/share/gtk-doc/html/
|
1355
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>string</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1347
1356
|
</td>
|
1348
1357
|
</tr>
|
1349
1358
|
</tbody>
|
1350
1359
|
</table></div>
|
1351
1360
|
</div>
|
1352
1361
|
<hr>
|
1353
|
-
<div class="refsect2"
|
1362
|
+
<div class="refsect2">
|
1354
1363
|
<a name="pango-glyph-string-set-size"></a><h3>pango_glyph_string_set_size ()</h3>
|
1355
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_set_size (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1356
|
-
<
|
1364
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_set_size (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>,
|
1365
|
+
<em class="parameter"><code><span class="type">gint</span> new_len</code></em>);</pre>
|
1357
1366
|
<p>
|
1358
|
-
Resize a glyph string to the given length
|
1367
|
+
Resize a glyph string to the given length.
|
1368
|
+
</p>
|
1359
1369
|
<div class="variablelist"><table border="0">
|
1360
1370
|
<col align="left" valign="top">
|
1361
1371
|
<tbody>
|
1362
1372
|
<tr>
|
1363
1373
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1364
|
-
<td>
|
1374
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>.
|
1365
1375
|
</td>
|
1366
1376
|
</tr>
|
1367
1377
|
<tr>
|
1368
1378
|
<td><p><span class="term"><em class="parameter"><code>new_len</code></em> :</span></p></td>
|
1369
|
-
<td>
|
1379
|
+
<td>the new length of the string.
|
1370
1380
|
</td>
|
1371
1381
|
</tr>
|
1372
1382
|
</tbody>
|
1373
1383
|
</table></div>
|
1374
1384
|
</div>
|
1375
1385
|
<hr>
|
1376
|
-
<div class="refsect2"
|
1386
|
+
<div class="refsect2">
|
1377
1387
|
<a name="pango-glyph-string-free"></a><h3>pango_glyph_string_free ()</h3>
|
1378
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_free (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1388
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *string</code></em>);</pre>
|
1379
1389
|
<p>
|
1380
|
-
Free a glyph string and associated storage
|
1390
|
+
Free a glyph string and associated storage.
|
1391
|
+
</p>
|
1381
1392
|
<div class="variablelist"><table border="0">
|
1382
1393
|
<col align="left" valign="top">
|
1383
1394
|
<tbody><tr>
|
1384
1395
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1385
|
-
<td>
|
1396
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1386
1397
|
</td>
|
1387
1398
|
</tr></tbody>
|
1388
1399
|
</table></div>
|
1389
1400
|
</div>
|
1390
1401
|
<hr>
|
1391
|
-
<div class="refsect2"
|
1402
|
+
<div class="refsect2">
|
1392
1403
|
<a name="pango-glyph-string-extents"></a><h3>pango_glyph_string_extents ()</h3>
|
1393
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1394
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
1395
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1396
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1404
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1405
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1406
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
1407
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
|
1397
1408
|
<p>
|
1398
1409
|
Compute the logical and ink extents of a glyph string. See the documentation
|
1399
1410
|
for <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()"><code class="function">pango_font_get_glyph_extents()</code></a> for details about the interpretation
|
1400
|
-
of the rectangles
|
1411
|
+
of the rectangles.
|
1412
|
+
</p>
|
1401
1413
|
<div class="variablelist"><table border="0">
|
1402
1414
|
<col align="left" valign="top">
|
1403
1415
|
<tbody>
|
1404
1416
|
<tr>
|
1405
1417
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1406
|
-
<td>
|
1418
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1407
1419
|
</td>
|
1408
1420
|
</tr>
|
1409
1421
|
<tr>
|
1410
1422
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1411
|
-
<td>
|
1423
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
1412
1424
|
</td>
|
1413
1425
|
</tr>
|
1414
1426
|
<tr>
|
1415
1427
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1416
|
-
<td>
|
1417
|
-
or <a href="/usr/share/gtk-doc/html/
|
1428
|
+
<td>rectangle used to store the extents of the glyph string as drawn
|
1429
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
|
1418
1430
|
</td>
|
1419
1431
|
</tr>
|
1420
1432
|
<tr>
|
1421
1433
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1422
|
-
<td>
|
1423
|
-
or <a href="/usr/share/gtk-doc/html/
|
1434
|
+
<td>rectangle used to store the logical extents of the glyph string
|
1435
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
|
1424
1436
|
</td>
|
1425
1437
|
</tr>
|
1426
1438
|
</tbody>
|
1427
1439
|
</table></div>
|
1428
1440
|
</div>
|
1429
1441
|
<hr>
|
1430
|
-
<div class="refsect2"
|
1442
|
+
<div class="refsect2">
|
1431
1443
|
<a name="pango-glyph-string-extents-range"></a><h3>pango_glyph_string_extents_range ()</h3>
|
1432
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents_range (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1433
|
-
<span class="
|
1434
|
-
<span class="
|
1435
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
1436
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1437
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="PangoRectangle"><span class="
|
1444
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_extents_range (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1445
|
+
<em class="parameter"><code><span class="type">int</span> start</code></em>,
|
1446
|
+
<em class="parameter"><code><span class="type">int</span> end</code></em>,
|
1447
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1448
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
1449
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
|
1438
1450
|
<p>
|
1439
1451
|
Computes the extents of a sub-portion of a glyph string. The extents are
|
1440
1452
|
relative to the start of the glyph string range (the origin of their
|
1441
1453
|
coordinate system is at the start of the range, not at the start of the entire
|
1442
|
-
glyph string)
|
1454
|
+
glyph string).
|
1455
|
+
</p>
|
1443
1456
|
<div class="variablelist"><table border="0">
|
1444
1457
|
<col align="left" valign="top">
|
1445
1458
|
<tbody>
|
1446
1459
|
<tr>
|
1447
1460
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1448
|
-
<td>
|
1461
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1449
1462
|
</td>
|
1450
1463
|
</tr>
|
1451
1464
|
<tr>
|
1452
1465
|
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
1453
|
-
<td>
|
1466
|
+
<td>start index
|
1454
1467
|
</td>
|
1455
1468
|
</tr>
|
1456
1469
|
<tr>
|
1457
1470
|
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
1458
|
-
<td>
|
1471
|
+
<td>end index (the range is the set of bytes with
|
1459
1472
|
indices such that start <= index < end)
|
1460
1473
|
</td>
|
1461
1474
|
</tr>
|
1462
1475
|
<tr>
|
1463
1476
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
1464
|
-
<td>
|
1477
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
1465
1478
|
</td>
|
1466
1479
|
</tr>
|
1467
1480
|
<tr>
|
1468
1481
|
<td><p><span class="term"><em class="parameter"><code>ink_rect</code></em> :</span></p></td>
|
1469
|
-
<td>
|
1470
|
-
or <a href="/usr/share/gtk-doc/html/
|
1482
|
+
<td>rectangle used to store the extents of the glyph string range as drawn
|
1483
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
|
1471
1484
|
</td>
|
1472
1485
|
</tr>
|
1473
1486
|
<tr>
|
1474
1487
|
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
|
1475
|
-
<td>
|
1476
|
-
or <a href="/usr/share/gtk-doc/html/
|
1488
|
+
<td>rectangle used to store the logical extents of the glyph string range
|
1489
|
+
or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to indicate that the result is not needed.
|
1477
1490
|
</td>
|
1478
1491
|
</tr>
|
1479
1492
|
</tbody>
|
1480
1493
|
</table></div>
|
1481
1494
|
</div>
|
1482
1495
|
<hr>
|
1483
|
-
<div class="refsect2"
|
1496
|
+
<div class="refsect2">
|
1484
1497
|
<a name="pango-glyph-string-get-width"></a><h3>pango_glyph_string_get_width ()</h3>
|
1485
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_glyph_string_get_width (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1498
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_glyph_string_get_width (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1486
1499
|
<p>
|
1487
1500
|
Computes the logical width of the glyph string as can also be computed
|
1488
1501
|
using <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-extents" title="pango_glyph_string_extents ()"><code class="function">pango_glyph_string_extents()</code></a>. However, since this only computes the
|
1489
1502
|
width, it's much faster. This is in fact only a convenience function that
|
1490
|
-
computes the sum of geometry.width for each glyph in the <em class="parameter"><code>glyphs</code></em
|
1503
|
+
computes the sum of geometry.width for each glyph in the <em class="parameter"><code>glyphs</code></em>.
|
1504
|
+
</p>
|
1491
1505
|
<div class="variablelist"><table border="0">
|
1492
1506
|
<col align="left" valign="top">
|
1493
1507
|
<tbody>
|
1494
1508
|
<tr>
|
1495
1509
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1496
|
-
<td>
|
1510
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1497
1511
|
</td>
|
1498
1512
|
</tr>
|
1499
1513
|
<tr>
|
@@ -1507,114 +1521,116 @@ computes the sum of geometry.width for each glyph in the <em class="parameter"><
|
|
1507
1521
|
<p class="since">Since 1.14</p>
|
1508
1522
|
</div>
|
1509
1523
|
<hr>
|
1510
|
-
<div class="refsect2"
|
1524
|
+
<div class="refsect2">
|
1511
1525
|
<a name="pango-glyph-string-index-to-x"></a><h3>pango_glyph_string_index_to_x ()</h3>
|
1512
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_index_to_x (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1513
|
-
<span class="
|
1514
|
-
<span class="
|
1515
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="
|
1516
|
-
<span class="
|
1517
|
-
<
|
1518
|
-
<span class="
|
1526
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_index_to_x (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1527
|
+
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
1528
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1529
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1530
|
+
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
1531
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
1532
|
+
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
1519
1533
|
<p>
|
1520
1534
|
Converts from character position to x position. (X position
|
1521
1535
|
is measured from the left edge of the run). Character positions
|
1522
|
-
are computed by dividing up each cluster into equal portions
|
1536
|
+
are computed by dividing up each cluster into equal portions.
|
1537
|
+
</p>
|
1523
1538
|
<div class="variablelist"><table border="0">
|
1524
1539
|
<col align="left" valign="top">
|
1525
1540
|
<tbody>
|
1526
1541
|
<tr>
|
1527
1542
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1528
|
-
<td>
|
1543
|
+
<td>the glyphs return from <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a>
|
1529
1544
|
</td>
|
1530
1545
|
</tr>
|
1531
1546
|
<tr>
|
1532
1547
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1533
|
-
<td>
|
1548
|
+
<td>the text for the run
|
1534
1549
|
</td>
|
1535
1550
|
</tr>
|
1536
1551
|
<tr>
|
1537
1552
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1538
|
-
<td>
|
1553
|
+
<td>the number of bytes (not characters) in <em class="parameter"><code>text</code></em>.
|
1539
1554
|
</td>
|
1540
1555
|
</tr>
|
1541
1556
|
<tr>
|
1542
1557
|
<td><p><span class="term"><em class="parameter"><code>analysis</code></em> :</span></p></td>
|
1543
|
-
<td>
|
1558
|
+
<td>the analysis information return from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>
|
1544
1559
|
</td>
|
1545
1560
|
</tr>
|
1546
1561
|
<tr>
|
1547
1562
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
1548
|
-
<td>
|
1563
|
+
<td>the byte index within <em class="parameter"><code>text</code></em>
|
1549
1564
|
</td>
|
1550
1565
|
</tr>
|
1551
1566
|
<tr>
|
1552
1567
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
1553
|
-
<td>
|
1554
|
-
or end (<
|
1568
|
+
<td>whether we should compute the result for the beginning (<code class="literal">FALSE</code>)
|
1569
|
+
or end (<code class="literal">TRUE</code>) of the character.
|
1555
1570
|
</td>
|
1556
1571
|
</tr>
|
1557
1572
|
<tr>
|
1558
1573
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
1559
|
-
<td>
|
1574
|
+
<td>location to store result
|
1560
1575
|
</td>
|
1561
1576
|
</tr>
|
1562
1577
|
</tbody>
|
1563
1578
|
</table></div>
|
1564
1579
|
</div>
|
1565
1580
|
<hr>
|
1566
|
-
<div class="refsect2"
|
1581
|
+
<div class="refsect2">
|
1567
1582
|
<a name="pango-glyph-string-x-to-index"></a><h3>pango_glyph_string_x_to_index ()</h3>
|
1568
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_x_to_index (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1569
|
-
<span class="
|
1570
|
-
<span class="
|
1571
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="PangoAnalysis"><span class="
|
1572
|
-
<span class="
|
1573
|
-
<span class="
|
1574
|
-
<span class="
|
1583
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_x_to_index (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1584
|
+
<em class="parameter"><code><span class="type">char</span> *text</code></em>,
|
1585
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1586
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1587
|
+
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
1588
|
+
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
1589
|
+
<em class="parameter"><code><span class="type">int</span> *trailing</code></em>);</pre>
|
1575
1590
|
<p>
|
1576
1591
|
Convert from x offset to character position. Character positions
|
1577
1592
|
are computed by dividing up each cluster into equal portions.
|
1578
1593
|
In scripts where positioning within a cluster is not allowed
|
1579
1594
|
(such as Thai), the returned value may not be a valid cursor
|
1580
1595
|
position; the caller must combine the result with the logical
|
1581
|
-
attributes for the text to compute the valid cursor position
|
1596
|
+
attributes for the text to compute the valid cursor position.
|
1597
|
+
</p>
|
1582
1598
|
<div class="variablelist"><table border="0">
|
1583
1599
|
<col align="left" valign="top">
|
1584
1600
|
<tbody>
|
1585
1601
|
<tr>
|
1586
1602
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1587
|
-
<td>
|
1603
|
+
<td>the glyphs returned from <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a>
|
1588
1604
|
</td>
|
1589
1605
|
</tr>
|
1590
1606
|
<tr>
|
1591
1607
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1592
|
-
<td>
|
1608
|
+
<td>the text for the run
|
1593
1609
|
</td>
|
1594
1610
|
</tr>
|
1595
1611
|
<tr>
|
1596
1612
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1597
|
-
<td>
|
1613
|
+
<td>the number of bytes (not characters) in text.
|
1598
1614
|
</td>
|
1599
1615
|
</tr>
|
1600
1616
|
<tr>
|
1601
1617
|
<td><p><span class="term"><em class="parameter"><code>analysis</code></em> :</span></p></td>
|
1602
|
-
<td>
|
1618
|
+
<td>the analysis information return from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>
|
1603
1619
|
</td>
|
1604
1620
|
</tr>
|
1605
1621
|
<tr>
|
1606
1622
|
<td><p><span class="term"><em class="parameter"><code>x_pos</code></em> :</span></p></td>
|
1607
|
-
<td>
|
1623
|
+
<td>the x offset (in Pango units)
|
1608
1624
|
</td>
|
1609
1625
|
</tr>
|
1610
1626
|
<tr>
|
1611
1627
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
1612
|
-
<td>
|
1628
|
+
<td>location to store calculated byte index within <em class="parameter"><code>text</code></em>
|
1613
1629
|
</td>
|
1614
1630
|
</tr>
|
1615
1631
|
<tr>
|
1616
1632
|
<td><p><span class="term"><em class="parameter"><code>trailing</code></em> :</span></p></td>
|
1617
|
-
<td>
|
1633
|
+
<td>location to store a boolean indicating
|
1618
1634
|
whether the user clicked on the leading or trailing
|
1619
1635
|
edge of the character.
|
1620
1636
|
</td>
|
@@ -1623,48 +1639,49 @@ attributes for the text to compute the valid cursor position.</p>
|
|
1623
1639
|
</table></div>
|
1624
1640
|
</div>
|
1625
1641
|
<hr>
|
1626
|
-
<div class="refsect2"
|
1642
|
+
<div class="refsect2">
|
1627
1643
|
<a name="pango-glyph-string-get-logical-widths"></a><h3>pango_glyph_string_get_logical_widths ()</h3>
|
1628
1644
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_string_get_logical_widths
|
1629
|
-
(<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
1630
|
-
const <span class="
|
1631
|
-
<span class="
|
1632
|
-
<span class="
|
1633
|
-
<span class="
|
1645
|
+
(<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
1646
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1647
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1648
|
+
<em class="parameter"><code><span class="type">int</span> embedding_level</code></em>,
|
1649
|
+
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);</pre>
|
1634
1650
|
<p>
|
1635
|
-
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> resulting from <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a> and the corresponding
|
1651
|
+
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> resulting from <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a> and the corresponding
|
1636
1652
|
text, determine the screen width corresponding to each character. When
|
1637
1653
|
multiple characters compose a single cluster, the width of the entire
|
1638
1654
|
cluster is divided equally among the characters.
|
1639
1655
|
</p>
|
1640
1656
|
<p>
|
1641
|
-
See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-logical-widths" title="pango_glyph_item_get_logical_widths ()"><code class="function">pango_glyph_item_get_logical_widths()</code></a
|
1657
|
+
See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-logical-widths" title="pango_glyph_item_get_logical_widths ()"><code class="function">pango_glyph_item_get_logical_widths()</code></a>.
|
1658
|
+
</p>
|
1642
1659
|
<div class="variablelist"><table border="0">
|
1643
1660
|
<col align="left" valign="top">
|
1644
1661
|
<tbody>
|
1645
1662
|
<tr>
|
1646
1663
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1647
|
-
<td>
|
1664
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1648
1665
|
</td>
|
1649
1666
|
</tr>
|
1650
1667
|
<tr>
|
1651
1668
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1652
|
-
<td>
|
1669
|
+
<td>the text corresponding to the glyphs
|
1653
1670
|
</td>
|
1654
1671
|
</tr>
|
1655
1672
|
<tr>
|
1656
1673
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1657
|
-
<td>
|
1674
|
+
<td>the length of <em class="parameter"><code>text</code></em>, in bytes
|
1658
1675
|
</td>
|
1659
1676
|
</tr>
|
1660
1677
|
<tr>
|
1661
1678
|
<td><p><span class="term"><em class="parameter"><code>embedding_level</code></em> :</span></p></td>
|
1662
|
-
<td>
|
1679
|
+
<td>the embedding level of the string
|
1663
1680
|
</td>
|
1664
1681
|
</tr>
|
1665
1682
|
<tr>
|
1666
1683
|
<td><p><span class="term"><em class="parameter"><code>logical_widths</code></em> :</span></p></td>
|
1667
|
-
<td>
|
1684
|
+
<td>an array whose length is the number of characters in
|
1668
1685
|
text (equal to g_utf8_strlen (text, length) unless
|
1669
1686
|
text has NUL bytes)
|
1670
1687
|
to be filled in with the resulting character widths.
|
@@ -1674,34 +1691,35 @@ See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-get-log
|
|
1674
1691
|
</table></div>
|
1675
1692
|
</div>
|
1676
1693
|
<hr>
|
1677
|
-
<div class="refsect2"
|
1694
|
+
<div class="refsect2">
|
1678
1695
|
<a name="PANGO-TYPE-GLYPH-ITEM:CAPS"></a><h3>PANGO_TYPE_GLYPH_ITEM</h3>
|
1679
1696
|
<pre class="programlisting">#define PANGO_TYPE_GLYPH_ITEM (pango_glyph_item_get_type ())
|
1680
1697
|
</pre>
|
1681
1698
|
<p>
|
1682
|
-
The <
|
1699
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
|
1683
1700
|
</p>
|
1684
1701
|
<p class="since">Since 1.20</p>
|
1685
1702
|
</div>
|
1686
1703
|
<hr>
|
1687
|
-
<div class="refsect2"
|
1704
|
+
<div class="refsect2">
|
1688
1705
|
<a name="pango-glyph-item-copy"></a><h3>pango_glyph_item_copy ()</h3>
|
1689
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * pango_glyph_item_copy (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
1706
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * pango_glyph_item_copy (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>);</pre>
|
1690
1707
|
<p>
|
1691
|
-
Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> structure
|
1708
|
+
Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> structure.
|
1709
|
+
</p>
|
1692
1710
|
<div class="variablelist"><table border="0">
|
1693
1711
|
<col align="left" valign="top">
|
1694
1712
|
<tbody>
|
1695
1713
|
<tr>
|
1696
1714
|
<td><p><span class="term"><em class="parameter"><code>orig</code></em> :</span></p></td>
|
1697
|
-
<td>
|
1715
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1698
1716
|
</td>
|
1699
1717
|
</tr>
|
1700
1718
|
<tr>
|
1701
1719
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1702
|
-
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, which should
|
1703
|
-
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()"><code class="function">pango_glyph_item_free()</code></a>, or <a href="/usr/share/gtk-doc/html/
|
1704
|
-
if <em class="parameter"><code>orig</code></em> was <a href="/usr/share/gtk-doc/html/
|
1720
|
+
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, which should
|
1721
|
+
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()"><code class="function">pango_glyph_item_free()</code></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1722
|
+
if <em class="parameter"><code>orig</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1705
1723
|
|
1706
1724
|
</td>
|
1707
1725
|
</tr>
|
@@ -1710,27 +1728,28 @@ Make a deep copy of an existing <a class="link" href="pango-Glyph-Storage.html#P
|
|
1710
1728
|
<p class="since">Since 1.20</p>
|
1711
1729
|
</div>
|
1712
1730
|
<hr>
|
1713
|
-
<div class="refsect2"
|
1731
|
+
<div class="refsect2">
|
1714
1732
|
<a name="pango-glyph-item-free"></a><h3>pango_glyph_item_free ()</h3>
|
1715
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_free (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
1733
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
|
1716
1734
|
<p>
|
1717
|
-
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and resources to which it points
|
1735
|
+
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and resources to which it points.
|
1736
|
+
</p>
|
1718
1737
|
<div class="variablelist"><table border="0">
|
1719
1738
|
<col align="left" valign="top">
|
1720
1739
|
<tbody><tr>
|
1721
1740
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1722
|
-
<td>
|
1741
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1723
1742
|
</td>
|
1724
1743
|
</tr></tbody>
|
1725
1744
|
</table></div>
|
1726
1745
|
<p class="since">Since 1.6</p>
|
1727
1746
|
</div>
|
1728
1747
|
<hr>
|
1729
|
-
<div class="refsect2"
|
1748
|
+
<div class="refsect2">
|
1730
1749
|
<a name="pango-glyph-item-split"></a><h3>pango_glyph_item_split ()</h3>
|
1731
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * pango_glyph_item_split (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
1732
|
-
const <span class="
|
1733
|
-
<span class="
|
1750
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="returnvalue">PangoGlyphItem</span></a> * pango_glyph_item_split (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *orig</code></em>,
|
1751
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1752
|
+
<em class="parameter"><code><span class="type">int</span> split_index</code></em>);</pre>
|
1734
1753
|
<p>
|
1735
1754
|
Modifies <em class="parameter"><code>orig</code></em> to cover only the text after <em class="parameter"><code>split_index</code></em>, and
|
1736
1755
|
returns a new item that covers the text before <em class="parameter"><code>split_index</code></em> that
|
@@ -1742,23 +1761,24 @@ zero-length item).
|
|
1742
1761
|
</p>
|
1743
1762
|
<p>
|
1744
1763
|
This function is similar in function to <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()"><code class="function">pango_item_split()</code></a> (and uses
|
1745
|
-
it internally.)
|
1764
|
+
it internally.)
|
1765
|
+
</p>
|
1746
1766
|
<div class="variablelist"><table border="0">
|
1747
1767
|
<col align="left" valign="top">
|
1748
1768
|
<tbody>
|
1749
1769
|
<tr>
|
1750
1770
|
<td><p><span class="term"><em class="parameter"><code>orig</code></em> :</span></p></td>
|
1751
|
-
<td>
|
1771
|
+
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a>
|
1752
1772
|
</td>
|
1753
1773
|
</tr>
|
1754
1774
|
<tr>
|
1755
1775
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1756
|
-
<td>
|
1776
|
+
<td>text to which positions in <em class="parameter"><code>orig</code></em> apply
|
1757
1777
|
</td>
|
1758
1778
|
</tr>
|
1759
1779
|
<tr>
|
1760
1780
|
<td><p><span class="term"><em class="parameter"><code>split_index</code></em> :</span></p></td>
|
1761
|
-
<td>
|
1781
|
+
<td>byte index of position to split item, relative to the start of the item
|
1762
1782
|
</td>
|
1763
1783
|
</tr>
|
1764
1784
|
<tr>
|
@@ -1774,11 +1794,11 @@ it internally.)</p>
|
|
1774
1794
|
<p class="since">Since 1.2</p>
|
1775
1795
|
</div>
|
1776
1796
|
<hr>
|
1777
|
-
<div class="refsect2"
|
1797
|
+
<div class="refsect2">
|
1778
1798
|
<a name="pango-glyph-item-apply-attrs"></a><h3>pango_glyph_item_apply_attrs ()</h3>
|
1779
|
-
<pre class="programlisting"><
|
1780
|
-
const <span class="
|
1781
|
-
<a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="
|
1799
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * pango_glyph_item_apply_attrs (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1800
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1801
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
1782
1802
|
<p>
|
1783
1803
|
Splits a shaped item (PangoGlyphItem) into multiple items based
|
1784
1804
|
on an attribute list. The idea is that if you have attributes
|
@@ -1797,30 +1817,31 @@ result items can have multiple attributes of the same type.
|
|
1797
1817
|
</p>
|
1798
1818
|
<p>
|
1799
1819
|
This function takes ownership of <em class="parameter"><code>glyph_item</code></em>; it will be reused
|
1800
|
-
as one of the elements in the list
|
1820
|
+
as one of the elements in the list.
|
1821
|
+
</p>
|
1801
1822
|
<div class="variablelist"><table border="0">
|
1802
1823
|
<col align="left" valign="top">
|
1803
1824
|
<tbody>
|
1804
1825
|
<tr>
|
1805
1826
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1806
|
-
<td>
|
1827
|
+
<td>a shaped item
|
1807
1828
|
</td>
|
1808
1829
|
</tr>
|
1809
1830
|
<tr>
|
1810
1831
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1811
|
-
<td>
|
1832
|
+
<td>text that <em class="parameter"><code>list</code></em> applies to
|
1812
1833
|
</td>
|
1813
1834
|
</tr>
|
1814
1835
|
<tr>
|
1815
1836
|
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
|
1816
|
-
<td>
|
1837
|
+
<td>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList" title="PangoAttrList"><span class="type">PangoAttrList</span></a>
|
1817
1838
|
</td>
|
1818
1839
|
</tr>
|
1819
1840
|
<tr>
|
1820
1841
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1821
1842
|
<td> a list of glyph items resulting from splitting
|
1822
1843
|
<em class="parameter"><code>glyph_item</code></em>. Free the elements using <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-free" title="pango_glyph_item_free ()"><code class="function">pango_glyph_item_free()</code></a>,
|
1823
|
-
the list using <
|
1844
|
+
the list using <code class="function">g_slist_free()</code>.
|
1824
1845
|
|
1825
1846
|
</td>
|
1826
1847
|
</tr>
|
@@ -1829,40 +1850,41 @@ as one of the elements in the list.</p>
|
|
1829
1850
|
<p class="since">Since 1.2</p>
|
1830
1851
|
</div>
|
1831
1852
|
<hr>
|
1832
|
-
<div class="refsect2"
|
1853
|
+
<div class="refsect2">
|
1833
1854
|
<a name="pango-glyph-item-letter-space"></a><h3>pango_glyph_item_letter_space ()</h3>
|
1834
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_letter_space (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
1835
|
-
const <span class="
|
1836
|
-
<a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="
|
1837
|
-
<span class="
|
1855
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_letter_space (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1856
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1857
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *log_attrs</code></em>,
|
1858
|
+
<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);</pre>
|
1838
1859
|
<p>
|
1839
1860
|
Adds spacing between the graphemes of <em class="parameter"><code>glyph_item</code></em> to
|
1840
|
-
give the effect of typographic letter spacing
|
1861
|
+
give the effect of typographic letter spacing.
|
1862
|
+
</p>
|
1841
1863
|
<div class="variablelist"><table border="0">
|
1842
1864
|
<col align="left" valign="top">
|
1843
1865
|
<tbody>
|
1844
1866
|
<tr>
|
1845
1867
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1846
|
-
<td>
|
1868
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
1847
1869
|
</td>
|
1848
1870
|
</tr>
|
1849
1871
|
<tr>
|
1850
1872
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1851
|
-
<td>
|
1873
|
+
<td>text that <em class="parameter"><code>glyph_item</code></em> corresponds to
|
1852
1874
|
(glyph_item->item->offset is an offset from the
|
1853
1875
|
start of <em class="parameter"><code>text</code></em>)
|
1854
1876
|
</td>
|
1855
1877
|
</tr>
|
1856
1878
|
<tr>
|
1857
1879
|
<td><p><span class="term"><em class="parameter"><code>log_attrs</code></em> :</span></p></td>
|
1858
|
-
<td>
|
1880
|
+
<td>logical attributes for the item (the
|
1859
1881
|
first logical attribute refers to the position
|
1860
1882
|
before the first character in the item)
|
1861
1883
|
</td>
|
1862
1884
|
</tr>
|
1863
1885
|
<tr>
|
1864
1886
|
<td><p><span class="term"><em class="parameter"><code>letter_spacing</code></em> :</span></p></td>
|
1865
|
-
<td>
|
1887
|
+
<td>amount of letter spacing to add
|
1866
1888
|
in Pango units. May be negative, though too large
|
1867
1889
|
negative values will give ugly results.
|
1868
1890
|
</td>
|
@@ -1872,37 +1894,38 @@ give the effect of typographic letter spacing.</p>
|
|
1872
1894
|
<p class="since">Since 1.6</p>
|
1873
1895
|
</div>
|
1874
1896
|
<hr>
|
1875
|
-
<div class="refsect2"
|
1897
|
+
<div class="refsect2">
|
1876
1898
|
<a name="pango-glyph-item-get-logical-widths"></a><h3>pango_glyph_item_get_logical_widths ()</h3>
|
1877
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_get_logical_widths (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
1878
|
-
const <span class="
|
1879
|
-
<span class="
|
1899
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_get_logical_widths (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1900
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1901
|
+
<em class="parameter"><code><span class="type">int</span> *logical_widths</code></em>);</pre>
|
1880
1902
|
<p>
|
1881
|
-
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and the corresponding
|
1903
|
+
Given a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> and the corresponding
|
1882
1904
|
text, determine the screen width corresponding to each character. When
|
1883
1905
|
multiple characters compose a single cluster, the width of the entire
|
1884
1906
|
cluster is divided equally among the characters.
|
1885
1907
|
</p>
|
1886
1908
|
<p>
|
1887
|
-
See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-logical-widths" title="pango_glyph_string_get_logical_widths ()"><code class="function">pango_glyph_string_get_logical_widths()</code></a
|
1909
|
+
See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-logical-widths" title="pango_glyph_string_get_logical_widths ()"><code class="function">pango_glyph_string_get_logical_widths()</code></a>.
|
1910
|
+
</p>
|
1888
1911
|
<div class="variablelist"><table border="0">
|
1889
1912
|
<col align="left" valign="top">
|
1890
1913
|
<tbody>
|
1891
1914
|
<tr>
|
1892
1915
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1893
|
-
<td>
|
1916
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
1894
1917
|
</td>
|
1895
1918
|
</tr>
|
1896
1919
|
<tr>
|
1897
1920
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1898
|
-
<td>
|
1921
|
+
<td>text that <em class="parameter"><code>glyph_item</code></em> corresponds to
|
1899
1922
|
(glyph_item->item->offset is an offset from the
|
1900
1923
|
start of <em class="parameter"><code>text</code></em>)
|
1901
1924
|
</td>
|
1902
1925
|
</tr>
|
1903
1926
|
<tr>
|
1904
1927
|
<td><p><span class="term"><em class="parameter"><code>logical_widths</code></em> :</span></p></td>
|
1905
|
-
<td>
|
1928
|
+
<td>an array whose length is the number of characters in
|
1906
1929
|
glyph_item (equal to glyph_item->item->num_chars)
|
1907
1930
|
to be filled in with the resulting character widths.
|
1908
1931
|
</td>
|
@@ -1912,34 +1935,35 @@ See also <a class="link" href="pango-Glyph-Storage.html#pango-glyph-string-get-l
|
|
1912
1935
|
<p class="since">Since 1.26</p>
|
1913
1936
|
</div>
|
1914
1937
|
<hr>
|
1915
|
-
<div class="refsect2"
|
1938
|
+
<div class="refsect2">
|
1916
1939
|
<a name="PANGO-TYPE-GLYPH-ITEM-ITER:CAPS"></a><h3>PANGO_TYPE_GLYPH_ITEM_ITER</h3>
|
1917
1940
|
<pre class="programlisting">#define PANGO_TYPE_GLYPH_ITEM_ITER (pango_glyph_item_iter_get_type ())
|
1918
1941
|
</pre>
|
1919
1942
|
<p>
|
1920
|
-
The <
|
1943
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>.
|
1921
1944
|
</p>
|
1922
1945
|
<p class="since">Since 1.22</p>
|
1923
1946
|
</div>
|
1924
1947
|
<hr>
|
1925
|
-
<div class="refsect2"
|
1948
|
+
<div class="refsect2">
|
1926
1949
|
<a name="pango-glyph-item-iter-copy"></a><h3>pango_glyph_item_iter_copy ()</h3>
|
1927
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="returnvalue">PangoGlyphItemIter</span></a> * pango_glyph_item_iter_copy (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="
|
1950
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="returnvalue">PangoGlyphItemIter</span></a> * pango_glyph_item_iter_copy (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *orig</code></em>);</pre>
|
1928
1951
|
<p>
|
1929
|
-
Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure
|
1952
|
+
Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure.
|
1953
|
+
</p>
|
1930
1954
|
<div class="variablelist"><table border="0">
|
1931
1955
|
<col align="left" valign="top">
|
1932
1956
|
<tbody>
|
1933
1957
|
<tr>
|
1934
1958
|
<td><p><span class="term"><em class="parameter"><code>orig</code></em> :</span></p></td>
|
1935
|
-
<td>
|
1959
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1936
1960
|
</td>
|
1937
1961
|
</tr>
|
1938
1962
|
<tr>
|
1939
1963
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1940
|
-
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, which should
|
1941
|
-
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-free" title="pango_glyph_item_iter_free ()"><code class="function">pango_glyph_item_iter_free()</code></a>, or <a href="/usr/share/gtk-doc/html/
|
1942
|
-
if <em class="parameter"><code>orig</code></em> was <a href="/usr/share/gtk-doc/html/
|
1964
|
+
<td> the newly allocated <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, which should
|
1965
|
+
be freed with <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-free" title="pango_glyph_item_iter_free ()"><code class="function">pango_glyph_item_iter_free()</code></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1966
|
+
if <em class="parameter"><code>orig</code></em> was <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
1943
1967
|
|
1944
1968
|
</td>
|
1945
1969
|
</tr>
|
@@ -1948,52 +1972,54 @@ Make a shallow copy of an existing <a class="link" href="pango-Glyph-Storage.htm
|
|
1948
1972
|
<p class="since">Since 1.22</p>
|
1949
1973
|
</div>
|
1950
1974
|
<hr>
|
1951
|
-
<div class="refsect2"
|
1975
|
+
<div class="refsect2">
|
1952
1976
|
<a name="pango-glyph-item-iter-free"></a><h3>pango_glyph_item_iter_free ()</h3>
|
1953
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_iter_free (<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="
|
1977
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_glyph_item_iter_free (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
|
1954
1978
|
<p>
|
1955
|
-
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> created by <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-copy" title="pango_glyph_item_iter_copy ()"><code class="function">pango_glyph_item_iter_copy()</code></a
|
1979
|
+
Frees a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> created by <a class="link" href="pango-Glyph-Storage.html#pango-glyph-item-iter-copy" title="pango_glyph_item_iter_copy ()"><code class="function">pango_glyph_item_iter_copy()</code></a>.
|
1980
|
+
</p>
|
1956
1981
|
<div class="variablelist"><table border="0">
|
1957
1982
|
<col align="left" valign="top">
|
1958
1983
|
<tbody><tr>
|
1959
1984
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1960
|
-
<td>
|
1985
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>, may be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1961
1986
|
</td>
|
1962
1987
|
</tr></tbody>
|
1963
1988
|
</table></div>
|
1964
1989
|
<p class="since">Since 1.22</p>
|
1965
1990
|
</div>
|
1966
1991
|
<hr>
|
1967
|
-
<div class="refsect2"
|
1992
|
+
<div class="refsect2">
|
1968
1993
|
<a name="pango-glyph-item-iter-init-start"></a><h3>pango_glyph_item_iter_init_start ()</h3>
|
1969
|
-
<pre class="programlisting"><
|
1970
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
1971
|
-
const <span class="
|
1994
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_init_start (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
1995
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
1996
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);</pre>
|
1972
1997
|
<p>
|
1973
|
-
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
|
1998
|
+
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
|
1974
1999
|
first cluster in a glyph item.
|
1975
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders
|
2000
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2001
|
+
</p>
|
1976
2002
|
<div class="variablelist"><table border="0">
|
1977
2003
|
<col align="left" valign="top">
|
1978
2004
|
<tbody>
|
1979
2005
|
<tr>
|
1980
2006
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1981
|
-
<td>
|
2007
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
1982
2008
|
</td>
|
1983
2009
|
</tr>
|
1984
2010
|
<tr>
|
1985
2011
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
1986
|
-
<td>
|
2012
|
+
<td>the glyph item to iterate over
|
1987
2013
|
</td>
|
1988
2014
|
</tr>
|
1989
2015
|
<tr>
|
1990
2016
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1991
|
-
<td>
|
2017
|
+
<td>text corresponding to the glyph item
|
1992
2018
|
</td>
|
1993
2019
|
</tr>
|
1994
2020
|
<tr>
|
1995
2021
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1996
|
-
<td> <
|
2022
|
+
<td> <code class="literal">FALSE</code> if there are no clusters in the glyph item
|
1997
2023
|
|
1998
2024
|
</td>
|
1999
2025
|
</tr>
|
@@ -2002,36 +2028,37 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="Pa
|
|
2002
2028
|
<p class="since">Since 1.22</p>
|
2003
2029
|
</div>
|
2004
2030
|
<hr>
|
2005
|
-
<div class="refsect2"
|
2031
|
+
<div class="refsect2">
|
2006
2032
|
<a name="pango-glyph-item-iter-init-end"></a><h3>pango_glyph_item_iter_init_end ()</h3>
|
2007
|
-
<pre class="programlisting"><
|
2008
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="PangoGlyphItem"><span class="
|
2009
|
-
const <span class="
|
2033
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_init_end (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>,
|
2034
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
2035
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);</pre>
|
2010
2036
|
<p>
|
2011
|
-
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
|
2037
|
+
Initializes a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> structure to point to the
|
2012
2038
|
last cluster in a glyph item.
|
2013
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders
|
2039
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2040
|
+
</p>
|
2014
2041
|
<div class="variablelist"><table border="0">
|
2015
2042
|
<col align="left" valign="top">
|
2016
2043
|
<tbody>
|
2017
2044
|
<tr>
|
2018
2045
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2019
|
-
<td>
|
2046
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
2020
2047
|
</td>
|
2021
2048
|
</tr>
|
2022
2049
|
<tr>
|
2023
2050
|
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
2024
|
-
<td>
|
2051
|
+
<td>the glyph item to iterate over
|
2025
2052
|
</td>
|
2026
2053
|
</tr>
|
2027
2054
|
<tr>
|
2028
2055
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
2029
|
-
<td>
|
2056
|
+
<td>text corresponding to the glyph item
|
2030
2057
|
</td>
|
2031
2058
|
</tr>
|
2032
2059
|
<tr>
|
2033
2060
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2034
|
-
<td> <
|
2061
|
+
<td> <code class="literal">FALSE</code> if there are no clusters in the glyph item
|
2035
2062
|
|
2036
2063
|
</td>
|
2037
2064
|
</tr>
|
@@ -2040,23 +2067,24 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="Pa
|
|
2040
2067
|
<p class="since">Since 1.22</p>
|
2041
2068
|
</div>
|
2042
2069
|
<hr>
|
2043
|
-
<div class="refsect2"
|
2070
|
+
<div class="refsect2">
|
2044
2071
|
<a name="pango-glyph-item-iter-next-cluster"></a><h3>pango_glyph_item_iter_next_cluster ()</h3>
|
2045
|
-
<pre class="programlisting"><
|
2072
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_next_cluster (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
|
2046
2073
|
<p>
|
2047
2074
|
Advances the iterator to the next cluster in the glyph item.
|
2048
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders
|
2075
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2076
|
+
</p>
|
2049
2077
|
<div class="variablelist"><table border="0">
|
2050
2078
|
<col align="left" valign="top">
|
2051
2079
|
<tbody>
|
2052
2080
|
<tr>
|
2053
2081
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2054
|
-
<td>
|
2082
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
2055
2083
|
</td>
|
2056
2084
|
</tr>
|
2057
2085
|
<tr>
|
2058
2086
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2059
|
-
<td> <
|
2087
|
+
<td> <code class="literal">TRUE</code> if the iterator was advanced, <code class="literal">FALSE</code> if we were already on the
|
2060
2088
|
last cluster.
|
2061
2089
|
|
2062
2090
|
</td>
|
@@ -2066,23 +2094,24 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="Pa
|
|
2066
2094
|
<p class="since">Since 1.22</p>
|
2067
2095
|
</div>
|
2068
2096
|
<hr>
|
2069
|
-
<div class="refsect2"
|
2097
|
+
<div class="refsect2">
|
2070
2098
|
<a name="pango-glyph-item-iter-prev-cluster"></a><h3>pango_glyph_item_iter_prev_cluster ()</h3>
|
2071
|
-
<pre class="programlisting"><
|
2099
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_glyph_item_iter_prev_cluster (<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> *iter</code></em>);</pre>
|
2072
2100
|
<p>
|
2073
2101
|
Moves the iterator to the preceding cluster in the glyph item.
|
2074
|
-
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders
|
2102
|
+
See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a> for details of cluster orders.
|
2103
|
+
</p>
|
2075
2104
|
<div class="variablelist"><table border="0">
|
2076
2105
|
<col align="left" valign="top">
|
2077
2106
|
<tbody>
|
2078
2107
|
<tr>
|
2079
2108
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
2080
|
-
<td>
|
2109
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="struct PangoGlyphItemIter"><span class="type">PangoGlyphItemIter</span></a>
|
2081
2110
|
</td>
|
2082
2111
|
</tr>
|
2083
2112
|
<tr>
|
2084
2113
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2085
|
-
<td> <
|
2114
|
+
<td> <code class="literal">TRUE</code> if the iterator was moved, <code class="literal">FALSE</code> if we were already on the
|
2086
2115
|
first cluster.
|
2087
2116
|
|
2088
2117
|
</td>
|
@@ -2095,6 +2124,6 @@ See <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItemIter" title="Pa
|
|
2095
2124
|
</div>
|
2096
2125
|
<div class="footer">
|
2097
2126
|
<hr>
|
2098
|
-
Generated by GTK-Doc V1.
|
2127
|
+
Generated by GTK-Doc V1.15.1</div>
|
2099
2128
|
</body>
|
2100
2129
|
</html>
|