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
@@ -1,689 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Point: Graphene Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
-
<link rel="home" href="index.html" title="Graphene Reference Manual">
|
8
|
-
<link rel="up" href="ch01.html" title="Graphene">
|
9
|
-
<link rel="prev" href="ch01.html" title="Graphene">
|
10
|
-
<link rel="next" href="graphene-Point3D.html" title="Point3D">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
</head>
|
14
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
-
<td width="100%" align="left" class="shortcuts">
|
17
|
-
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
-
<a href="#graphene-Point.description" class="shortcut">Description</a></span>
|
19
|
-
</td>
|
20
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
-
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
-
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
-
<td><a accesskey="n" href="graphene-Point3D.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
-
</tr></table>
|
25
|
-
<div class="refentry">
|
26
|
-
<a name="graphene-Point"></a><div class="titlepage"></div>
|
27
|
-
<div class="refnamediv"><table width="100%"><tr>
|
28
|
-
<td valign="top">
|
29
|
-
<h2><span class="refentrytitle"><a name="graphene-Point.top_of_page"></a>Point</span></h2>
|
30
|
-
<p>Point — A point with 2 coordinates</p>
|
31
|
-
</td>
|
32
|
-
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
-
</tr></table></div>
|
34
|
-
<div class="refsect1">
|
35
|
-
<a name="graphene-Point.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
|
-
<colgroup>
|
38
|
-
<col width="150px" class="functions_return">
|
39
|
-
<col class="functions_name">
|
40
|
-
</colgroup>
|
41
|
-
<tbody>
|
42
|
-
<tr>
|
43
|
-
<td class="define_keyword">#define</td>
|
44
|
-
<td class="function_name">
|
45
|
-
<a class="link" href="graphene-Point.html#GRAPHENE-POINT-INIT:CAPS" title="GRAPHENE_POINT_INIT()">GRAPHENE_POINT_INIT</a><span class="c_punctuation">()</span>
|
46
|
-
</td>
|
47
|
-
</tr>
|
48
|
-
<tr>
|
49
|
-
<td class="function_type">
|
50
|
-
<a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
51
|
-
</td>
|
52
|
-
<td class="function_name">
|
53
|
-
<a class="link" href="graphene-Point.html#graphene-point-alloc" title="graphene_point_alloc ()">graphene_point_alloc</a> <span class="c_punctuation">()</span>
|
54
|
-
</td>
|
55
|
-
</tr>
|
56
|
-
<tr>
|
57
|
-
<td class="function_type">
|
58
|
-
<span class="returnvalue">void</span>
|
59
|
-
</td>
|
60
|
-
<td class="function_name">
|
61
|
-
<a class="link" href="graphene-Point.html#graphene-point-free" title="graphene_point_free ()">graphene_point_free</a> <span class="c_punctuation">()</span>
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
<tr>
|
65
|
-
<td class="function_type">
|
66
|
-
<a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
67
|
-
</td>
|
68
|
-
<td class="function_name">
|
69
|
-
<a class="link" href="graphene-Point.html#graphene-point-init" title="graphene_point_init ()">graphene_point_init</a> <span class="c_punctuation">()</span>
|
70
|
-
</td>
|
71
|
-
</tr>
|
72
|
-
<tr>
|
73
|
-
<td class="function_type">
|
74
|
-
<a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
75
|
-
</td>
|
76
|
-
<td class="function_name">
|
77
|
-
<a class="link" href="graphene-Point.html#graphene-point-init-from-point" title="graphene_point_init_from_point ()">graphene_point_init_from_point</a> <span class="c_punctuation">()</span>
|
78
|
-
</td>
|
79
|
-
</tr>
|
80
|
-
<tr>
|
81
|
-
<td class="function_type">
|
82
|
-
<a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
83
|
-
</td>
|
84
|
-
<td class="function_name">
|
85
|
-
<a class="link" href="graphene-Point.html#graphene-point-init-from-vec2" title="graphene_point_init_from_vec2 ()">graphene_point_init_from_vec2</a> <span class="c_punctuation">()</span>
|
86
|
-
</td>
|
87
|
-
</tr>
|
88
|
-
<tr>
|
89
|
-
<td class="function_type">
|
90
|
-
<span class="returnvalue">bool</span>
|
91
|
-
</td>
|
92
|
-
<td class="function_name">
|
93
|
-
<a class="link" href="graphene-Point.html#graphene-point-equal" title="graphene_point_equal ()">graphene_point_equal</a> <span class="c_punctuation">()</span>
|
94
|
-
</td>
|
95
|
-
</tr>
|
96
|
-
<tr>
|
97
|
-
<td class="function_type">
|
98
|
-
<span class="returnvalue">float</span>
|
99
|
-
</td>
|
100
|
-
<td class="function_name">
|
101
|
-
<a class="link" href="graphene-Point.html#graphene-point-distance" title="graphene_point_distance ()">graphene_point_distance</a> <span class="c_punctuation">()</span>
|
102
|
-
</td>
|
103
|
-
</tr>
|
104
|
-
<tr>
|
105
|
-
<td class="function_type">
|
106
|
-
<span class="returnvalue">bool</span>
|
107
|
-
</td>
|
108
|
-
<td class="function_name">
|
109
|
-
<a class="link" href="graphene-Point.html#graphene-point-near" title="graphene_point_near ()">graphene_point_near</a> <span class="c_punctuation">()</span>
|
110
|
-
</td>
|
111
|
-
</tr>
|
112
|
-
<tr>
|
113
|
-
<td class="function_type">
|
114
|
-
<span class="returnvalue">void</span>
|
115
|
-
</td>
|
116
|
-
<td class="function_name">
|
117
|
-
<a class="link" href="graphene-Point.html#graphene-point-interpolate" title="graphene_point_interpolate ()">graphene_point_interpolate</a> <span class="c_punctuation">()</span>
|
118
|
-
</td>
|
119
|
-
</tr>
|
120
|
-
<tr>
|
121
|
-
<td class="function_type">
|
122
|
-
<span class="returnvalue">void</span>
|
123
|
-
</td>
|
124
|
-
<td class="function_name">
|
125
|
-
<a class="link" href="graphene-Point.html#graphene-point-to-vec2" title="graphene_point_to_vec2 ()">graphene_point_to_vec2</a> <span class="c_punctuation">()</span>
|
126
|
-
</td>
|
127
|
-
</tr>
|
128
|
-
<tr>
|
129
|
-
<td class="function_type">const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
130
|
-
</td>
|
131
|
-
<td class="function_name">
|
132
|
-
<a class="link" href="graphene-Point.html#graphene-point-zero" title="graphene_point_zero ()">graphene_point_zero</a> <span class="c_punctuation">()</span>
|
133
|
-
</td>
|
134
|
-
</tr>
|
135
|
-
</tbody>
|
136
|
-
</table></div>
|
137
|
-
</div>
|
138
|
-
<div class="refsect1">
|
139
|
-
<a name="graphene-Point.other"></a><h2>Types and Values</h2>
|
140
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
141
|
-
<colgroup>
|
142
|
-
<col width="150px" class="name">
|
143
|
-
<col class="description">
|
144
|
-
</colgroup>
|
145
|
-
<tbody>
|
146
|
-
<tr>
|
147
|
-
<td class="define_keyword">#define</td>
|
148
|
-
<td class="function_name"><a class="link" href="graphene-Point.html#GRAPHENE-POINT-INIT-ZERO:CAPS" title="GRAPHENE_POINT_INIT_ZERO">GRAPHENE_POINT_INIT_ZERO</a></td>
|
149
|
-
</tr>
|
150
|
-
<tr>
|
151
|
-
<td class="datatype_keyword"> </td>
|
152
|
-
<td class="function_name"><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t">graphene_point_t</a></td>
|
153
|
-
</tr>
|
154
|
-
</tbody>
|
155
|
-
</table></div>
|
156
|
-
</div>
|
157
|
-
<div class="refsect1">
|
158
|
-
<a name="graphene-Point.includes"></a><h2>Includes</h2>
|
159
|
-
<pre class="synopsis">#include <graphene.h>
|
160
|
-
</pre>
|
161
|
-
</div>
|
162
|
-
<div class="refsect1">
|
163
|
-
<a name="graphene-Point.description"></a><h2>Description</h2>
|
164
|
-
<p><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> is a data structure capable of describing a point with
|
165
|
-
two coordinates:</p>
|
166
|
-
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
167
|
-
<li class="listitem"><p><em class="parameter"><code>graphene_point_t.x</code></em>
|
168
|
-
</p></li>
|
169
|
-
<li class="listitem"><p><em class="parameter"><code>graphene_point_t.y</code></em>
|
170
|
-
</p></li>
|
171
|
-
</ul></div>
|
172
|
-
</div>
|
173
|
-
<div class="refsect1">
|
174
|
-
<a name="graphene-Point.functions_details"></a><h2>Functions</h2>
|
175
|
-
<div class="refsect2">
|
176
|
-
<a name="GRAPHENE-POINT-INIT:CAPS"></a><h3>GRAPHENE_POINT_INIT()</h3>
|
177
|
-
<pre class="programlisting">#define GRAPHENE_POINT_INIT(_x,_y) (graphene_point_t) { .x = (_x), .y = (_y) }
|
178
|
-
</pre>
|
179
|
-
<p>Initializes a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> with the given coordinates
|
180
|
-
when declaring it, e.g:</p>
|
181
|
-
<div class="informalexample">
|
182
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
183
|
-
<tbody>
|
184
|
-
<tr>
|
185
|
-
<td class="listing_lines" align="right"><pre>1</pre></td>
|
186
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">graphene_point_t</span><span class="normal"> p </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="graphene-Point.html#GRAPHENE-POINT-INIT:CAPS">GRAPHENE_POINT_INIT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">10</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">);</span></pre></td>
|
187
|
-
</tr>
|
188
|
-
</tbody>
|
189
|
-
</table>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
<p></p>
|
193
|
-
<div class="refsect3">
|
194
|
-
<a name="GRAPHENE-POINT-INIT.parameters"></a><h4>Parameters</h4>
|
195
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
196
|
-
<colgroup>
|
197
|
-
<col width="150px" class="parameters_name">
|
198
|
-
<col class="parameters_description">
|
199
|
-
<col width="200px" class="parameters_annotations">
|
200
|
-
</colgroup>
|
201
|
-
<tbody>
|
202
|
-
<tr>
|
203
|
-
<td class="parameter_name"><p>_x</p></td>
|
204
|
-
<td class="parameter_description"><p>the X coordinate</p></td>
|
205
|
-
<td class="parameter_annotations"> </td>
|
206
|
-
</tr>
|
207
|
-
<tr>
|
208
|
-
<td class="parameter_name"><p>_y</p></td>
|
209
|
-
<td class="parameter_description"><p>the Y coordinate</p></td>
|
210
|
-
<td class="parameter_annotations"> </td>
|
211
|
-
</tr>
|
212
|
-
</tbody>
|
213
|
-
</table></div>
|
214
|
-
</div>
|
215
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
216
|
-
</div>
|
217
|
-
<hr>
|
218
|
-
<div class="refsect2">
|
219
|
-
<a name="graphene-point-alloc"></a><h3>graphene_point_alloc ()</h3>
|
220
|
-
<pre class="programlisting"><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
221
|
-
graphene_point_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
222
|
-
<p>Allocates a new <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> structure.</p>
|
223
|
-
<p>The coordinates of the returned point are (0, 0).</p>
|
224
|
-
<p>It's possible to chain this function with <a class="link" href="graphene-Point.html#graphene-point-init" title="graphene_point_init ()"><code class="function">graphene_point_init()</code></a>
|
225
|
-
or <a class="link" href="graphene-Point.html#graphene-point-init-from-point" title="graphene_point_init_from_point ()"><code class="function">graphene_point_init_from_point()</code></a>, e.g.:</p>
|
226
|
-
<div class="informalexample">
|
227
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
228
|
-
<tbody>
|
229
|
-
<tr>
|
230
|
-
<td class="listing_lines" align="right"><pre>1
|
231
|
-
2
|
232
|
-
3
|
233
|
-
4
|
234
|
-
5
|
235
|
-
6
|
236
|
-
7
|
237
|
-
8
|
238
|
-
9
|
239
|
-
10
|
240
|
-
11</pre></td>
|
241
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="graphene-Point.html#graphene-point-t">graphene_point_t</a> </span><span class="symbol">*</span>
|
242
|
-
<span class="function">point_new</span><span class="normal"> </span><span class="symbol">(</span><span class="type">float</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> </span><span class="type">float</span><span class="normal"> y</span><span class="symbol">)</span>
|
243
|
-
<span class="cbracket">{</span>
|
244
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="graphene-Point.html#graphene-point-init">graphene_point_init</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="graphene-Point.html#graphene-point-alloc">graphene_point_alloc</a></span><span class="normal"> </span><span class="symbol">(),</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
245
|
-
<span class="cbracket">}</span>
|
246
|
-
|
247
|
-
<span class="normal"><a href="graphene-Point.html#graphene-point-t">graphene_point_t</a> </span><span class="symbol">*</span>
|
248
|
-
<span class="function">point_copy</span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">graphene_point_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">p</span><span class="symbol">)</span>
|
249
|
-
<span class="cbracket">{</span>
|
250
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="graphene-Point.html#graphene-point-init-from-point">graphene_point_init_from_point</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="graphene-Point.html#graphene-point-alloc">graphene_point_alloc</a></span><span class="normal"> </span><span class="symbol">(),</span><span class="normal"> p</span><span class="symbol">);</span>
|
251
|
-
<span class="cbracket">}</span></pre></td>
|
252
|
-
</tr>
|
253
|
-
</tbody>
|
254
|
-
</table>
|
255
|
-
</div>
|
256
|
-
|
257
|
-
<p></p>
|
258
|
-
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
|
259
|
-
<div class="refsect3">
|
260
|
-
<a name="graphene-point-alloc.returns"></a><h4>Returns</h4>
|
261
|
-
<p> the newly allocated <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a>.
|
262
|
-
Use <a class="link" href="graphene-Point.html#graphene-point-free" title="graphene_point_free ()"><code class="function">graphene_point_free()</code></a> to free the resources allocated by
|
263
|
-
this function. </p>
|
264
|
-
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
265
|
-
</div>
|
266
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
267
|
-
</div>
|
268
|
-
<hr>
|
269
|
-
<div class="refsect2">
|
270
|
-
<a name="graphene-point-free"></a><h3>graphene_point_free ()</h3>
|
271
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
272
|
-
graphene_point_free (<em class="parameter"><code><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *p</code></em>);</pre>
|
273
|
-
<p>Frees the resources allocated by <a class="link" href="graphene-Point.html#graphene-point-alloc" title="graphene_point_alloc ()"><code class="function">graphene_point_alloc()</code></a>.</p>
|
274
|
-
<div class="refsect3">
|
275
|
-
<a name="graphene-point-free.parameters"></a><h4>Parameters</h4>
|
276
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
277
|
-
<colgroup>
|
278
|
-
<col width="150px" class="parameters_name">
|
279
|
-
<col class="parameters_description">
|
280
|
-
<col width="200px" class="parameters_annotations">
|
281
|
-
</colgroup>
|
282
|
-
<tbody><tr>
|
283
|
-
<td class="parameter_name"><p>p</p></td>
|
284
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
285
|
-
<td class="parameter_annotations"> </td>
|
286
|
-
</tr></tbody>
|
287
|
-
</table></div>
|
288
|
-
</div>
|
289
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
290
|
-
</div>
|
291
|
-
<hr>
|
292
|
-
<div class="refsect2">
|
293
|
-
<a name="graphene-point-init"></a><h3>graphene_point_init ()</h3>
|
294
|
-
<pre class="programlisting"><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
295
|
-
graphene_point_init (<em class="parameter"><code><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *p</code></em>,
|
296
|
-
<em class="parameter"><code><span class="type">float</span> x</code></em>,
|
297
|
-
<em class="parameter"><code><span class="type">float</span> y</code></em>);</pre>
|
298
|
-
<p>Initializes <em class="parameter"><code>p</code></em>
|
299
|
-
to the given <em class="parameter"><code>x</code></em>
|
300
|
-
and <em class="parameter"><code>y</code></em>
|
301
|
-
coordinates.</p>
|
302
|
-
<p>It's safe to call this function multiple times.</p>
|
303
|
-
<div class="refsect3">
|
304
|
-
<a name="graphene-point-init.parameters"></a><h4>Parameters</h4>
|
305
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
306
|
-
<colgroup>
|
307
|
-
<col width="150px" class="parameters_name">
|
308
|
-
<col class="parameters_description">
|
309
|
-
<col width="200px" class="parameters_annotations">
|
310
|
-
</colgroup>
|
311
|
-
<tbody>
|
312
|
-
<tr>
|
313
|
-
<td class="parameter_name"><p>p</p></td>
|
314
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
315
|
-
<td class="parameter_annotations"> </td>
|
316
|
-
</tr>
|
317
|
-
<tr>
|
318
|
-
<td class="parameter_name"><p>x</p></td>
|
319
|
-
<td class="parameter_description"><p>the X coordinate</p></td>
|
320
|
-
<td class="parameter_annotations"> </td>
|
321
|
-
</tr>
|
322
|
-
<tr>
|
323
|
-
<td class="parameter_name"><p>y</p></td>
|
324
|
-
<td class="parameter_description"><p>the Y coordinate</p></td>
|
325
|
-
<td class="parameter_annotations"> </td>
|
326
|
-
</tr>
|
327
|
-
</tbody>
|
328
|
-
</table></div>
|
329
|
-
</div>
|
330
|
-
<div class="refsect3">
|
331
|
-
<a name="graphene-point-init.returns"></a><h4>Returns</h4>
|
332
|
-
<p> the initialized point. </p>
|
333
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
334
|
-
</div>
|
335
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
336
|
-
</div>
|
337
|
-
<hr>
|
338
|
-
<div class="refsect2">
|
339
|
-
<a name="graphene-point-init-from-point"></a><h3>graphene_point_init_from_point ()</h3>
|
340
|
-
<pre class="programlisting"><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
341
|
-
graphene_point_init_from_point (<em class="parameter"><code><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *p</code></em>,
|
342
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *src</code></em>);</pre>
|
343
|
-
<p>Initializes <em class="parameter"><code>p</code></em>
|
344
|
-
with the same coordinates of <em class="parameter"><code>src</code></em>
|
345
|
-
.</p>
|
346
|
-
<div class="refsect3">
|
347
|
-
<a name="graphene-point-init-from-point.parameters"></a><h4>Parameters</h4>
|
348
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
349
|
-
<colgroup>
|
350
|
-
<col width="150px" class="parameters_name">
|
351
|
-
<col class="parameters_description">
|
352
|
-
<col width="200px" class="parameters_annotations">
|
353
|
-
</colgroup>
|
354
|
-
<tbody>
|
355
|
-
<tr>
|
356
|
-
<td class="parameter_name"><p>p</p></td>
|
357
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
358
|
-
<td class="parameter_annotations"> </td>
|
359
|
-
</tr>
|
360
|
-
<tr>
|
361
|
-
<td class="parameter_name"><p>src</p></td>
|
362
|
-
<td class="parameter_description"><p>the <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> to use</p></td>
|
363
|
-
<td class="parameter_annotations"> </td>
|
364
|
-
</tr>
|
365
|
-
</tbody>
|
366
|
-
</table></div>
|
367
|
-
</div>
|
368
|
-
<div class="refsect3">
|
369
|
-
<a name="graphene-point-init-from-point.returns"></a><h4>Returns</h4>
|
370
|
-
<p> the initialized point. </p>
|
371
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
372
|
-
</div>
|
373
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
374
|
-
</div>
|
375
|
-
<hr>
|
376
|
-
<div class="refsect2">
|
377
|
-
<a name="graphene-point-init-from-vec2"></a><h3>graphene_point_init_from_vec2 ()</h3>
|
378
|
-
<pre class="programlisting"><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
379
|
-
graphene_point_init_from_vec2 (<em class="parameter"><code><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *p</code></em>,
|
380
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec2-t" title="graphene_vec2_t"><span class="type">graphene_vec2_t</span></a> *src</code></em>);</pre>
|
381
|
-
<p>Initializes <em class="parameter"><code>p</code></em>
|
382
|
-
with the coordinates inside the given <a class="link" href="graphene-Vectors.html#graphene-vec2-t" title="graphene_vec2_t"><span class="type">graphene_vec2_t</span></a>.</p>
|
383
|
-
<div class="refsect3">
|
384
|
-
<a name="graphene-point-init-from-vec2.parameters"></a><h4>Parameters</h4>
|
385
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
386
|
-
<colgroup>
|
387
|
-
<col width="150px" class="parameters_name">
|
388
|
-
<col class="parameters_description">
|
389
|
-
<col width="200px" class="parameters_annotations">
|
390
|
-
</colgroup>
|
391
|
-
<tbody>
|
392
|
-
<tr>
|
393
|
-
<td class="parameter_name"><p>p</p></td>
|
394
|
-
<td class="parameter_description"><p>the <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> to initialize</p></td>
|
395
|
-
<td class="parameter_annotations"> </td>
|
396
|
-
</tr>
|
397
|
-
<tr>
|
398
|
-
<td class="parameter_name"><p>src</p></td>
|
399
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Vectors.html#graphene-vec2-t" title="graphene_vec2_t"><span class="type">graphene_vec2_t</span></a></p></td>
|
400
|
-
<td class="parameter_annotations"> </td>
|
401
|
-
</tr>
|
402
|
-
</tbody>
|
403
|
-
</table></div>
|
404
|
-
</div>
|
405
|
-
<div class="refsect3">
|
406
|
-
<a name="graphene-point-init-from-vec2.returns"></a><h4>Returns</h4>
|
407
|
-
<p> the initialized point. </p>
|
408
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
409
|
-
</div>
|
410
|
-
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
|
411
|
-
</div>
|
412
|
-
<hr>
|
413
|
-
<div class="refsect2">
|
414
|
-
<a name="graphene-point-equal"></a><h3>graphene_point_equal ()</h3>
|
415
|
-
<pre class="programlisting"><span class="returnvalue">bool</span>
|
416
|
-
graphene_point_equal (<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *a</code></em>,
|
417
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *b</code></em>);</pre>
|
418
|
-
<p>Checks if the two points <em class="parameter"><code>a</code></em>
|
419
|
-
and <em class="parameter"><code>b</code></em>
|
420
|
-
point to the same
|
421
|
-
coordinates.</p>
|
422
|
-
<p>This function accounts for floating point fluctuations; if
|
423
|
-
you want to control the fuzziness of the match, you can use
|
424
|
-
<a class="link" href="graphene-Point.html#graphene-point-near" title="graphene_point_near ()"><code class="function">graphene_point_near()</code></a> instead.</p>
|
425
|
-
<div class="refsect3">
|
426
|
-
<a name="graphene-point-equal.parameters"></a><h4>Parameters</h4>
|
427
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
428
|
-
<colgroup>
|
429
|
-
<col width="150px" class="parameters_name">
|
430
|
-
<col class="parameters_description">
|
431
|
-
<col width="200px" class="parameters_annotations">
|
432
|
-
</colgroup>
|
433
|
-
<tbody>
|
434
|
-
<tr>
|
435
|
-
<td class="parameter_name"><p>a</p></td>
|
436
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
437
|
-
<td class="parameter_annotations"> </td>
|
438
|
-
</tr>
|
439
|
-
<tr>
|
440
|
-
<td class="parameter_name"><p>b</p></td>
|
441
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
442
|
-
<td class="parameter_annotations"> </td>
|
443
|
-
</tr>
|
444
|
-
</tbody>
|
445
|
-
</table></div>
|
446
|
-
</div>
|
447
|
-
<div class="refsect3">
|
448
|
-
<a name="graphene-point-equal.returns"></a><h4>Returns</h4>
|
449
|
-
<p> <code class="literal">true</code> if the points have the same coordinates</p>
|
450
|
-
</div>
|
451
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
452
|
-
</div>
|
453
|
-
<hr>
|
454
|
-
<div class="refsect2">
|
455
|
-
<a name="graphene-point-distance"></a><h3>graphene_point_distance ()</h3>
|
456
|
-
<pre class="programlisting"><span class="returnvalue">float</span>
|
457
|
-
graphene_point_distance (<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *a</code></em>,
|
458
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *b</code></em>,
|
459
|
-
<em class="parameter"><code><span class="type">float</span> *d_x</code></em>,
|
460
|
-
<em class="parameter"><code><span class="type">float</span> *d_y</code></em>);</pre>
|
461
|
-
<p>Computes the distance between <em class="parameter"><code>a</code></em>
|
462
|
-
and <em class="parameter"><code>b</code></em>
|
463
|
-
.</p>
|
464
|
-
<div class="refsect3">
|
465
|
-
<a name="graphene-point-distance.parameters"></a><h4>Parameters</h4>
|
466
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
467
|
-
<colgroup>
|
468
|
-
<col width="150px" class="parameters_name">
|
469
|
-
<col class="parameters_description">
|
470
|
-
<col width="200px" class="parameters_annotations">
|
471
|
-
</colgroup>
|
472
|
-
<tbody>
|
473
|
-
<tr>
|
474
|
-
<td class="parameter_name"><p>a</p></td>
|
475
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
476
|
-
<td class="parameter_annotations"> </td>
|
477
|
-
</tr>
|
478
|
-
<tr>
|
479
|
-
<td class="parameter_name"><p>b</p></td>
|
480
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
481
|
-
<td class="parameter_annotations"> </td>
|
482
|
-
</tr>
|
483
|
-
<tr>
|
484
|
-
<td class="parameter_name"><p>d_x</p></td>
|
485
|
-
<td class="parameter_description"><p> distance component on the X axis. </p></td>
|
486
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
487
|
-
</tr>
|
488
|
-
<tr>
|
489
|
-
<td class="parameter_name"><p>d_y</p></td>
|
490
|
-
<td class="parameter_description"><p> distance component on the Y axis. </p></td>
|
491
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
492
|
-
</tr>
|
493
|
-
</tbody>
|
494
|
-
</table></div>
|
495
|
-
</div>
|
496
|
-
<div class="refsect3">
|
497
|
-
<a name="graphene-point-distance.returns"></a><h4>Returns</h4>
|
498
|
-
<p> the distance between the two points</p>
|
499
|
-
</div>
|
500
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
501
|
-
</div>
|
502
|
-
<hr>
|
503
|
-
<div class="refsect2">
|
504
|
-
<a name="graphene-point-near"></a><h3>graphene_point_near ()</h3>
|
505
|
-
<pre class="programlisting"><span class="returnvalue">bool</span>
|
506
|
-
graphene_point_near (<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *a</code></em>,
|
507
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *b</code></em>,
|
508
|
-
<em class="parameter"><code><span class="type">float</span> epsilon</code></em>);</pre>
|
509
|
-
<p>Checks whether the two points <em class="parameter"><code>a</code></em>
|
510
|
-
and <em class="parameter"><code>b</code></em>
|
511
|
-
are within
|
512
|
-
the threshold of <em class="parameter"><code>epsilon</code></em>
|
513
|
-
.</p>
|
514
|
-
<div class="refsect3">
|
515
|
-
<a name="graphene-point-near.parameters"></a><h4>Parameters</h4>
|
516
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
517
|
-
<colgroup>
|
518
|
-
<col width="150px" class="parameters_name">
|
519
|
-
<col class="parameters_description">
|
520
|
-
<col width="200px" class="parameters_annotations">
|
521
|
-
</colgroup>
|
522
|
-
<tbody>
|
523
|
-
<tr>
|
524
|
-
<td class="parameter_name"><p>a</p></td>
|
525
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
526
|
-
<td class="parameter_annotations"> </td>
|
527
|
-
</tr>
|
528
|
-
<tr>
|
529
|
-
<td class="parameter_name"><p>b</p></td>
|
530
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
531
|
-
<td class="parameter_annotations"> </td>
|
532
|
-
</tr>
|
533
|
-
<tr>
|
534
|
-
<td class="parameter_name"><p>epsilon</p></td>
|
535
|
-
<td class="parameter_description"><p>threshold between the two points</p></td>
|
536
|
-
<td class="parameter_annotations"> </td>
|
537
|
-
</tr>
|
538
|
-
</tbody>
|
539
|
-
</table></div>
|
540
|
-
</div>
|
541
|
-
<div class="refsect3">
|
542
|
-
<a name="graphene-point-near.returns"></a><h4>Returns</h4>
|
543
|
-
<p> <code class="literal">true</code> if the distance is within <em class="parameter"><code>epsilon</code></em>
|
544
|
-
</p>
|
545
|
-
</div>
|
546
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
547
|
-
</div>
|
548
|
-
<hr>
|
549
|
-
<div class="refsect2">
|
550
|
-
<a name="graphene-point-interpolate"></a><h3>graphene_point_interpolate ()</h3>
|
551
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
552
|
-
graphene_point_interpolate (<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *a</code></em>,
|
553
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *b</code></em>,
|
554
|
-
<em class="parameter"><code><span class="type">double</span> factor</code></em>,
|
555
|
-
<em class="parameter"><code><a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *res</code></em>);</pre>
|
556
|
-
<p>Linearly interpolates the coordinates of <em class="parameter"><code>a</code></em>
|
557
|
-
and <em class="parameter"><code>b</code></em>
|
558
|
-
using the
|
559
|
-
given <em class="parameter"><code>factor</code></em>
|
560
|
-
.</p>
|
561
|
-
<div class="refsect3">
|
562
|
-
<a name="graphene-point-interpolate.parameters"></a><h4>Parameters</h4>
|
563
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
564
|
-
<colgroup>
|
565
|
-
<col width="150px" class="parameters_name">
|
566
|
-
<col class="parameters_description">
|
567
|
-
<col width="200px" class="parameters_annotations">
|
568
|
-
</colgroup>
|
569
|
-
<tbody>
|
570
|
-
<tr>
|
571
|
-
<td class="parameter_name"><p>a</p></td>
|
572
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
573
|
-
<td class="parameter_annotations"> </td>
|
574
|
-
</tr>
|
575
|
-
<tr>
|
576
|
-
<td class="parameter_name"><p>b</p></td>
|
577
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
578
|
-
<td class="parameter_annotations"> </td>
|
579
|
-
</tr>
|
580
|
-
<tr>
|
581
|
-
<td class="parameter_name"><p>factor</p></td>
|
582
|
-
<td class="parameter_description"><p>the linear interpolation factor</p></td>
|
583
|
-
<td class="parameter_annotations"> </td>
|
584
|
-
</tr>
|
585
|
-
<tr>
|
586
|
-
<td class="parameter_name"><p>res</p></td>
|
587
|
-
<td class="parameter_description"><p> return location for the interpolated
|
588
|
-
point. </p></td>
|
589
|
-
<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>
|
590
|
-
</tr>
|
591
|
-
</tbody>
|
592
|
-
</table></div>
|
593
|
-
</div>
|
594
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
595
|
-
</div>
|
596
|
-
<hr>
|
597
|
-
<div class="refsect2">
|
598
|
-
<a name="graphene-point-to-vec2"></a><h3>graphene_point_to_vec2 ()</h3>
|
599
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
600
|
-
graphene_point_to_vec2 (<em class="parameter"><code>const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> *p</code></em>,
|
601
|
-
<em class="parameter"><code><a class="link" href="graphene-Vectors.html#graphene-vec2-t" title="graphene_vec2_t"><span class="type">graphene_vec2_t</span></a> *v</code></em>);</pre>
|
602
|
-
<p>Stores the coordinates of the given <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> into a
|
603
|
-
<a class="link" href="graphene-Vectors.html#graphene-vec2-t" title="graphene_vec2_t"><span class="type">graphene_vec2_t</span></a>.</p>
|
604
|
-
<div class="refsect3">
|
605
|
-
<a name="graphene-point-to-vec2.parameters"></a><h4>Parameters</h4>
|
606
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
607
|
-
<colgroup>
|
608
|
-
<col width="150px" class="parameters_name">
|
609
|
-
<col class="parameters_description">
|
610
|
-
<col width="200px" class="parameters_annotations">
|
611
|
-
</colgroup>
|
612
|
-
<tbody>
|
613
|
-
<tr>
|
614
|
-
<td class="parameter_name"><p>p</p></td>
|
615
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a></p></td>
|
616
|
-
<td class="parameter_annotations"> </td>
|
617
|
-
</tr>
|
618
|
-
<tr>
|
619
|
-
<td class="parameter_name"><p>v</p></td>
|
620
|
-
<td class="parameter_description"><p> return location for the vertex. </p></td>
|
621
|
-
<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>
|
622
|
-
</tr>
|
623
|
-
</tbody>
|
624
|
-
</table></div>
|
625
|
-
</div>
|
626
|
-
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
|
627
|
-
</div>
|
628
|
-
<hr>
|
629
|
-
<div class="refsect2">
|
630
|
-
<a name="graphene-point-zero"></a><h3>graphene_point_zero ()</h3>
|
631
|
-
<pre class="programlisting">const <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="returnvalue">graphene_point_t</span></a> *
|
632
|
-
graphene_point_zero (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
633
|
-
<p>Returns a point fixed at (0, 0).</p>
|
634
|
-
<div class="refsect3">
|
635
|
-
<a name="graphene-point-zero.returns"></a><h4>Returns</h4>
|
636
|
-
<p> a fixed point. </p>
|
637
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
638
|
-
</div>
|
639
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
640
|
-
</div>
|
641
|
-
</div>
|
642
|
-
<div class="refsect1">
|
643
|
-
<a name="graphene-Point.other_details"></a><h2>Types and Values</h2>
|
644
|
-
<div class="refsect2">
|
645
|
-
<a name="GRAPHENE-POINT-INIT-ZERO:CAPS"></a><h3>GRAPHENE_POINT_INIT_ZERO</h3>
|
646
|
-
<pre class="programlisting">#define GRAPHENE_POINT_INIT_ZERO GRAPHENE_POINT_INIT (0.f, 0.f)
|
647
|
-
</pre>
|
648
|
-
<p>Initializes a <a class="link" href="graphene-Point.html#graphene-point-t" title="graphene_point_t"><span class="type">graphene_point_t</span></a> to (0, 0) when declaring it.</p>
|
649
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
650
|
-
</div>
|
651
|
-
<hr>
|
652
|
-
<div class="refsect2">
|
653
|
-
<a name="graphene-point-t"></a><h3>graphene_point_t</h3>
|
654
|
-
<pre class="programlisting">typedef struct {
|
655
|
-
float x;
|
656
|
-
float y;
|
657
|
-
} graphene_point_t;
|
658
|
-
</pre>
|
659
|
-
<p>A point with two coordinates.</p>
|
660
|
-
<div class="refsect3">
|
661
|
-
<a name="graphene-point-t.members"></a><h4>Members</h4>
|
662
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
663
|
-
<colgroup>
|
664
|
-
<col width="300px" class="struct_members_name">
|
665
|
-
<col class="struct_members_description">
|
666
|
-
<col width="200px" class="struct_members_annotations">
|
667
|
-
</colgroup>
|
668
|
-
<tbody>
|
669
|
-
<tr>
|
670
|
-
<td class="struct_member_name"><p><span class="type">float</span> <em class="structfield"><code><a name="graphene-point-t.x"></a>x</code></em>;</p></td>
|
671
|
-
<td class="struct_member_description"><p>the X coordinate of the point</p></td>
|
672
|
-
<td class="struct_member_annotations"> </td>
|
673
|
-
</tr>
|
674
|
-
<tr>
|
675
|
-
<td class="struct_member_name"><p><span class="type">float</span> <em class="structfield"><code><a name="graphene-point-t.y"></a>y</code></em>;</p></td>
|
676
|
-
<td class="struct_member_description"><p>the Y coordinate of the point</p></td>
|
677
|
-
<td class="struct_member_annotations"> </td>
|
678
|
-
</tr>
|
679
|
-
</tbody>
|
680
|
-
</table></div>
|
681
|
-
</div>
|
682
|
-
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
|
683
|
-
</div>
|
684
|
-
</div>
|
685
|
-
</div>
|
686
|
-
<div class="footer">
|
687
|
-
<hr>Generated by GTK-Doc V1.25</div>
|
688
|
-
</body>
|
689
|
-
</html>
|