pango 3.2.1-x64-mingw32 → 3.2.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +19 -3
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/lib/2.4/pango.so +0 -0
- data/lib/2.5/pango.so +0 -0
- data/lib/pango/markup.rb +1 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/fribidi.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-subset.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +1 -1
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libfribidi-0.dll +0 -0
- data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libharfbuzz-subset-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/makeconv.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/include/fribidi/fribidi-arabic.h +81 -0
- data/vendor/local/include/fribidi/fribidi-begindecls.h +3 -0
- data/vendor/local/include/fribidi/fribidi-bidi-types-list.h +96 -0
- data/vendor/local/include/fribidi/fribidi-bidi-types.h +405 -0
- data/vendor/local/include/fribidi/fribidi-bidi.h +142 -0
- data/vendor/local/include/fribidi/fribidi-brackets.h +89 -0
- data/vendor/local/include/fribidi/fribidi-char-sets-list.h +54 -0
- data/vendor/local/include/fribidi/fribidi-char-sets.h +106 -0
- data/vendor/local/include/fribidi/fribidi-common.h +146 -0
- data/vendor/local/include/fribidi/fribidi-config.h +23 -0
- data/vendor/local/include/fribidi/fribidi-deprecated.h +244 -0
- data/vendor/local/include/fribidi/fribidi-enddecls.h +3 -0
- data/vendor/local/include/fribidi/fribidi-flags.h +72 -0
- data/vendor/local/include/fribidi/fribidi-joining-types-list.h +44 -0
- data/vendor/local/include/fribidi/fribidi-joining-types.h +249 -0
- data/vendor/local/include/fribidi/fribidi-joining.h +74 -0
- data/vendor/local/include/fribidi/fribidi-mirroring.h +86 -0
- data/vendor/local/include/fribidi/fribidi-shape.h +71 -0
- data/vendor/local/include/fribidi/fribidi-types.h +83 -0
- data/vendor/local/include/fribidi/fribidi-unicode-version.h +10 -0
- data/vendor/local/include/fribidi/fribidi-unicode.h +105 -0
- data/vendor/local/include/fribidi/fribidi.h +63 -0
- data/vendor/local/include/graphene-1.0/graphene-macros.h +6 -0
- data/vendor/local/include/graphene-1.0/graphene-version-macros.h +18 -2
- data/vendor/local/include/graphene-1.0/graphene-version.h +2 -2
- data/vendor/local/include/harfbuzz/hb-blob.h +4 -1
- data/vendor/local/include/harfbuzz/hb-buffer.h +39 -8
- data/vendor/local/include/harfbuzz/hb-common.h +1 -1
- data/vendor/local/include/harfbuzz/hb-deprecated.h +4 -0
- data/vendor/local/include/harfbuzz/hb-face.h +0 -1
- data/vendor/local/include/harfbuzz/hb-font.h +1 -1
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +17 -0
- data/vendor/local/include/harfbuzz/hb-set.h +15 -7
- data/vendor/local/include/harfbuzz/hb-subset-glyf.hh +40 -0
- data/vendor/local/include/harfbuzz/hb-subset-plan.hh +85 -0
- data/vendor/local/include/harfbuzz/hb-subset-private.hh +62 -0
- data/vendor/local/include/harfbuzz/hb-subset.h +83 -0
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +1 -1
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-font.h +14 -3
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +13 -0
- data/vendor/local/lib/cmake/harfbuzz/harfbuzz-config.cmake +82 -0
- data/vendor/local/lib/girepository-1.0/Graphene-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/graphene-1.0/include/graphene-config.h +13 -4
- data/vendor/local/lib/icu/58.2/Makefile.inc +1 -1
- data/vendor/local/lib/icu/58.2/pkgdata.inc +2 -2
- data/vendor/local/lib/icu/Makefile.inc +1 -1
- data/vendor/local/lib/icu/pkgdata.inc +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt58.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin58.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio58.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest58.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu58.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc58.dll +0 -0
- data/vendor/local/lib/libfribidi.dll.a +0 -0
- data/vendor/local/lib/libfribidi.la +41 -0
- data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +4 -4
- data/vendor/local/lib/libharfbuzz-subset.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz-subset.la +41 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +4 -4
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +5 -5
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +5 -5
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +5 -5
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +5 -5
- data/vendor/local/lib/pkgconfig/fribidi.pc +12 -0
- data/vendor/local/lib/pkgconfig/graphene-1.0.pc +16 -10
- data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +16 -10
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +5 -5
- data/vendor/local/lib/pkgconfig/harfbuzz-subset.pc +12 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +5 -5
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-io.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-uc.pc +1 -1
- 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/libexec/installed-tests/graphene-1.0/box.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/euler.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/frustum.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/matrix.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/plane.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/point3d.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quad.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/quaternion.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/ray.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/rect.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/simd.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/size.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/sphere.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/triangle.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec2.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec3.exe +0 -0
- data/vendor/local/libexec/installed-tests/graphene-1.0/vec4.exe +0 -0
- data/vendor/local/share/gir-1.0/Graphene-1.0.gir +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +82 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/HarfBuzz.svg +277 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/a-clustering-example-for-levels-0-and-1.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +33 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-2-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-3-3.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-4-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-4-3.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-5-0.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-6-0.html +38 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +302 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +6 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +6 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/clusters.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +8 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +265 -205
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +42 -35
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +76 -31
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +25 -710
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +31 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +79 -35
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +187 -112
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +31 -17
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +11 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +784 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +48 -41
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +47 -32
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +7 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +153 -68
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +48 -41
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +58 -48
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +10 -14
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +99 -164
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +21 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +6 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/level-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +36 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +9 -9
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +6 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/reordering-in-levels-0-and-1.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +4 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/the-distinction-between-levels-0-and-1.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +4 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +11 -11
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +18 -18
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +28 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +20 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +14 -2
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +14 -14
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +101 -101
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +275 -133
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +17 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +168 -168
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +86 -86
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +92 -92
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +46 -46
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +29 -29
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +164 -164
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +20 -20
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +29 -29
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +7 -7
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +4 -0
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/installed-tests/graphene-1.0/box.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/euler.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/frustum.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/matrix.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/plane.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/point.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/point3d.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/quad.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/quaternion.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/ray.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/rect.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/simd.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/size.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/sphere.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/triangle.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/vec2.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/vec3.test +3 -0
- data/vendor/local/share/installed-tests/graphene-1.0/vec4.test +3 -0
- data/vendor/local/share/license/fribidi/fribidi/AUTHORS +40 -0
- data/vendor/local/share/license/fribidi/fribidi/COPYING +504 -0
- data/vendor/local/share/man/man1/pango-view.1 +1 -113
- metadata +87 -52
- data/vendor/local/lib/libgraphene-1.0.la +0 -41
- data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +0 -57
- data/vendor/local/share/gtk-doc/html/graphene/api-index.html +0 -1985
- data/vendor/local/share/gtk-doc/html/graphene/ch01.html +0 -97
- data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +0 -34
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +0 -1252
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +0 -886
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +0 -527
- data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +0 -147
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +0 -2959
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +0 -641
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +0 -689
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +0 -916
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +0 -418
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +0 -1056
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +0 -596
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +0 -1483
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +0 -1475
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +0 -3046
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +0 -489
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +0 -641
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +0 -705
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +0 -3715
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +0 -104
- data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +0 -534
- data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/index.html +0 -107
- data/vendor/local/share/gtk-doc/html/graphene/ix03.html +0 -1313
- data/vendor/local/share/gtk-doc/html/graphene/ix04.html +0 -582
- data/vendor/local/share/gtk-doc/html/graphene/ix05.html +0 -151
- data/vendor/local/share/gtk-doc/html/graphene/ix06.html +0 -34
- data/vendor/local/share/gtk-doc/html/graphene/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/object-tree.html +0 -32
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-intersection.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle-union.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/rectangle.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/style.css +0 -479
- data/vendor/local/share/gtk-doc/html/graphene/triangle-barycentric.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/up.png +0 -0
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="PangoMarkupFormat.html" title="Text Attribute Markup">
|
10
10
|
<link rel="next" href="pango-Scripts-and-Languages.html" title="Scripts and Languages">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -74,7 +74,7 @@
|
|
74
74
|
</tr>
|
75
75
|
<tr>
|
76
76
|
<td class="function_type">
|
77
|
-
<
|
77
|
+
<span class="returnvalue">guint</span>
|
78
78
|
</td>
|
79
79
|
<td class="function_name">
|
80
80
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-serial" title="pango_layout_get_serial ()">pango_layout_get_serial</a> <span class="c_punctuation">()</span>
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
99
|
<td class="function_type">
|
100
|
-
<
|
100
|
+
<span class="returnvalue">gint</span>
|
101
101
|
</td>
|
102
102
|
<td class="function_name">
|
103
103
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-character-count" title="pango_layout_get_character_count ()">pango_layout_get_character_count</a> <span class="c_punctuation">()</span>
|
@@ -200,7 +200,7 @@
|
|
200
200
|
</tr>
|
201
201
|
<tr>
|
202
202
|
<td class="function_type">
|
203
|
-
<
|
203
|
+
<span class="returnvalue">gboolean</span>
|
204
204
|
</td>
|
205
205
|
<td class="function_name">
|
206
206
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-is-wrapped" title="pango_layout_is_wrapped ()">pango_layout_is_wrapped</a> <span class="c_punctuation">()</span>
|
@@ -224,7 +224,7 @@
|
|
224
224
|
</tr>
|
225
225
|
<tr>
|
226
226
|
<td class="function_type">
|
227
|
-
<
|
227
|
+
<span class="returnvalue">gboolean</span>
|
228
228
|
</td>
|
229
229
|
<td class="function_name">
|
230
230
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-is-ellipsized" title="pango_layout_is_ellipsized ()">pango_layout_is_ellipsized</a> <span class="c_punctuation">()</span>
|
@@ -272,7 +272,7 @@
|
|
272
272
|
</tr>
|
273
273
|
<tr>
|
274
274
|
<td class="function_type">
|
275
|
-
<
|
275
|
+
<span class="returnvalue">gboolean</span>
|
276
276
|
</td>
|
277
277
|
<td class="function_name">
|
278
278
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-justify" title="pango_layout_get_justify ()">pango_layout_get_justify</a> <span class="c_punctuation">()</span>
|
@@ -288,7 +288,7 @@
|
|
288
288
|
</tr>
|
289
289
|
<tr>
|
290
290
|
<td class="function_type">
|
291
|
-
<
|
291
|
+
<span class="returnvalue">gboolean</span>
|
292
292
|
</td>
|
293
293
|
<td class="function_name">
|
294
294
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-auto-dir" title="pango_layout_get_auto_dir ()">pango_layout_get_auto_dir</a> <span class="c_punctuation">()</span>
|
@@ -336,7 +336,7 @@
|
|
336
336
|
</tr>
|
337
337
|
<tr>
|
338
338
|
<td class="function_type">
|
339
|
-
<
|
339
|
+
<span class="returnvalue">gboolean</span>
|
340
340
|
</td>
|
341
341
|
<td class="function_name">
|
342
342
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-single-paragraph-mode" title="pango_layout_get_single_paragraph_mode ()">pango_layout_get_single_paragraph_mode</a> <span class="c_punctuation">()</span>
|
@@ -383,7 +383,7 @@
|
|
383
383
|
</tr>
|
384
384
|
<tr>
|
385
385
|
<td class="function_type">
|
386
|
-
<
|
386
|
+
<span class="returnvalue">gboolean</span>
|
387
387
|
</td>
|
388
388
|
<td class="function_name">
|
389
389
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-xy-to-index" title="pango_layout_xy_to_index ()">pango_layout_xy_to_index</a> <span class="c_punctuation">()</span>
|
@@ -471,7 +471,7 @@
|
|
471
471
|
</tr>
|
472
472
|
<tr>
|
473
473
|
<td class="function_type">
|
474
|
-
<
|
474
|
+
<span class="returnvalue">GSList</span> *
|
475
475
|
</td>
|
476
476
|
<td class="function_name">
|
477
477
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines" title="pango_layout_get_lines ()">pango_layout_get_lines</a> <span class="c_punctuation">()</span>
|
@@ -479,7 +479,7 @@
|
|
479
479
|
</tr>
|
480
480
|
<tr>
|
481
481
|
<td class="function_type">
|
482
|
-
<
|
482
|
+
<span class="returnvalue">GSList</span> *
|
483
483
|
</td>
|
484
484
|
<td class="function_name">
|
485
485
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines-readonly" title="pango_layout_get_lines_readonly ()">pango_layout_get_lines_readonly</a> <span class="c_punctuation">()</span>
|
@@ -511,7 +511,7 @@
|
|
511
511
|
</tr>
|
512
512
|
<tr>
|
513
513
|
<td class="function_type">
|
514
|
-
<
|
514
|
+
<span class="returnvalue">gboolean</span>
|
515
515
|
</td>
|
516
516
|
<td class="function_name">
|
517
517
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-run" title="pango_layout_iter_next_run ()">pango_layout_iter_next_run</a> <span class="c_punctuation">()</span>
|
@@ -519,7 +519,7 @@
|
|
519
519
|
</tr>
|
520
520
|
<tr>
|
521
521
|
<td class="function_type">
|
522
|
-
<
|
522
|
+
<span class="returnvalue">gboolean</span>
|
523
523
|
</td>
|
524
524
|
<td class="function_name">
|
525
525
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-char" title="pango_layout_iter_next_char ()">pango_layout_iter_next_char</a> <span class="c_punctuation">()</span>
|
@@ -527,7 +527,7 @@
|
|
527
527
|
</tr>
|
528
528
|
<tr>
|
529
529
|
<td class="function_type">
|
530
|
-
<
|
530
|
+
<span class="returnvalue">gboolean</span>
|
531
531
|
</td>
|
532
532
|
<td class="function_name">
|
533
533
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-cluster" title="pango_layout_iter_next_cluster ()">pango_layout_iter_next_cluster</a> <span class="c_punctuation">()</span>
|
@@ -535,7 +535,7 @@
|
|
535
535
|
</tr>
|
536
536
|
<tr>
|
537
537
|
<td class="function_type">
|
538
|
-
<
|
538
|
+
<span class="returnvalue">gboolean</span>
|
539
539
|
</td>
|
540
540
|
<td class="function_name">
|
541
541
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-line" title="pango_layout_iter_next_line ()">pango_layout_iter_next_line</a> <span class="c_punctuation">()</span>
|
@@ -543,7 +543,7 @@
|
|
543
543
|
</tr>
|
544
544
|
<tr>
|
545
545
|
<td class="function_type">
|
546
|
-
<
|
546
|
+
<span class="returnvalue">gboolean</span>
|
547
547
|
</td>
|
548
548
|
<td class="function_name">
|
549
549
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-iter-at-last-line" title="pango_layout_iter_at_last_line ()">pango_layout_iter_at_last_line</a> <span class="c_punctuation">()</span>
|
@@ -695,7 +695,7 @@
|
|
695
695
|
</tr>
|
696
696
|
<tr>
|
697
697
|
<td class="function_type">
|
698
|
-
<
|
698
|
+
<span class="returnvalue">gboolean</span>
|
699
699
|
</td>
|
700
700
|
<td class="function_name">
|
701
701
|
<a class="link" href="pango-Layout-Objects.html#pango-layout-line-x-to-index" title="pango_layout_line_x_to_index ()">pango_layout_line_x_to_index</a> <span class="c_punctuation">()</span>
|
@@ -765,14 +765,14 @@
|
|
765
765
|
</div>
|
766
766
|
<div class="refsect1">
|
767
767
|
<a name="pango-Layout-Objects.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
768
|
-
<pre class="screen">
|
768
|
+
<pre class="screen"> GBoxed
|
769
769
|
<span class="lineart">├──</span> PangoLayoutIter
|
770
770
|
<span class="lineart">╰──</span> PangoLayoutLine
|
771
|
-
|
771
|
+
GEnum
|
772
772
|
<span class="lineart">├──</span> PangoAlignment
|
773
773
|
<span class="lineart">├──</span> PangoEllipsizeMode
|
774
774
|
<span class="lineart">╰──</span> PangoWrapMode
|
775
|
-
|
775
|
+
GObject
|
776
776
|
<span class="lineart">╰──</span> PangoLayout
|
777
777
|
</pre>
|
778
778
|
</div>
|
@@ -812,7 +812,7 @@ default values for a particular <a class="link" href="pango-Text-Processing.html
|
|
812
812
|
<a name="pango-layout-new.returns"></a><h4>Returns</h4>
|
813
813
|
<p> the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, with a reference
|
814
814
|
count of one, which should be freed with
|
815
|
-
<
|
815
|
+
<code class="function">g_object_unref()</code>.</p>
|
816
816
|
</div>
|
817
817
|
</div>
|
818
818
|
<hr>
|
@@ -841,9 +841,9 @@ value.</p>
|
|
841
841
|
</div>
|
842
842
|
<div class="refsect3">
|
843
843
|
<a name="pango-layout-copy.returns"></a><h4>Returns</h4>
|
844
|
-
<p>
|
844
|
+
<p>the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>,
|
845
845
|
with a reference count of one, which should be freed
|
846
|
-
with <
|
846
|
+
with <code class="function">g_object_unref()</code>. </p>
|
847
847
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
848
848
|
</div>
|
849
849
|
</div>
|
@@ -870,7 +870,7 @@ pango_layout_get_context (<em class="parameter"><code><a class="link" href="pang
|
|
870
870
|
</div>
|
871
871
|
<div class="refsect3">
|
872
872
|
<a name="pango-layout-get-context.returns"></a><h4>Returns</h4>
|
873
|
-
<p>
|
873
|
+
<p>the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the layout.
|
874
874
|
This does not have an additional refcount added, so if you want to
|
875
875
|
keep a copy of this around, you must reference it yourself. </p>
|
876
876
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -904,7 +904,7 @@ to creating the layout.</p>
|
|
904
904
|
<hr>
|
905
905
|
<div class="refsect2">
|
906
906
|
<a name="pango-layout-get-serial"></a><h3>pango_layout_get_serial ()</h3>
|
907
|
-
<pre class="programlisting"><
|
907
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
908
908
|
pango_layout_get_serial (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
909
909
|
<p>Returns the current serial number of <em class="parameter"><code>layout</code></em>
|
910
910
|
. The serial number is
|
@@ -1017,7 +1017,7 @@ be freed or modified.</p>
|
|
1017
1017
|
<hr>
|
1018
1018
|
<div class="refsect2">
|
1019
1019
|
<a name="pango-layout-get-character-count"></a><h3>pango_layout_get_character_count ()</h3>
|
1020
|
-
<pre class="programlisting"><
|
1020
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
1021
1021
|
pango_layout_get_character_count (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1022
1022
|
<p>Returns the number of Unicode characters in the
|
1023
1023
|
the text of <em class="parameter"><code>layout</code></em>
|
@@ -1091,8 +1091,8 @@ null-terminated</p></td>
|
|
1091
1091
|
pango_layout_set_markup_with_accel (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1092
1092
|
<em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
|
1093
1093
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1094
|
-
<em class="parameter"><code><
|
1095
|
-
<em class="parameter"><code><
|
1094
|
+
<em class="parameter"><code><span class="type">gunichar</span> accel_marker</code></em>,
|
1095
|
+
<em class="parameter"><code><span class="type">gunichar</span> *accel_char</code></em>);</pre>
|
1096
1096
|
<p>Sets the layout text and attribute list from marked-up text (see</p>
|
1097
1097
|
markup format). Replaces
|
1098
1098
|
<p>the current text and attribute list.</p>
|
@@ -1142,8 +1142,8 @@ null-terminated</p></td>
|
|
1142
1142
|
</tr>
|
1143
1143
|
<tr>
|
1144
1144
|
<td class="parameter_name"><p>accel_char</p></td>
|
1145
|
-
<td class="parameter_description"><p>
|
1146
|
-
for first located accelerator, or <
|
1145
|
+
<td class="parameter_description"><p>return location
|
1146
|
+
for first located accelerator, or <code class="literal">NULL</code>. </p></td>
|
1147
1147
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1148
1148
|
</tr>
|
1149
1149
|
</tbody>
|
@@ -1175,7 +1175,7 @@ References <em class="parameter"><code>attrs</code></em>
|
|
1175
1175
|
</tr>
|
1176
1176
|
<tr>
|
1177
1177
|
<td class="parameter_name"><p>attrs</p></td>
|
1178
|
-
<td class="parameter_description"><p>
|
1178
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, can be <code class="literal">NULL</code>. </p></td>
|
1179
1179
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
1180
1180
|
</tr>
|
1181
1181
|
</tbody>
|
@@ -1205,7 +1205,7 @@ pango_layout_get_attributes (<em class="parameter"><code><a class="link" href="p
|
|
1205
1205
|
</div>
|
1206
1206
|
<div class="refsect3">
|
1207
1207
|
<a name="pango-layout-get-attributes.returns"></a><h4>Returns</h4>
|
1208
|
-
<p>
|
1208
|
+
<p>a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. </p>
|
1209
1209
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1210
1210
|
</div>
|
1211
1211
|
</div>
|
@@ -1234,7 +1234,7 @@ the layout's context is used.</p>
|
|
1234
1234
|
</tr>
|
1235
1235
|
<tr>
|
1236
1236
|
<td class="parameter_name"><p>desc</p></td>
|
1237
|
-
<td class="parameter_description"><p>
|
1237
|
+
<td class="parameter_description"><p>the new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a>, or <code class="literal">NULL</code> to unset the
|
1238
1238
|
current font description. </p></td>
|
1239
1239
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1240
1240
|
</tr>
|
@@ -1265,8 +1265,8 @@ pango_layout_get_font_description (<em class="parameter"><code><a class="link" h
|
|
1265
1265
|
</div>
|
1266
1266
|
<div class="refsect3">
|
1267
1267
|
<a name="pango-layout-get-font-description.returns"></a><h4>Returns</h4>
|
1268
|
-
<p>
|
1269
|
-
description, or <
|
1268
|
+
<p>a pointer to the layout's font
|
1269
|
+
description, or <code class="literal">NULL</code> if the font description from the layout's
|
1270
1270
|
context is inherited. This value is owned by the layout and must
|
1271
1271
|
not be modified or freed. </p>
|
1272
1272
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
@@ -1479,10 +1479,10 @@ were actually wrapped.</p>
|
|
1479
1479
|
<hr>
|
1480
1480
|
<div class="refsect2">
|
1481
1481
|
<a name="pango-layout-is-wrapped"></a><h3>pango_layout_is_wrapped ()</h3>
|
1482
|
-
<pre class="programlisting"><
|
1482
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1483
1483
|
pango_layout_is_wrapped (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1484
1484
|
<p>Queries whether the layout had to wrap any paragraphs.</p>
|
1485
|
-
<p>This returns <
|
1485
|
+
<p>This returns <code class="literal">TRUE</code> if a positive width is set on <em class="parameter"><code>layout</code></em>
|
1486
1486
|
,
|
1487
1487
|
ellipsization mode of <em class="parameter"><code>layout</code></em>
|
1488
1488
|
is set to <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>,
|
@@ -1505,7 +1505,7 @@ to be wrapped.</p>
|
|
1505
1505
|
</div>
|
1506
1506
|
<div class="refsect3">
|
1507
1507
|
<a name="pango-layout-is-wrapped.returns"></a><h4>Returns</h4>
|
1508
|
-
<p> <
|
1508
|
+
<p> <code class="literal">TRUE</code> if any paragraphs had to be wrapped, <code class="literal">FALSE</code>
|
1509
1509
|
otherwise.</p>
|
1510
1510
|
</div>
|
1511
1511
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
@@ -1588,10 +1588,10 @@ were actually ellipsized.</p>
|
|
1588
1588
|
<hr>
|
1589
1589
|
<div class="refsect2">
|
1590
1590
|
<a name="pango-layout-is-ellipsized"></a><h3>pango_layout_is_ellipsized ()</h3>
|
1591
|
-
<pre class="programlisting"><
|
1591
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1592
1592
|
pango_layout_is_ellipsized (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1593
1593
|
<p>Queries whether the layout had to ellipsize any paragraphs.</p>
|
1594
|
-
<p>This returns <
|
1594
|
+
<p>This returns <code class="literal">TRUE</code> if the ellipsization mode for <em class="parameter"><code>layout</code></em>
|
1595
1595
|
|
1596
1596
|
is not <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>, a positive width is set on <em class="parameter"><code>layout</code></em>
|
1597
1597
|
,
|
@@ -1614,7 +1614,7 @@ ellipsized.</p>
|
|
1614
1614
|
</div>
|
1615
1615
|
<div class="refsect3">
|
1616
1616
|
<a name="pango-layout-is-ellipsized.returns"></a><h4>Returns</h4>
|
1617
|
-
<p> <
|
1617
|
+
<p> <code class="literal">TRUE</code> if any paragraphs had to be ellipsized, <code class="literal">FALSE</code>
|
1618
1618
|
otherwise.</p>
|
1619
1619
|
</div>
|
1620
1620
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
@@ -1745,7 +1745,7 @@ layout.</p>
|
|
1745
1745
|
<a name="pango-layout-set-justify"></a><h3>pango_layout_set_justify ()</h3>
|
1746
1746
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1747
1747
|
pango_layout_set_justify (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1748
|
-
<em class="parameter"><code><
|
1748
|
+
<em class="parameter"><code><span class="type">gboolean</span> justify</code></em>);</pre>
|
1749
1749
|
<p>Sets whether each complete line should be stretched to
|
1750
1750
|
fill the entire width of the layout. This stretching is typically
|
1751
1751
|
done by adding whitespace, but for some scripts (such as Arabic),
|
@@ -1779,7 +1779,7 @@ older than 1.18.</p>
|
|
1779
1779
|
<hr>
|
1780
1780
|
<div class="refsect2">
|
1781
1781
|
<a name="pango-layout-get-justify"></a><h3>pango_layout_get_justify ()</h3>
|
1782
|
-
<pre class="programlisting"><
|
1782
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1783
1783
|
pango_layout_get_justify (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1784
1784
|
<p>Gets whether each complete line should be stretched to fill the entire
|
1785
1785
|
width of the layout.</p>
|
@@ -1808,7 +1808,7 @@ width of the layout.</p>
|
|
1808
1808
|
<a name="pango-layout-set-auto-dir"></a><h3>pango_layout_set_auto_dir ()</h3>
|
1809
1809
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1810
1810
|
pango_layout_set_auto_dir (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
1811
|
-
<em class="parameter"><code><
|
1811
|
+
<em class="parameter"><code><span class="type">gboolean</span> auto_dir</code></em>);</pre>
|
1812
1812
|
<p>Sets whether to calculate the bidirectional base direction
|
1813
1813
|
for the layout according to the contents of the layout;
|
1814
1814
|
when this flag is on (the default), then paragraphs in
|
@@ -1818,7 +1818,7 @@ when this flag is on (the default), then paragraphs in
|
|
1818
1818
|
layout, paragraphs with letters from other scripts will
|
1819
1819
|
have left-to-right layout. Paragraphs with only neutral
|
1820
1820
|
characters get their direction from the surrounding paragraphs.</p>
|
1821
|
-
<p>When <
|
1821
|
+
<p>When <code class="literal">FALSE</code>, the choice between left-to-right and
|
1822
1822
|
right-to-left layout is done according to the base direction
|
1823
1823
|
of the layout's <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. (See <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>).</p>
|
1824
1824
|
<p>When the auto-computed direction of a paragraph differs from the
|
@@ -1840,7 +1840,7 @@ base direction of the context, the interpretation of
|
|
1840
1840
|
</tr>
|
1841
1841
|
<tr>
|
1842
1842
|
<td class="parameter_name"><p>auto_dir</p></td>
|
1843
|
-
<td class="parameter_description"><p>if <
|
1843
|
+
<td class="parameter_description"><p>if <code class="literal">TRUE</code>, compute the bidirectional base direction
|
1844
1844
|
from the layout's contents.</p></td>
|
1845
1845
|
<td class="parameter_annotations"> </td>
|
1846
1846
|
</tr>
|
@@ -1852,7 +1852,7 @@ from the layout's contents.</p></td>
|
|
1852
1852
|
<hr>
|
1853
1853
|
<div class="refsect2">
|
1854
1854
|
<a name="pango-layout-get-auto-dir"></a><h3>pango_layout_get_auto_dir ()</h3>
|
1855
|
-
<pre class="programlisting"><
|
1855
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1856
1856
|
pango_layout_get_auto_dir (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1857
1857
|
<p>Gets whether to calculate the bidirectional base direction
|
1858
1858
|
for the layout according to the contents of the layout.
|
@@ -1874,8 +1874,8 @@ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" t
|
|
1874
1874
|
</div>
|
1875
1875
|
<div class="refsect3">
|
1876
1876
|
<a name="pango-layout-get-auto-dir.returns"></a><h4>Returns</h4>
|
1877
|
-
<p> <
|
1878
|
-
is computed from the layout's contents, <
|
1877
|
+
<p> <code class="literal">TRUE</code> if the bidirectional base direction
|
1878
|
+
is computed from the layout's contents, <code class="literal">FALSE</code> otherwise.</p>
|
1879
1879
|
</div>
|
1880
1880
|
<p class="since">Since: <a class="link" href="api-index-1-4.html#api-index-1.4">1.4</a></p>
|
1881
1881
|
</div>
|
@@ -1946,7 +1946,7 @@ pango_layout_set_tabs (<em class="parameter"><code><a class="link" href="pango-L
|
|
1946
1946
|
<p>Sets the tabs to use for <em class="parameter"><code>layout</code></em>
|
1947
1947
|
, overriding the default tabs
|
1948
1948
|
(by default, tabs are every 8 spaces). If <em class="parameter"><code>tabs</code></em>
|
1949
|
-
is <
|
1949
|
+
is <code class="literal">NULL</code>, the default
|
1950
1950
|
tabs are reinstated. <em class="parameter"><code>tabs</code></em>
|
1951
1951
|
is copied into the layout; you must
|
1952
1952
|
free your copy of <em class="parameter"><code>tabs</code></em>
|
@@ -1967,7 +1967,7 @@ free your copy of <em class="parameter"><code>tabs</code></em>
|
|
1967
1967
|
</tr>
|
1968
1968
|
<tr>
|
1969
1969
|
<td class="parameter_name"><p>tabs</p></td>
|
1970
|
-
<td class="parameter_description"><p>
|
1970
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, or <code class="literal">NULL</code>. </p></td>
|
1971
1971
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1972
1972
|
</tr>
|
1973
1973
|
</tbody>
|
@@ -1981,7 +1981,7 @@ free your copy of <em class="parameter"><code>tabs</code></em>
|
|
1981
1981
|
pango_layout_get_tabs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1982
1982
|
<p>Gets the current <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> used by this layout. If no
|
1983
1983
|
<a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> has been set, then the default tabs are in use
|
1984
|
-
and <
|
1984
|
+
and <code class="literal">NULL</code> is returned. Default tabs are every 8 spaces.
|
1985
1985
|
The return value should be freed with <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" title="pango_tab_array_free ()"><code class="function">pango_tab_array_free()</code></a>.</p>
|
1986
1986
|
<div class="refsect3">
|
1987
1987
|
<a name="pango-layout-get-tabs.parameters"></a><h4>Parameters</h4>
|
@@ -2000,8 +2000,8 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
2000
2000
|
</div>
|
2001
2001
|
<div class="refsect3">
|
2002
2002
|
<a name="pango-layout-get-tabs.returns"></a><h4>Returns</h4>
|
2003
|
-
<p>
|
2004
|
-
<
|
2003
|
+
<p>a copy of the tabs for this layout, or
|
2004
|
+
<code class="literal">NULL</code>. </p>
|
2005
2005
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
2006
2006
|
</div>
|
2007
2007
|
</div>
|
@@ -2011,9 +2011,9 @@ The return value should be freed with <a class="link" href="pango-Tab-Stops.html
|
|
2011
2011
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2012
2012
|
pango_layout_set_single_paragraph_mode
|
2013
2013
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2014
|
-
<em class="parameter"><code><
|
2014
|
+
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
|
2015
2015
|
<p>If <em class="parameter"><code>setting</code></em>
|
2016
|
-
is <
|
2016
|
+
is <code class="literal">TRUE</code>, do not treat newlines and similar characters
|
2017
2017
|
as paragraph separators; instead, keep all text in a single paragraph,
|
2018
2018
|
and display a glyph for paragraph separator characters. Used when
|
2019
2019
|
you want to allow editing of newlines on a single text line.</p>
|
@@ -2043,7 +2043,7 @@ you want to allow editing of newlines on a single text line.</p>
|
|
2043
2043
|
<hr>
|
2044
2044
|
<div class="refsect2">
|
2045
2045
|
<a name="pango-layout-get-single-paragraph-mode"></a><h3>pango_layout_get_single_paragraph_mode ()</h3>
|
2046
|
-
<pre class="programlisting"><
|
2046
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
2047
2047
|
pango_layout_get_single_paragraph_mode
|
2048
2048
|
(<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2049
2049
|
<p>Obtains the value set by <a class="link" href="pango-Layout-Objects.html#pango-layout-set-single-paragraph-mode" title="pango_layout_set_single_paragraph_mode ()"><code class="function">pango_layout_set_single_paragraph_mode()</code></a>.</p>
|
@@ -2064,8 +2064,8 @@ pango_layout_get_single_paragraph_mode
|
|
2064
2064
|
</div>
|
2065
2065
|
<div class="refsect3">
|
2066
2066
|
<a name="pango-layout-get-single-paragraph-mode.returns"></a><h4>Returns</h4>
|
2067
|
-
<p> <
|
2068
|
-
paragraph separator characters, <
|
2067
|
+
<p> <code class="literal">TRUE</code> if the layout does not break paragraphs at
|
2068
|
+
paragraph separator characters, <code class="literal">FALSE</code> otherwise.</p>
|
2069
2069
|
</div>
|
2070
2070
|
</div>
|
2071
2071
|
<hr>
|
@@ -2109,7 +2109,7 @@ certain font supports all the characters in the string.</p>
|
|
2109
2109
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2110
2110
|
pango_layout_get_log_attrs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2111
2111
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> **attrs</code></em>,
|
2112
|
-
<em class="parameter"><code><
|
2112
|
+
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);</pre>
|
2113
2113
|
<p>Retrieves an array of logical attributes for each character in
|
2114
2114
|
the <em class="parameter"><code>layout</code></em>
|
2115
2115
|
.</p>
|
@@ -2129,13 +2129,13 @@ the <em class="parameter"><code>layout</code></em>
|
|
2129
2129
|
</tr>
|
2130
2130
|
<tr>
|
2131
2131
|
<td class="parameter_name"><p>attrs</p></td>
|
2132
|
-
<td class="parameter_description"><p>
|
2133
|
-
This value must be freed with <
|
2132
|
+
<td class="parameter_description"><p>location to store a pointer to an array of logical attributes
|
2133
|
+
This value must be freed with <code class="function">g_free()</code>. </p></td>
|
2134
2134
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_attrs][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
|
2135
2135
|
</tr>
|
2136
2136
|
<tr>
|
2137
2137
|
<td class="parameter_name"><p>n_attrs</p></td>
|
2138
|
-
<td class="parameter_description"><p>
|
2138
|
+
<td class="parameter_description"><p>location to store the number of the attributes in the
|
2139
2139
|
array. (The stored value will be one more than the total number
|
2140
2140
|
of characters in the layout, since there need to be attributes
|
2141
2141
|
corresponding to both the position before the first character
|
@@ -2151,7 +2151,7 @@ and the position after the last character.). </p></td>
|
|
2151
2151
|
<a name="pango-layout-get-log-attrs-readonly"></a><h3>pango_layout_get_log_attrs_readonly ()</h3>
|
2152
2152
|
<pre class="programlisting">const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="returnvalue">PangoLogAttr</span></a> *
|
2153
2153
|
pango_layout_get_log_attrs_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2154
|
-
<em class="parameter"><code><
|
2154
|
+
<em class="parameter"><code><span class="type">gint</span> *n_attrs</code></em>);</pre>
|
2155
2155
|
<p>Retrieves an array of logical attributes for each character in
|
2156
2156
|
the <em class="parameter"><code>layout</code></em>
|
2157
2157
|
.</p>
|
@@ -2180,7 +2180,7 @@ the first character and the position after the last character.</p>
|
|
2180
2180
|
</tr>
|
2181
2181
|
<tr>
|
2182
2182
|
<td class="parameter_name"><p>n_attrs</p></td>
|
2183
|
-
<td class="parameter_description"><p>
|
2183
|
+
<td class="parameter_description"><p>location to store the number of the attributes in
|
2184
2184
|
the array. </p></td>
|
2185
2185
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
2186
2186
|
</tr>
|
@@ -2189,7 +2189,7 @@ the array. </p></td>
|
|
2189
2189
|
</div>
|
2190
2190
|
<div class="refsect3">
|
2191
2191
|
<a name="pango-layout-get-log-attrs-readonly.returns"></a><h4>Returns</h4>
|
2192
|
-
<p>
|
2192
|
+
<p>an array of logical attributes. </p>
|
2193
2193
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_attrs]</span></p>
|
2194
2194
|
</div>
|
2195
2195
|
<p class="since">Since: <a class="link" href="api-index-1-30.html#api-index-1.30">1.30</a></p>
|
@@ -2229,7 +2229,7 @@ then <code class="literal">pos->width</code> will be negative.</p>
|
|
2229
2229
|
</tr>
|
2230
2230
|
<tr>
|
2231
2231
|
<td class="parameter_name"><p>pos</p></td>
|
2232
|
-
<td class="parameter_description"><p>
|
2232
|
+
<td class="parameter_description"><p>rectangle in which to store the position of the grapheme. </p></td>
|
2233
2233
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
2234
2234
|
</tr>
|
2235
2235
|
</tbody>
|
@@ -2242,7 +2242,7 @@ then <code class="literal">pos->width</code> will be negative.</p>
|
|
2242
2242
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2243
2243
|
pango_layout_index_to_line_x (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2244
2244
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
2245
|
-
<em class="parameter"><code><
|
2245
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
2246
2246
|
<em class="parameter"><code><span class="type">int</span> *line</code></em>,
|
2247
2247
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
2248
2248
|
<p>Converts from byte <em class="parameter"><code>index_</code></em>
|
@@ -2277,14 +2277,14 @@ the leading of the grapheme.</p></td>
|
|
2277
2277
|
</tr>
|
2278
2278
|
<tr>
|
2279
2279
|
<td class="parameter_name"><p>line</p></td>
|
2280
|
-
<td class="parameter_description"><p>
|
2281
|
-
between 0 and pango_layout_get_line_count(layout) - 1), or <
|
2280
|
+
<td class="parameter_description"><p>location to store resulting line index. (which will
|
2281
|
+
between 0 and pango_layout_get_line_count(layout) - 1), or <code class="literal">NULL</code>. </p></td>
|
2282
2282
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2283
2283
|
</tr>
|
2284
2284
|
<tr>
|
2285
2285
|
<td class="parameter_name"><p>x_pos</p></td>
|
2286
|
-
<td class="parameter_description"><p>
|
2287
|
-
(<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> units per device unit), or <
|
2286
|
+
<td class="parameter_description"><p>location to store resulting position within line
|
2287
|
+
(<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> units per device unit), or <code class="literal">NULL</code>. </p></td>
|
2288
2288
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2289
2289
|
</tr>
|
2290
2290
|
</tbody>
|
@@ -2294,7 +2294,7 @@ between 0 and pango_layout_get_line_count(layout) - 1), or <a href="/home/vagran
|
|
2294
2294
|
<hr>
|
2295
2295
|
<div class="refsect2">
|
2296
2296
|
<a name="pango-layout-xy-to-index"></a><h3>pango_layout_xy_to_index ()</h3>
|
2297
|
-
<pre class="programlisting"><
|
2297
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
2298
2298
|
pango_layout_xy_to_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2299
2299
|
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
2300
2300
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
@@ -2307,7 +2307,7 @@ Y position is not inside the layout, the closest position is chosen
|
|
2307
2307
|
X position is not within the layout, then the start or the
|
2308
2308
|
end of the line is chosen as described for <a class="link" href="pango-Layout-Objects.html#pango-layout-line-x-to-index" title="pango_layout_line_x_to_index ()"><code class="function">pango_layout_line_x_to_index()</code></a>.
|
2309
2309
|
If either the X or Y positions were not inside the layout, then the
|
2310
|
-
function returns <
|
2310
|
+
function returns <code class="literal">FALSE</code>; on an exact hit, it returns <code class="literal">TRUE</code>.</p>
|
2311
2311
|
<div class="refsect3">
|
2312
2312
|
<a name="pango-layout-xy-to-index.parameters"></a><h4>Parameters</h4>
|
2313
2313
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2336,12 +2336,12 @@ from the top edge of the layout</p></td>
|
|
2336
2336
|
</tr>
|
2337
2337
|
<tr>
|
2338
2338
|
<td class="parameter_name"><p>index_</p></td>
|
2339
|
-
<td class="parameter_description"><p>
|
2339
|
+
<td class="parameter_description"><p>location to store calculated byte index. </p></td>
|
2340
2340
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
2341
2341
|
</tr>
|
2342
2342
|
<tr>
|
2343
2343
|
<td class="parameter_name"><p>trailing</p></td>
|
2344
|
-
<td class="parameter_description"><p>
|
2344
|
+
<td class="parameter_description"><p>location to store a integer indicating where
|
2345
2345
|
in the grapheme the user clicked. It will either
|
2346
2346
|
be zero, or the number of characters in the
|
2347
2347
|
grapheme. 0 represents the leading edge of the grapheme. </p></td>
|
@@ -2352,7 +2352,7 @@ grapheme. 0 represents the leading edge of the grapheme. </p></td>
|
|
2352
2352
|
</div>
|
2353
2353
|
<div class="refsect3">
|
2354
2354
|
<a name="pango-layout-xy-to-index.returns"></a><h4>Returns</h4>
|
2355
|
-
<p> <
|
2355
|
+
<p> <code class="literal">TRUE</code> if the coordinates were inside text, <code class="literal">FALSE</code> otherwise.</p>
|
2356
2356
|
</div>
|
2357
2357
|
</div>
|
2358
2358
|
<hr>
|
@@ -2392,13 +2392,13 @@ direction of the layout are inserted.</p>
|
|
2392
2392
|
</tr>
|
2393
2393
|
<tr>
|
2394
2394
|
<td class="parameter_name"><p>strong_pos</p></td>
|
2395
|
-
<td class="parameter_description"><p>
|
2396
|
-
(may be <
|
2395
|
+
<td class="parameter_description"><p>location to store the strong cursor position
|
2396
|
+
(may be <code class="literal">NULL</code>). </p></td>
|
2397
2397
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2398
2398
|
</tr>
|
2399
2399
|
<tr>
|
2400
2400
|
<td class="parameter_name"><p>weak_pos</p></td>
|
2401
|
-
<td class="parameter_description"><p>
|
2401
|
+
<td class="parameter_description"><p>location to store the weak cursor position (may be <code class="literal">NULL</code>). </p></td>
|
2402
2402
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2403
2403
|
</tr>
|
2404
2404
|
</tbody>
|
@@ -2410,7 +2410,7 @@ direction of the layout are inserted.</p>
|
|
2410
2410
|
<a name="pango-layout-move-cursor-visually"></a><h3>pango_layout_move_cursor_visually ()</h3>
|
2411
2411
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2412
2412
|
pango_layout_move_cursor_visually (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
2413
|
-
<em class="parameter"><code><
|
2413
|
+
<em class="parameter"><code><span class="type">gboolean</span> strong</code></em>,
|
2414
2414
|
<em class="parameter"><code><span class="type">int</span> old_index</code></em>,
|
2415
2415
|
<em class="parameter"><code><span class="type">int</span> old_trailing</code></em>,
|
2416
2416
|
<em class="parameter"><code><span class="type">int</span> direction</code></em>,
|
@@ -2474,15 +2474,15 @@ value indicates motion to the left.</p></td>
|
|
2474
2474
|
</tr>
|
2475
2475
|
<tr>
|
2476
2476
|
<td class="parameter_name"><p>new_index</p></td>
|
2477
|
-
<td class="parameter_description"><p>
|
2477
|
+
<td class="parameter_description"><p>location to store the new cursor byte index. A value of -1
|
2478
2478
|
indicates that the cursor has been moved off the beginning
|
2479
|
-
of the layout. A value of <
|
2479
|
+
of the layout. A value of <code class="literal">G_MAXINT</code> indicates that
|
2480
2480
|
the cursor has been moved off the end of the layout. </p></td>
|
2481
2481
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
2482
2482
|
</tr>
|
2483
2483
|
<tr>
|
2484
2484
|
<td class="parameter_name"><p>new_trailing</p></td>
|
2485
|
-
<td class="parameter_description"><p>
|
2485
|
+
<td class="parameter_description"><p>number of characters to move forward from the
|
2486
2486
|
location returned for <em class="parameter"><code>new_index</code></em>
|
2487
2487
|
to get the position
|
2488
2488
|
where the cursor should be displayed. This allows
|
@@ -2529,15 +2529,15 @@ coordinates begin at the top left corner of the layout.</p>
|
|
2529
2529
|
</tr>
|
2530
2530
|
<tr>
|
2531
2531
|
<td class="parameter_name"><p>ink_rect</p></td>
|
2532
|
-
<td class="parameter_description"><p>
|
2533
|
-
layout as drawn or <
|
2532
|
+
<td class="parameter_description"><p>rectangle used to store the extents of the
|
2533
|
+
layout as drawn or <code class="literal">NULL</code> to indicate that the result is
|
2534
2534
|
not needed. </p></td>
|
2535
2535
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2536
2536
|
</tr>
|
2537
2537
|
<tr>
|
2538
2538
|
<td class="parameter_name"><p>logical_rect</p></td>
|
2539
2539
|
<td class="parameter_description"><p>rectangle used to store the logical
|
2540
|
-
extents of the layout or <
|
2540
|
+
extents of the layout or <code class="literal">NULL</code> to indicate that the
|
2541
2541
|
result is not needed. </p></td>
|
2542
2542
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2543
2543
|
</tr>
|
@@ -2576,15 +2576,15 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
2576
2576
|
</tr>
|
2577
2577
|
<tr>
|
2578
2578
|
<td class="parameter_name"><p>ink_rect</p></td>
|
2579
|
-
<td class="parameter_description"><p>
|
2580
|
-
layout as drawn or <
|
2579
|
+
<td class="parameter_description"><p>rectangle used to store the extents of the
|
2580
|
+
layout as drawn or <code class="literal">NULL</code> to indicate that the result is
|
2581
2581
|
not needed. </p></td>
|
2582
2582
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2583
2583
|
</tr>
|
2584
2584
|
<tr>
|
2585
2585
|
<td class="parameter_name"><p>logical_rect</p></td>
|
2586
|
-
<td class="parameter_description"><p>
|
2587
|
-
extents of the layout or <
|
2586
|
+
<td class="parameter_description"><p>rectangle used to store the logical
|
2587
|
+
extents of the layout or <code class="literal">NULL</code> to indicate that the
|
2588
2588
|
result is not needed. </p></td>
|
2589
2589
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2590
2590
|
</tr>
|
@@ -2618,12 +2618,12 @@ is simply a convenience function around <a class="link" href="pango-Layout-Objec
|
|
2618
2618
|
</tr>
|
2619
2619
|
<tr>
|
2620
2620
|
<td class="parameter_name"><p>width</p></td>
|
2621
|
-
<td class="parameter_description"><p>
|
2621
|
+
<td class="parameter_description"><p>location to store the logical width, or <code class="literal">NULL</code>. </p></td>
|
2622
2622
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2623
2623
|
</tr>
|
2624
2624
|
<tr>
|
2625
2625
|
<td class="parameter_name"><p>height</p></td>
|
2626
|
-
<td class="parameter_description"><p>
|
2626
|
+
<td class="parameter_description"><p>location to store the logical height, or <code class="literal">NULL</code>. </p></td>
|
2627
2627
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2628
2628
|
</tr>
|
2629
2629
|
</tbody>
|
@@ -2658,12 +2658,12 @@ is simply a convenience function around
|
|
2658
2658
|
</tr>
|
2659
2659
|
<tr>
|
2660
2660
|
<td class="parameter_name"><p>width</p></td>
|
2661
|
-
<td class="parameter_description"><p>
|
2661
|
+
<td class="parameter_description"><p>location to store the logical width, or <code class="literal">NULL</code>. </p></td>
|
2662
2662
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2663
2663
|
</tr>
|
2664
2664
|
<tr>
|
2665
2665
|
<td class="parameter_name"><p>height</p></td>
|
2666
|
-
<td class="parameter_description"><p>
|
2666
|
+
<td class="parameter_description"><p>location to store the logical height, or <code class="literal">NULL</code>. </p></td>
|
2667
2667
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2668
2668
|
</tr>
|
2669
2669
|
</tbody>
|
@@ -2760,8 +2760,8 @@ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
|
2760
2760
|
</div>
|
2761
2761
|
<div class="refsect3">
|
2762
2762
|
<a name="pango-layout-get-line.returns"></a><h4>Returns</h4>
|
2763
|
-
<p>
|
2764
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <
|
2763
|
+
<p>the requested
|
2764
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <code class="literal">NULL</code> if the index is out of
|
2765
2765
|
range. This layout line can be ref'ed and retained,
|
2766
2766
|
but will become invalid if changes are made to the
|
2767
2767
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. </p>
|
@@ -2803,8 +2803,8 @@ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
|
2803
2803
|
</div>
|
2804
2804
|
<div class="refsect3">
|
2805
2805
|
<a name="pango-layout-get-line-readonly.returns"></a><h4>Returns</h4>
|
2806
|
-
<p>
|
2807
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <
|
2806
|
+
<p>the requested
|
2807
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <code class="literal">NULL</code> if the index is out of
|
2808
2808
|
range. This layout line can be ref'ed and retained,
|
2809
2809
|
but will become invalid if changes are made to the
|
2810
2810
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. No changes should be made to the line. </p>
|
@@ -2815,7 +2815,7 @@ but will become invalid if changes are made to the
|
|
2815
2815
|
<hr>
|
2816
2816
|
<div class="refsect2">
|
2817
2817
|
<a name="pango-layout-get-lines"></a><h3>pango_layout_get_lines ()</h3>
|
2818
|
-
<pre class="programlisting"><
|
2818
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> *
|
2819
2819
|
pango_layout_get_lines (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2820
2820
|
<p>Returns the lines of the <em class="parameter"><code>layout</code></em>
|
2821
2821
|
as a list.</p>
|
@@ -2838,7 +2838,7 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
|
|
2838
2838
|
</div>
|
2839
2839
|
<div class="refsect3">
|
2840
2840
|
<a name="pango-layout-get-lines.returns"></a><h4>Returns</h4>
|
2841
|
-
<p>
|
2841
|
+
<p>a <span class="type">GSList</span> containing
|
2842
2842
|
the lines in the layout. This points to internal data of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
2843
2843
|
and must be used with care. It will become invalid on any change to the layout's
|
2844
2844
|
text or properties. </p>
|
@@ -2848,7 +2848,7 @@ text or properties. </p>
|
|
2848
2848
|
<hr>
|
2849
2849
|
<div class="refsect2">
|
2850
2850
|
<a name="pango-layout-get-lines-readonly"></a><h3>pango_layout_get_lines_readonly ()</h3>
|
2851
|
-
<pre class="programlisting"><
|
2851
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> *
|
2852
2852
|
pango_layout_get_lines_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
2853
2853
|
<p>Returns the lines of the <em class="parameter"><code>layout</code></em>
|
2854
2854
|
as a list.</p>
|
@@ -2872,7 +2872,7 @@ to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
|
|
2872
2872
|
</div>
|
2873
2873
|
<div class="refsect3">
|
2874
2874
|
<a name="pango-layout-get-lines-readonly.returns"></a><h4>Returns</h4>
|
2875
|
-
<p>
|
2875
|
+
<p>a <span class="type">GSList</span> containing
|
2876
2876
|
the lines in the layout. This points to internal data of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> and
|
2877
2877
|
must be used with care. It will become invalid on any change to the layout's
|
2878
2878
|
text or properties. No changes should be made to the lines. </p>
|
@@ -2923,17 +2923,17 @@ pango_layout_iter_copy (<em class="parameter"><code><a class="link" href="pango-
|
|
2923
2923
|
</colgroup>
|
2924
2924
|
<tbody><tr>
|
2925
2925
|
<td class="parameter_name"><p>iter</p></td>
|
2926
|
-
<td class="parameter_description"><p>
|
2926
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <code class="literal">NULL</code>. </p></td>
|
2927
2927
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2928
2928
|
</tr></tbody>
|
2929
2929
|
</table></div>
|
2930
2930
|
</div>
|
2931
2931
|
<div class="refsect3">
|
2932
2932
|
<a name="pango-layout-iter-copy.returns"></a><h4>Returns</h4>
|
2933
|
-
<p>
|
2933
|
+
<p>the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>,
|
2934
2934
|
which should be freed with <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-free" title="pango_layout_iter_free ()"><code class="function">pango_layout_iter_free()</code></a>,
|
2935
|
-
or <
|
2936
|
-
was <
|
2935
|
+
or <code class="literal">NULL</code> if <em class="parameter"><code>iter</code></em>
|
2936
|
+
was <code class="literal">NULL</code>. </p>
|
2937
2937
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
2938
2938
|
</div>
|
2939
2939
|
<p class="since">Since: <a class="link" href="api-index-1-20.html#api-index-1.20">1.20</a></p>
|
@@ -2954,7 +2954,7 @@ pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-
|
|
2954
2954
|
</colgroup>
|
2955
2955
|
<tbody><tr>
|
2956
2956
|
<td class="parameter_name"><p>iter</p></td>
|
2957
|
-
<td class="parameter_description"><p>
|
2957
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <code class="literal">NULL</code>. </p></td>
|
2958
2958
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2959
2959
|
</tr></tbody>
|
2960
2960
|
</table></div>
|
@@ -2963,12 +2963,12 @@ pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-
|
|
2963
2963
|
<hr>
|
2964
2964
|
<div class="refsect2">
|
2965
2965
|
<a name="pango-layout-iter-next-run"></a><h3>pango_layout_iter_next_run ()</h3>
|
2966
|
-
<pre class="programlisting"><
|
2966
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
2967
2967
|
pango_layout_iter_next_run (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2968
2968
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
2969
2969
|
forward to the next run in visual order. If <em class="parameter"><code>iter</code></em>
|
2970
2970
|
was
|
2971
|
-
already at the end of the layout, returns <
|
2971
|
+
already at the end of the layout, returns <code class="literal">FALSE</code>.</p>
|
2972
2972
|
<div class="refsect3">
|
2973
2973
|
<a name="pango-layout-iter-next-run.parameters"></a><h4>Parameters</h4>
|
2974
2974
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2992,12 +2992,12 @@ already at the end of the layout, returns <a href="/home/vagrant/ruby-gnome2.win
|
|
2992
2992
|
<hr>
|
2993
2993
|
<div class="refsect2">
|
2994
2994
|
<a name="pango-layout-iter-next-char"></a><h3>pango_layout_iter_next_char ()</h3>
|
2995
|
-
<pre class="programlisting"><
|
2995
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
2996
2996
|
pango_layout_iter_next_char (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
2997
2997
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
2998
2998
|
forward to the next character in visual order. If <em class="parameter"><code>iter</code></em>
|
2999
2999
|
was already at
|
3000
|
-
the end of the layout, returns <
|
3000
|
+
the end of the layout, returns <code class="literal">FALSE</code>.</p>
|
3001
3001
|
<div class="refsect3">
|
3002
3002
|
<a name="pango-layout-iter-next-char.parameters"></a><h4>Parameters</h4>
|
3003
3003
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3021,12 +3021,12 @@ the end of the layout, returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/ve
|
|
3021
3021
|
<hr>
|
3022
3022
|
<div class="refsect2">
|
3023
3023
|
<a name="pango-layout-iter-next-cluster"></a><h3>pango_layout_iter_next_cluster ()</h3>
|
3024
|
-
<pre class="programlisting"><
|
3024
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
3025
3025
|
pango_layout_iter_next_cluster (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3026
3026
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
3027
3027
|
forward to the next cluster in visual order. If <em class="parameter"><code>iter</code></em>
|
3028
3028
|
|
3029
|
-
was already at the end of the layout, returns <
|
3029
|
+
was already at the end of the layout, returns <code class="literal">FALSE</code>.</p>
|
3030
3030
|
<div class="refsect3">
|
3031
3031
|
<a name="pango-layout-iter-next-cluster.parameters"></a><h4>Parameters</h4>
|
3032
3032
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3050,12 +3050,12 @@ was already at the end of the layout, returns <a href="/home/vagrant/ruby-gnome2
|
|
3050
3050
|
<hr>
|
3051
3051
|
<div class="refsect2">
|
3052
3052
|
<a name="pango-layout-iter-next-line"></a><h3>pango_layout_iter_next_line ()</h3>
|
3053
|
-
<pre class="programlisting"><
|
3053
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
3054
3054
|
pango_layout_iter_next_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3055
3055
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
3056
3056
|
forward to the start of the next line. If <em class="parameter"><code>iter</code></em>
|
3057
3057
|
is
|
3058
|
-
already on the last line, returns <
|
3058
|
+
already on the last line, returns <code class="literal">FALSE</code>.</p>
|
3059
3059
|
<div class="refsect3">
|
3060
3060
|
<a name="pango-layout-iter-next-line.parameters"></a><h4>Parameters</h4>
|
3061
3061
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3079,7 +3079,7 @@ already on the last line, returns <a href="/home/vagrant/ruby-gnome2.win64/glib2
|
|
3079
3079
|
<hr>
|
3080
3080
|
<div class="refsect2">
|
3081
3081
|
<a name="pango-layout-iter-at-last-line"></a><h3>pango_layout_iter_at_last_line ()</h3>
|
3082
|
-
<pre class="programlisting"><
|
3082
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
3083
3083
|
pango_layout_iter_at_last_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3084
3084
|
<p>Determines whether <em class="parameter"><code>iter</code></em>
|
3085
3085
|
is on the last line of the layout.</p>
|
@@ -3100,7 +3100,7 @@ pango_layout_iter_at_last_line (<em class="parameter"><code><a class="link" href
|
|
3100
3100
|
</div>
|
3101
3101
|
<div class="refsect3">
|
3102
3102
|
<a name="pango-layout-iter-at-last-line.returns"></a><h4>Returns</h4>
|
3103
|
-
<p> <
|
3103
|
+
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em>
|
3104
3104
|
is on the last line.</p>
|
3105
3105
|
</div>
|
3106
3106
|
</div>
|
@@ -3112,7 +3112,7 @@ pango_layout_iter_get_index (<em class="parameter"><code><a class="link" href="p
|
|
3112
3112
|
<p>Gets the current byte index. Note that iterating forward by char
|
3113
3113
|
moves in visual order, not logical order, so indexes may not be
|
3114
3114
|
sequential. Also, the index may be equal to the length of the text
|
3115
|
-
in the layout, if on the <
|
3115
|
+
in the layout, if on the <code class="literal">NULL</code> run (see <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()"><code class="function">pango_layout_iter_get_run()</code></a>).</p>
|
3116
3116
|
<div class="refsect3">
|
3117
3117
|
<a name="pango-layout-iter-get-index.parameters"></a><h4>Parameters</h4>
|
3118
3118
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3166,8 +3166,8 @@ coordinates (origin at top left of the entire layout).</p>
|
|
3166
3166
|
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
|
3167
3167
|
pango_layout_iter_get_run (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3168
3168
|
<p>Gets the current run. When iterating by run, at the end of each
|
3169
|
-
line, there's a position with a <
|
3170
|
-
<
|
3169
|
+
line, there's a position with a <code class="literal">NULL</code> run, so this function can return
|
3170
|
+
<code class="literal">NULL</code>. The <code class="literal">NULL</code> run at the end of each line ensures that all lines have
|
3171
3171
|
at least one run, even lines consisting of only a newline.</p>
|
3172
3172
|
<p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run-readonly" title="pango_layout_iter_get_run_readonly ()"><code class="function">pango_layout_iter_get_run_readonly()</code></a> if you do not plan
|
3173
3173
|
to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
@@ -3188,7 +3188,7 @@ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
|
3188
3188
|
</div>
|
3189
3189
|
<div class="refsect3">
|
3190
3190
|
<a name="pango-layout-iter-get-run.returns"></a><h4>Returns</h4>
|
3191
|
-
<p>
|
3191
|
+
<p>the current run. </p>
|
3192
3192
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
3193
3193
|
</div>
|
3194
3194
|
</div>
|
@@ -3198,8 +3198,8 @@ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
|
3198
3198
|
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
|
3199
3199
|
pango_layout_iter_get_run_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
|
3200
3200
|
<p>Gets the current run. When iterating by run, at the end of each
|
3201
|
-
line, there's a position with a <
|
3202
|
-
<
|
3201
|
+
line, there's a position with a <code class="literal">NULL</code> run, so this function can return
|
3202
|
+
<code class="literal">NULL</code>. The <code class="literal">NULL</code> run at the end of each line ensures that all lines have
|
3203
3203
|
at least one run, even lines consisting of only a newline.</p>
|
3204
3204
|
<p>This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()"><code class="function">pango_layout_iter_get_run()</code></a>,
|
3205
3205
|
but the user is not expected
|
@@ -3221,7 +3221,7 @@ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
|
|
3221
3221
|
</div>
|
3222
3222
|
<div class="refsect3">
|
3223
3223
|
<a name="pango-layout-iter-get-run-readonly.returns"></a><h4>Returns</h4>
|
3224
|
-
<p>
|
3224
|
+
<p>the current run, that
|
3225
3225
|
should not be modified. </p>
|
3226
3226
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
3227
3227
|
</div>
|
@@ -3281,7 +3281,7 @@ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
|
|
3281
3281
|
</div>
|
3282
3282
|
<div class="refsect3">
|
3283
3283
|
<a name="pango-layout-iter-get-line-readonly.returns"></a><h4>Returns</h4>
|
3284
|
-
<p>
|
3284
|
+
<p>the current line, that should not be
|
3285
3285
|
modified. </p>
|
3286
3286
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3287
3287
|
</div>
|
@@ -3310,7 +3310,7 @@ pango_layout_iter_get_layout (<em class="parameter"><code><a class="link" href="
|
|
3310
3310
|
</div>
|
3311
3311
|
<div class="refsect3">
|
3312
3312
|
<a name="pango-layout-iter-get-layout.returns"></a><h4>Returns</h4>
|
3313
|
-
<p>
|
3313
|
+
<p>the layout associated with <em class="parameter"><code>iter</code></em>
|
3314
3314
|
. </p>
|
3315
3315
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3316
3316
|
</div>
|
@@ -3342,7 +3342,7 @@ down to the level of clusters.</p>
|
|
3342
3342
|
</tr>
|
3343
3343
|
<tr>
|
3344
3344
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3345
|
-
<td class="parameter_description"><p>
|
3345
|
+
<td class="parameter_description"><p>rectangle to fill with
|
3346
3346
|
logical extents. </p></td>
|
3347
3347
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
3348
3348
|
</tr>
|
@@ -3375,12 +3375,12 @@ pango_layout_iter_get_cluster_extents (<em class="parameter"><code><a class="lin
|
|
3375
3375
|
</tr>
|
3376
3376
|
<tr>
|
3377
3377
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3378
|
-
<td class="parameter_description"><p>
|
3378
|
+
<td class="parameter_description"><p>rectangle to fill with ink extents, or <code class="literal">NULL</code>. </p></td>
|
3379
3379
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3380
3380
|
</tr>
|
3381
3381
|
<tr>
|
3382
3382
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3383
|
-
<td class="parameter_description"><p>
|
3383
|
+
<td class="parameter_description"><p>rectangle to fill with logical extents, or <code class="literal">NULL</code>. </p></td>
|
3384
3384
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3385
3385
|
</tr>
|
3386
3386
|
</tbody>
|
@@ -3412,12 +3412,12 @@ pango_layout_iter_get_run_extents (<em class="parameter"><code><a class="link" h
|
|
3412
3412
|
</tr>
|
3413
3413
|
<tr>
|
3414
3414
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3415
|
-
<td class="parameter_description"><p>
|
3415
|
+
<td class="parameter_description"><p>rectangle to fill with ink extents, or <code class="literal">NULL</code>. </p></td>
|
3416
3416
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3417
3417
|
</tr>
|
3418
3418
|
<tr>
|
3419
3419
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3420
|
-
<td class="parameter_description"><p>
|
3420
|
+
<td class="parameter_description"><p>rectangle to fill with logical extents, or <code class="literal">NULL</code>. </p></td>
|
3421
3421
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3422
3422
|
</tr>
|
3423
3423
|
</tbody>
|
@@ -3454,12 +3454,12 @@ entire layout).</p>
|
|
3454
3454
|
</tr>
|
3455
3455
|
<tr>
|
3456
3456
|
<td class="parameter_name"><p>y0_</p></td>
|
3457
|
-
<td class="parameter_description"><p>
|
3457
|
+
<td class="parameter_description"><p>start of line, or <code class="literal">NULL</code>. </p></td>
|
3458
3458
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3459
3459
|
</tr>
|
3460
3460
|
<tr>
|
3461
3461
|
<td class="parameter_name"><p>y1_</p></td>
|
3462
|
-
<td class="parameter_description"><p>
|
3462
|
+
<td class="parameter_description"><p>end of line, or <code class="literal">NULL</code>. </p></td>
|
3463
3463
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3464
3464
|
</tr>
|
3465
3465
|
</tbody>
|
@@ -3476,7 +3476,7 @@ pango_layout_iter_get_line_extents (<em class="parameter"><code><a class="link"
|
|
3476
3476
|
<p>Obtains the extents of the current line. <em class="parameter"><code>ink_rect</code></em>
|
3477
3477
|
or <em class="parameter"><code>logical_rect</code></em>
|
3478
3478
|
|
3479
|
-
can be <
|
3479
|
+
can be <code class="literal">NULL</code> if you aren't interested in them. Extents are in layout
|
3480
3480
|
coordinates (origin is the top-left corner of the entire
|
3481
3481
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>). Thus the extents returned by this function will be
|
3482
3482
|
the same width/height but not at the same x/y as the extents
|
@@ -3497,12 +3497,12 @@ returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-
|
|
3497
3497
|
</tr>
|
3498
3498
|
<tr>
|
3499
3499
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3500
|
-
<td class="parameter_description"><p>
|
3500
|
+
<td class="parameter_description"><p>rectangle to fill with ink extents, or <code class="literal">NULL</code>. </p></td>
|
3501
3501
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3502
3502
|
</tr>
|
3503
3503
|
<tr>
|
3504
3504
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3505
|
-
<td class="parameter_description"><p>
|
3505
|
+
<td class="parameter_description"><p>rectangle to fill with logical extents, or <code class="literal">NULL</code>. </p></td>
|
3506
3506
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3507
3507
|
</tr>
|
3508
3508
|
</tbody>
|
@@ -3519,7 +3519,7 @@ pango_layout_iter_get_layout_extents (<em class="parameter"><code><a class="link
|
|
3519
3519
|
<p>Obtains the extents of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> being iterated
|
3520
3520
|
over. <em class="parameter"><code>ink_rect</code></em>
|
3521
3521
|
or <em class="parameter"><code>logical_rect</code></em>
|
3522
|
-
can be <
|
3522
|
+
can be <code class="literal">NULL</code> if you
|
3523
3523
|
aren't interested in them.</p>
|
3524
3524
|
<div class="refsect3">
|
3525
3525
|
<a name="pango-layout-iter-get-layout-extents.parameters"></a><h4>Parameters</h4>
|
@@ -3537,14 +3537,14 @@ aren't interested in them.</p>
|
|
3537
3537
|
</tr>
|
3538
3538
|
<tr>
|
3539
3539
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3540
|
-
<td class="parameter_description"><p>
|
3541
|
-
or <
|
3540
|
+
<td class="parameter_description"><p>rectangle to fill with ink extents,
|
3541
|
+
or <code class="literal">NULL</code>. </p></td>
|
3542
3542
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3543
3543
|
</tr>
|
3544
3544
|
<tr>
|
3545
3545
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3546
|
-
<td class="parameter_description"><p>
|
3547
|
-
extents, or <
|
3546
|
+
<td class="parameter_description"><p>rectangle to fill with logical
|
3547
|
+
extents, or <code class="literal">NULL</code>. </p></td>
|
3548
3548
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3549
3549
|
</tr>
|
3550
3550
|
</tbody>
|
@@ -3567,7 +3567,7 @@ pango_layout_line_ref (<em class="parameter"><code><a class="link" href="pango-L
|
|
3567
3567
|
</colgroup>
|
3568
3568
|
<tbody><tr>
|
3569
3569
|
<td class="parameter_name"><p>line</p></td>
|
3570
|
-
<td class="parameter_description"><p>
|
3570
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, may be <code class="literal">NULL</code>. </p></td>
|
3571
3571
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
3572
3572
|
</tr></tbody>
|
3573
3573
|
</table></div>
|
@@ -3628,14 +3628,14 @@ of the rectangles.</p>
|
|
3628
3628
|
</tr>
|
3629
3629
|
<tr>
|
3630
3630
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3631
|
-
<td class="parameter_description"><p>
|
3632
|
-
the glyph string as drawn, or <
|
3631
|
+
<td class="parameter_description"><p>rectangle used to store the extents of
|
3632
|
+
the glyph string as drawn, or <code class="literal">NULL</code>. </p></td>
|
3633
3633
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3634
3634
|
</tr>
|
3635
3635
|
<tr>
|
3636
3636
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3637
3637
|
<td class="parameter_description"><p>rectangle used to store the logical
|
3638
|
-
extents of the glyph string, or <
|
3638
|
+
extents of the glyph string, or <code class="literal">NULL</code>. </p></td>
|
3639
3639
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3640
3640
|
</tr>
|
3641
3641
|
</tbody>
|
@@ -3673,14 +3673,14 @@ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#
|
|
3673
3673
|
</tr>
|
3674
3674
|
<tr>
|
3675
3675
|
<td class="parameter_name"><p>ink_rect</p></td>
|
3676
|
-
<td class="parameter_description"><p>
|
3677
|
-
the glyph string as drawn, or <
|
3676
|
+
<td class="parameter_description"><p>rectangle used to store the extents of
|
3677
|
+
the glyph string as drawn, or <code class="literal">NULL</code>. </p></td>
|
3678
3678
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3679
3679
|
</tr>
|
3680
3680
|
<tr>
|
3681
3681
|
<td class="parameter_name"><p>logical_rect</p></td>
|
3682
|
-
<td class="parameter_description"><p>
|
3683
|
-
extents of the glyph string, or <
|
3682
|
+
<td class="parameter_description"><p>rectangle used to store the logical
|
3683
|
+
extents of the glyph string, or <code class="literal">NULL</code>. </p></td>
|
3684
3684
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3685
3685
|
</tr>
|
3686
3686
|
</tbody>
|
@@ -3693,7 +3693,7 @@ extents of the glyph string, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/v
|
|
3693
3693
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3694
3694
|
pango_layout_line_index_to_x (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
3695
3695
|
<em class="parameter"><code><span class="type">int</span> index_</code></em>,
|
3696
|
-
<em class="parameter"><code><
|
3696
|
+
<em class="parameter"><code><span class="type">gboolean</span> trailing</code></em>,
|
3697
3697
|
<em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
|
3698
3698
|
<p>Converts an index within a line to a X position.</p>
|
3699
3699
|
<div class="refsect3">
|
@@ -3724,7 +3724,7 @@ if 0, the leading of the grapheme.</p></td>
|
|
3724
3724
|
</tr>
|
3725
3725
|
<tr>
|
3726
3726
|
<td class="parameter_name"><p>x_pos</p></td>
|
3727
|
-
<td class="parameter_description"><p>
|
3727
|
+
<td class="parameter_description"><p>location to store the x_offset (in Pango unit). </p></td>
|
3728
3728
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
3729
3729
|
</tr>
|
3730
3730
|
</tbody>
|
@@ -3734,7 +3734,7 @@ if 0, the leading of the grapheme.</p></td>
|
|
3734
3734
|
<hr>
|
3735
3735
|
<div class="refsect2">
|
3736
3736
|
<a name="pango-layout-line-x-to-index"></a><h3>pango_layout_line_x_to_index ()</h3>
|
3737
|
-
<pre class="programlisting"><
|
3737
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
3738
3738
|
pango_layout_line_x_to_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
3739
3739
|
<em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
|
3740
3740
|
<em class="parameter"><code><span class="type">int</span> *index_</code></em>,
|
@@ -3778,13 +3778,13 @@ from the left edge of the line.</p></td>
|
|
3778
3778
|
</tr>
|
3779
3779
|
<tr>
|
3780
3780
|
<td class="parameter_name"><p>index_</p></td>
|
3781
|
-
<td class="parameter_description"><p>
|
3781
|
+
<td class="parameter_description"><p>location to store calculated byte index for
|
3782
3782
|
the grapheme in which the user clicked. </p></td>
|
3783
3783
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
3784
3784
|
</tr>
|
3785
3785
|
<tr>
|
3786
3786
|
<td class="parameter_name"><p>trailing</p></td>
|
3787
|
-
<td class="parameter_description"><p>
|
3787
|
+
<td class="parameter_description"><p>location to store an integer indicating where
|
3788
3788
|
in the grapheme the user clicked. It will either
|
3789
3789
|
be zero, or the number of characters in the
|
3790
3790
|
grapheme. 0 represents the leading edge of the grapheme. </p></td>
|
@@ -3795,8 +3795,8 @@ grapheme. 0 represents the leading edge of the grapheme. </p></td>
|
|
3795
3795
|
</div>
|
3796
3796
|
<div class="refsect3">
|
3797
3797
|
<a name="pango-layout-line-x-to-index.returns"></a><h4>Returns</h4>
|
3798
|
-
<p> <
|
3799
|
-
was outside the line, <
|
3798
|
+
<p> <code class="literal">FALSE</code> if <em class="parameter"><code>x_pos</code></em>
|
3799
|
+
was outside the line, <code class="literal">TRUE</code> if inside</p>
|
3800
3800
|
</div>
|
3801
3801
|
</div>
|
3802
3802
|
<hr>
|
@@ -3847,11 +3847,11 @@ trailing edge of the last character.</p></td>
|
|
3847
3847
|
</tr>
|
3848
3848
|
<tr>
|
3849
3849
|
<td class="parameter_name"><p>ranges</p></td>
|
3850
|
-
<td class="parameter_description"><p>
|
3850
|
+
<td class="parameter_description"><p>location to store a pointer to an array of ranges.
|
3851
3851
|
The array will be of length <code class="literal">2*n_ranges</code>,
|
3852
3852
|
with each range starting at <code class="literal">(*ranges)[2*n]</code>
|
3853
3853
|
and of width <code class="literal">(*ranges)[2*n + 1] - (*ranges)[2*n]</code>.
|
3854
|
-
This array must be freed with <
|
3854
|
+
This array must be freed with <code class="function">g_free()</code>. The coordinates are relative
|
3855
3855
|
to the layout and are in Pango units. </p></td>
|
3856
3856
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_ranges][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
3857
3857
|
</tr>
|
@@ -4074,32 +4074,32 @@ code specific to each rendering system.</p>
|
|
4074
4074
|
<tbody>
|
4075
4075
|
<tr>
|
4076
4076
|
<td class="struct_member_name"><p><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *<em class="structfield"><code><a name="PangoLayoutLine-struct.layout"></a>layout</code></em>;</p></td>
|
4077
|
-
<td class="struct_member_description"><p>
|
4077
|
+
<td class="struct_member_description"><p>the layout this line belongs to, might be <code class="literal">NULL</code>. </p></td>
|
4078
4078
|
<td class="struct_member_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
4079
4079
|
</tr>
|
4080
4080
|
<tr>
|
4081
|
-
<td class="struct_member_name"><p><
|
4081
|
+
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="PangoLayoutLine-struct.start-index"></a>start_index</code></em>;</p></td>
|
4082
4082
|
<td class="struct_member_description"><p>start of line as byte index into layout->text</p></td>
|
4083
4083
|
<td class="struct_member_annotations"> </td>
|
4084
4084
|
</tr>
|
4085
4085
|
<tr>
|
4086
|
-
<td class="struct_member_name"><p><
|
4086
|
+
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="PangoLayoutLine-struct.length"></a>length</code></em>;</p></td>
|
4087
4087
|
<td class="struct_member_description"><p>length of line in bytes</p></td>
|
4088
4088
|
<td class="struct_member_annotations"> </td>
|
4089
4089
|
</tr>
|
4090
4090
|
<tr>
|
4091
|
-
<td class="struct_member_name"><p><
|
4092
|
-
<td class="struct_member_description"><p>
|
4091
|
+
<td class="struct_member_name"><p><span class="type">GSList</span> *<em class="structfield"><code><a name="PangoLayoutLine-struct.runs"></a>runs</code></em>;</p></td>
|
4092
|
+
<td class="struct_member_description"><p>list of runs in the
|
4093
4093
|
line, from left to right. </p></td>
|
4094
4094
|
<td class="struct_member_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.LayoutRun]</span></td>
|
4095
4095
|
</tr>
|
4096
4096
|
<tr>
|
4097
|
-
<td class="struct_member_name"><p><
|
4098
|
-
<td class="struct_member_description"><p><
|
4097
|
+
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="PangoLayoutLine-struct.is-paragraph-start"></a>is_paragraph_start</code></em> : 1;</p></td>
|
4098
|
+
<td class="struct_member_description"><p><span class="type">TRUE</span> if this is the first line of the paragraph</p></td>
|
4099
4099
|
<td class="struct_member_annotations"> </td>
|
4100
4100
|
</tr>
|
4101
4101
|
<tr>
|
4102
|
-
<td class="struct_member_name"><p><
|
4102
|
+
<td class="struct_member_name"><p><span class="type">guint</span> <em class="structfield"><code><a name="PangoLayoutLine-struct.resolved-dir"></a>resolved_dir</code></em> : 3;</p></td>
|
4103
4103
|
<td class="struct_member_description"><p><span class="type">Resolved</span> PangoDirection of line</p></td>
|
4104
4104
|
<td class="struct_member_annotations"> </td>
|
4105
4105
|
</tr>
|
@@ -4120,6 +4120,6 @@ See the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span cla
|
|
4120
4120
|
</div>
|
4121
4121
|
</div>
|
4122
4122
|
<div class="footer">
|
4123
|
-
<hr>Generated by GTK-Doc V1.
|
4123
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
4124
4124
|
</body>
|
4125
4125
|
</html>
|