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,705 +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>Triangle: 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="graphene-Quad.html" title="Quad">
|
10
|
-
<link rel="next" href="graphene-Box.html" title="Box">
|
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-Triangle.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="graphene-Quad.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
-
<td><a accesskey="n" href="graphene-Box.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-Triangle"></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-Triangle.top_of_page"></a>Triangle</span></h2>
|
30
|
-
<p>Triangle — A triangle described by 3D points</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-Triangle.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="function_type">
|
44
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="returnvalue">graphene_triangle_t</span></a> *
|
45
|
-
</td>
|
46
|
-
<td class="function_name">
|
47
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-alloc" title="graphene_triangle_alloc ()">graphene_triangle_alloc</a> <span class="c_punctuation">()</span>
|
48
|
-
</td>
|
49
|
-
</tr>
|
50
|
-
<tr>
|
51
|
-
<td class="function_type">
|
52
|
-
<span class="returnvalue">void</span>
|
53
|
-
</td>
|
54
|
-
<td class="function_name">
|
55
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-free" title="graphene_triangle_free ()">graphene_triangle_free</a> <span class="c_punctuation">()</span>
|
56
|
-
</td>
|
57
|
-
</tr>
|
58
|
-
<tr>
|
59
|
-
<td class="function_type">
|
60
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="returnvalue">graphene_triangle_t</span></a> *
|
61
|
-
</td>
|
62
|
-
<td class="function_name">
|
63
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-init-from-point3d" title="graphene_triangle_init_from_point3d ()">graphene_triangle_init_from_point3d</a> <span class="c_punctuation">()</span>
|
64
|
-
</td>
|
65
|
-
</tr>
|
66
|
-
<tr>
|
67
|
-
<td class="function_type">
|
68
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="returnvalue">graphene_triangle_t</span></a> *
|
69
|
-
</td>
|
70
|
-
<td class="function_name">
|
71
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-init-from-vec3" title="graphene_triangle_init_from_vec3 ()">graphene_triangle_init_from_vec3</a> <span class="c_punctuation">()</span>
|
72
|
-
</td>
|
73
|
-
</tr>
|
74
|
-
<tr>
|
75
|
-
<td class="function_type">
|
76
|
-
<span class="returnvalue">void</span>
|
77
|
-
</td>
|
78
|
-
<td class="function_name">
|
79
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-points" title="graphene_triangle_get_points ()">graphene_triangle_get_points</a> <span class="c_punctuation">()</span>
|
80
|
-
</td>
|
81
|
-
</tr>
|
82
|
-
<tr>
|
83
|
-
<td class="function_type">
|
84
|
-
<span class="returnvalue">void</span>
|
85
|
-
</td>
|
86
|
-
<td class="function_name">
|
87
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-vertices" title="graphene_triangle_get_vertices ()">graphene_triangle_get_vertices</a> <span class="c_punctuation">()</span>
|
88
|
-
</td>
|
89
|
-
</tr>
|
90
|
-
<tr>
|
91
|
-
<td class="function_type">
|
92
|
-
<span class="returnvalue">float</span>
|
93
|
-
</td>
|
94
|
-
<td class="function_name">
|
95
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-area" title="graphene_triangle_get_area ()">graphene_triangle_get_area</a> <span class="c_punctuation">()</span>
|
96
|
-
</td>
|
97
|
-
</tr>
|
98
|
-
<tr>
|
99
|
-
<td class="function_type">
|
100
|
-
<span class="returnvalue">void</span>
|
101
|
-
</td>
|
102
|
-
<td class="function_name">
|
103
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-midpoint" title="graphene_triangle_get_midpoint ()">graphene_triangle_get_midpoint</a> <span class="c_punctuation">()</span>
|
104
|
-
</td>
|
105
|
-
</tr>
|
106
|
-
<tr>
|
107
|
-
<td class="function_type">
|
108
|
-
<span class="returnvalue">void</span>
|
109
|
-
</td>
|
110
|
-
<td class="function_name">
|
111
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-normal" title="graphene_triangle_get_normal ()">graphene_triangle_get_normal</a> <span class="c_punctuation">()</span>
|
112
|
-
</td>
|
113
|
-
</tr>
|
114
|
-
<tr>
|
115
|
-
<td class="function_type">
|
116
|
-
<span class="returnvalue">void</span>
|
117
|
-
</td>
|
118
|
-
<td class="function_name">
|
119
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-plane" title="graphene_triangle_get_plane ()">graphene_triangle_get_plane</a> <span class="c_punctuation">()</span>
|
120
|
-
</td>
|
121
|
-
</tr>
|
122
|
-
<tr>
|
123
|
-
<td class="function_type">
|
124
|
-
<span class="returnvalue">void</span>
|
125
|
-
</td>
|
126
|
-
<td class="function_name">
|
127
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-bounding-box" title="graphene_triangle_get_bounding_box ()">graphene_triangle_get_bounding_box</a> <span class="c_punctuation">()</span>
|
128
|
-
</td>
|
129
|
-
</tr>
|
130
|
-
<tr>
|
131
|
-
<td class="function_type">
|
132
|
-
<span class="returnvalue">bool</span>
|
133
|
-
</td>
|
134
|
-
<td class="function_name">
|
135
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-get-barycoords" title="graphene_triangle_get_barycoords ()">graphene_triangle_get_barycoords</a> <span class="c_punctuation">()</span>
|
136
|
-
</td>
|
137
|
-
</tr>
|
138
|
-
<tr>
|
139
|
-
<td class="function_type">
|
140
|
-
<span class="returnvalue">bool</span>
|
141
|
-
</td>
|
142
|
-
<td class="function_name">
|
143
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-contains-point" title="graphene_triangle_contains_point ()">graphene_triangle_contains_point</a> <span class="c_punctuation">()</span>
|
144
|
-
</td>
|
145
|
-
</tr>
|
146
|
-
<tr>
|
147
|
-
<td class="function_type">
|
148
|
-
<span class="returnvalue">bool</span>
|
149
|
-
</td>
|
150
|
-
<td class="function_name">
|
151
|
-
<a class="link" href="graphene-Triangle.html#graphene-triangle-equal" title="graphene_triangle_equal ()">graphene_triangle_equal</a> <span class="c_punctuation">()</span>
|
152
|
-
</td>
|
153
|
-
</tr>
|
154
|
-
</tbody>
|
155
|
-
</table></div>
|
156
|
-
</div>
|
157
|
-
<div class="refsect1">
|
158
|
-
<a name="graphene-Triangle.other"></a><h2>Types and Values</h2>
|
159
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
160
|
-
<colgroup>
|
161
|
-
<col width="150px" class="name">
|
162
|
-
<col class="description">
|
163
|
-
</colgroup>
|
164
|
-
<tbody><tr>
|
165
|
-
<td class="datatype_keyword"> </td>
|
166
|
-
<td class="function_name"><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t">graphene_triangle_t</a></td>
|
167
|
-
</tr></tbody>
|
168
|
-
</table></div>
|
169
|
-
</div>
|
170
|
-
<div class="refsect1">
|
171
|
-
<a name="graphene-Triangle.includes"></a><h2>Includes</h2>
|
172
|
-
<pre class="synopsis">#include <graphene.h>
|
173
|
-
</pre>
|
174
|
-
</div>
|
175
|
-
<div class="refsect1">
|
176
|
-
<a name="graphene-Triangle.description"></a><h2>Description</h2>
|
177
|
-
<p><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> represents a triangle in 3D space.</p>
|
178
|
-
</div>
|
179
|
-
<div class="refsect1">
|
180
|
-
<a name="graphene-Triangle.functions_details"></a><h2>Functions</h2>
|
181
|
-
<div class="refsect2">
|
182
|
-
<a name="graphene-triangle-alloc"></a><h3>graphene_triangle_alloc ()</h3>
|
183
|
-
<pre class="programlisting"><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="returnvalue">graphene_triangle_t</span></a> *
|
184
|
-
graphene_triangle_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
185
|
-
<p>Allocates a new <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>.</p>
|
186
|
-
<p>The contents of the returned structure are undefined.</p>
|
187
|
-
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
|
188
|
-
<div class="refsect3">
|
189
|
-
<a name="graphene-triangle-alloc.returns"></a><h4>Returns</h4>
|
190
|
-
<p> the newly allocated <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>
|
191
|
-
structure. Use <a class="link" href="graphene-Triangle.html#graphene-triangle-free" title="graphene_triangle_free ()"><code class="function">graphene_triangle_free()</code></a> to free the resources
|
192
|
-
allocated by this function. </p>
|
193
|
-
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
194
|
-
</div>
|
195
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
196
|
-
</div>
|
197
|
-
<hr>
|
198
|
-
<div class="refsect2">
|
199
|
-
<a name="graphene-triangle-free"></a><h3>graphene_triangle_free ()</h3>
|
200
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
201
|
-
graphene_triangle_free (<em class="parameter"><code><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>);</pre>
|
202
|
-
<p>Frees the resources allocated by <a class="link" href="graphene-Triangle.html#graphene-triangle-alloc" title="graphene_triangle_alloc ()"><code class="function">graphene_triangle_alloc()</code></a>.</p>
|
203
|
-
<div class="refsect3">
|
204
|
-
<a name="graphene-triangle-free.parameters"></a><h4>Parameters</h4>
|
205
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
206
|
-
<colgroup>
|
207
|
-
<col width="150px" class="parameters_name">
|
208
|
-
<col class="parameters_description">
|
209
|
-
<col width="200px" class="parameters_annotations">
|
210
|
-
</colgroup>
|
211
|
-
<tbody><tr>
|
212
|
-
<td class="parameter_name"><p>t</p></td>
|
213
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
214
|
-
<td class="parameter_annotations"> </td>
|
215
|
-
</tr></tbody>
|
216
|
-
</table></div>
|
217
|
-
</div>
|
218
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
219
|
-
</div>
|
220
|
-
<hr>
|
221
|
-
<div class="refsect2">
|
222
|
-
<a name="graphene-triangle-init-from-point3d"></a><h3>graphene_triangle_init_from_point3d ()</h3>
|
223
|
-
<pre class="programlisting"><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="returnvalue">graphene_triangle_t</span></a> *
|
224
|
-
graphene_triangle_init_from_point3d (<em class="parameter"><code><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
225
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *a</code></em>,
|
226
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *b</code></em>,
|
227
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *c</code></em>);</pre>
|
228
|
-
<p>Initializes a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> using the three given 3D points.</p>
|
229
|
-
<div class="refsect3">
|
230
|
-
<a name="graphene-triangle-init-from-point3d.parameters"></a><h4>Parameters</h4>
|
231
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
232
|
-
<colgroup>
|
233
|
-
<col width="150px" class="parameters_name">
|
234
|
-
<col class="parameters_description">
|
235
|
-
<col width="200px" class="parameters_annotations">
|
236
|
-
</colgroup>
|
237
|
-
<tbody>
|
238
|
-
<tr>
|
239
|
-
<td class="parameter_name"><p>t</p></td>
|
240
|
-
<td class="parameter_description"><p>the <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> to initialize</p></td>
|
241
|
-
<td class="parameter_annotations"> </td>
|
242
|
-
</tr>
|
243
|
-
<tr>
|
244
|
-
<td class="parameter_name"><p>a</p></td>
|
245
|
-
<td class="parameter_description"><p> a <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a>. </p></td>
|
246
|
-
<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>
|
247
|
-
</tr>
|
248
|
-
<tr>
|
249
|
-
<td class="parameter_name"><p>b</p></td>
|
250
|
-
<td class="parameter_description"><p> a <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a>. </p></td>
|
251
|
-
<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>
|
252
|
-
</tr>
|
253
|
-
<tr>
|
254
|
-
<td class="parameter_name"><p>c</p></td>
|
255
|
-
<td class="parameter_description"><p> a <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a>. </p></td>
|
256
|
-
<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>
|
257
|
-
</tr>
|
258
|
-
</tbody>
|
259
|
-
</table></div>
|
260
|
-
</div>
|
261
|
-
<div class="refsect3">
|
262
|
-
<a name="graphene-triangle-init-from-point3d.returns"></a><h4>Returns</h4>
|
263
|
-
<p> the initialized <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>. </p>
|
264
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
265
|
-
</div>
|
266
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
267
|
-
</div>
|
268
|
-
<hr>
|
269
|
-
<div class="refsect2">
|
270
|
-
<a name="graphene-triangle-init-from-vec3"></a><h3>graphene_triangle_init_from_vec3 ()</h3>
|
271
|
-
<pre class="programlisting"><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="returnvalue">graphene_triangle_t</span></a> *
|
272
|
-
graphene_triangle_init_from_vec3 (<em class="parameter"><code><a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
273
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *a</code></em>,
|
274
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *b</code></em>,
|
275
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *c</code></em>);</pre>
|
276
|
-
<p>Initializes a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> using the three given vectors.</p>
|
277
|
-
<div class="refsect3">
|
278
|
-
<a name="graphene-triangle-init-from-vec3.parameters"></a><h4>Parameters</h4>
|
279
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
280
|
-
<colgroup>
|
281
|
-
<col width="150px" class="parameters_name">
|
282
|
-
<col class="parameters_description">
|
283
|
-
<col width="200px" class="parameters_annotations">
|
284
|
-
</colgroup>
|
285
|
-
<tbody>
|
286
|
-
<tr>
|
287
|
-
<td class="parameter_name"><p>t</p></td>
|
288
|
-
<td class="parameter_description"><p>the <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> to initialize</p></td>
|
289
|
-
<td class="parameter_annotations"> </td>
|
290
|
-
</tr>
|
291
|
-
<tr>
|
292
|
-
<td class="parameter_name"><p>a</p></td>
|
293
|
-
<td class="parameter_description"><p> a <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a>. </p></td>
|
294
|
-
<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>
|
295
|
-
</tr>
|
296
|
-
<tr>
|
297
|
-
<td class="parameter_name"><p>b</p></td>
|
298
|
-
<td class="parameter_description"><p> a <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a>. </p></td>
|
299
|
-
<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>
|
300
|
-
</tr>
|
301
|
-
<tr>
|
302
|
-
<td class="parameter_name"><p>c</p></td>
|
303
|
-
<td class="parameter_description"><p> a <a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a>. </p></td>
|
304
|
-
<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>
|
305
|
-
</tr>
|
306
|
-
</tbody>
|
307
|
-
</table></div>
|
308
|
-
</div>
|
309
|
-
<div class="refsect3">
|
310
|
-
<a name="graphene-triangle-init-from-vec3.returns"></a><h4>Returns</h4>
|
311
|
-
<p> the initialized <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>. </p>
|
312
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
313
|
-
</div>
|
314
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
315
|
-
</div>
|
316
|
-
<hr>
|
317
|
-
<div class="refsect2">
|
318
|
-
<a name="graphene-triangle-get-points"></a><h3>graphene_triangle_get_points ()</h3>
|
319
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
320
|
-
graphene_triangle_get_points (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
321
|
-
<em class="parameter"><code><a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *a</code></em>,
|
322
|
-
<em class="parameter"><code><a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *b</code></em>,
|
323
|
-
<em class="parameter"><code><a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *c</code></em>);</pre>
|
324
|
-
<p>Retrieves the three vertices of the given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> and returns
|
325
|
-
their coordinates as <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a>.</p>
|
326
|
-
<div class="refsect3">
|
327
|
-
<a name="graphene-triangle-get-points.parameters"></a><h4>Parameters</h4>
|
328
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
329
|
-
<colgroup>
|
330
|
-
<col width="150px" class="parameters_name">
|
331
|
-
<col class="parameters_description">
|
332
|
-
<col width="200px" class="parameters_annotations">
|
333
|
-
</colgroup>
|
334
|
-
<tbody>
|
335
|
-
<tr>
|
336
|
-
<td class="parameter_name"><p>t</p></td>
|
337
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
338
|
-
<td class="parameter_annotations"> </td>
|
339
|
-
</tr>
|
340
|
-
<tr>
|
341
|
-
<td class="parameter_name"><p>a</p></td>
|
342
|
-
<td class="parameter_description"><p> return location for the coordinates
|
343
|
-
of the first vertex. </p></td>
|
344
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
345
|
-
</tr>
|
346
|
-
<tr>
|
347
|
-
<td class="parameter_name"><p>b</p></td>
|
348
|
-
<td class="parameter_description"><p> return location for the coordinates
|
349
|
-
of the second vertex. </p></td>
|
350
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
351
|
-
</tr>
|
352
|
-
<tr>
|
353
|
-
<td class="parameter_name"><p>c</p></td>
|
354
|
-
<td class="parameter_description"><p> return location for the coordinates
|
355
|
-
of the third vertex. </p></td>
|
356
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
357
|
-
</tr>
|
358
|
-
</tbody>
|
359
|
-
</table></div>
|
360
|
-
</div>
|
361
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
362
|
-
</div>
|
363
|
-
<hr>
|
364
|
-
<div class="refsect2">
|
365
|
-
<a name="graphene-triangle-get-vertices"></a><h3>graphene_triangle_get_vertices ()</h3>
|
366
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
367
|
-
graphene_triangle_get_vertices (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
368
|
-
<em class="parameter"><code><a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *a</code></em>,
|
369
|
-
<em class="parameter"><code><a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *b</code></em>,
|
370
|
-
<em class="parameter"><code><a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *c</code></em>);</pre>
|
371
|
-
<p>Retrieves the three vertices of the given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>.</p>
|
372
|
-
<div class="refsect3">
|
373
|
-
<a name="graphene-triangle-get-vertices.parameters"></a><h4>Parameters</h4>
|
374
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
375
|
-
<colgroup>
|
376
|
-
<col width="150px" class="parameters_name">
|
377
|
-
<col class="parameters_description">
|
378
|
-
<col width="200px" class="parameters_annotations">
|
379
|
-
</colgroup>
|
380
|
-
<tbody>
|
381
|
-
<tr>
|
382
|
-
<td class="parameter_name"><p>t</p></td>
|
383
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
384
|
-
<td class="parameter_annotations"> </td>
|
385
|
-
</tr>
|
386
|
-
<tr>
|
387
|
-
<td class="parameter_name"><p>a</p></td>
|
388
|
-
<td class="parameter_description"><p> return location for the first vertex. </p></td>
|
389
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
390
|
-
</tr>
|
391
|
-
<tr>
|
392
|
-
<td class="parameter_name"><p>b</p></td>
|
393
|
-
<td class="parameter_description"><p> return location for the second vertex. </p></td>
|
394
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
395
|
-
</tr>
|
396
|
-
<tr>
|
397
|
-
<td class="parameter_name"><p>c</p></td>
|
398
|
-
<td class="parameter_description"><p> return location for the third vertex. </p></td>
|
399
|
-
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
400
|
-
</tr>
|
401
|
-
</tbody>
|
402
|
-
</table></div>
|
403
|
-
</div>
|
404
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
405
|
-
</div>
|
406
|
-
<hr>
|
407
|
-
<div class="refsect2">
|
408
|
-
<a name="graphene-triangle-get-area"></a><h3>graphene_triangle_get_area ()</h3>
|
409
|
-
<pre class="programlisting"><span class="returnvalue">float</span>
|
410
|
-
graphene_triangle_get_area (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>);</pre>
|
411
|
-
<p>Computes the area of the given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>.</p>
|
412
|
-
<div class="refsect3">
|
413
|
-
<a name="graphene-triangle-get-area.parameters"></a><h4>Parameters</h4>
|
414
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
415
|
-
<colgroup>
|
416
|
-
<col width="150px" class="parameters_name">
|
417
|
-
<col class="parameters_description">
|
418
|
-
<col width="200px" class="parameters_annotations">
|
419
|
-
</colgroup>
|
420
|
-
<tbody><tr>
|
421
|
-
<td class="parameter_name"><p>t</p></td>
|
422
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
423
|
-
<td class="parameter_annotations"> </td>
|
424
|
-
</tr></tbody>
|
425
|
-
</table></div>
|
426
|
-
</div>
|
427
|
-
<div class="refsect3">
|
428
|
-
<a name="graphene-triangle-get-area.returns"></a><h4>Returns</h4>
|
429
|
-
<p> the area of the triangle</p>
|
430
|
-
</div>
|
431
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
432
|
-
</div>
|
433
|
-
<hr>
|
434
|
-
<div class="refsect2">
|
435
|
-
<a name="graphene-triangle-get-midpoint"></a><h3>graphene_triangle_get_midpoint ()</h3>
|
436
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
437
|
-
graphene_triangle_get_midpoint (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
438
|
-
<em class="parameter"><code><a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *res</code></em>);</pre>
|
439
|
-
<p>Computes the coordinates of the midpoint of the given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>.</p>
|
440
|
-
<p>The midpoint G is the <a class="ulink" href="https://en.wikipedia.org/wiki/Centroid#Triangle_centroid" target="_top">centroid</a>
|
441
|
-
of the triangle, i.e. the intersection of its medians.</p>
|
442
|
-
<div class="refsect3">
|
443
|
-
<a name="graphene-triangle-get-midpoint.parameters"></a><h4>Parameters</h4>
|
444
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
445
|
-
<colgroup>
|
446
|
-
<col width="150px" class="parameters_name">
|
447
|
-
<col class="parameters_description">
|
448
|
-
<col width="200px" class="parameters_annotations">
|
449
|
-
</colgroup>
|
450
|
-
<tbody>
|
451
|
-
<tr>
|
452
|
-
<td class="parameter_name"><p>t</p></td>
|
453
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
454
|
-
<td class="parameter_annotations"> </td>
|
455
|
-
</tr>
|
456
|
-
<tr>
|
457
|
-
<td class="parameter_name"><p>res</p></td>
|
458
|
-
<td class="parameter_description"><p> return location for the coordinates of
|
459
|
-
the midpoint. </p></td>
|
460
|
-
<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>
|
461
|
-
</tr>
|
462
|
-
</tbody>
|
463
|
-
</table></div>
|
464
|
-
</div>
|
465
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
466
|
-
</div>
|
467
|
-
<hr>
|
468
|
-
<div class="refsect2">
|
469
|
-
<a name="graphene-triangle-get-normal"></a><h3>graphene_triangle_get_normal ()</h3>
|
470
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
471
|
-
graphene_triangle_get_normal (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
472
|
-
<em class="parameter"><code><a class="link" href="graphene-Vectors.html#graphene-vec3-t" title="graphene_vec3_t"><span class="type">graphene_vec3_t</span></a> *res</code></em>);</pre>
|
473
|
-
<p>Computes the normal vector of the given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>.</p>
|
474
|
-
<div class="refsect3">
|
475
|
-
<a name="graphene-triangle-get-normal.parameters"></a><h4>Parameters</h4>
|
476
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
477
|
-
<colgroup>
|
478
|
-
<col width="150px" class="parameters_name">
|
479
|
-
<col class="parameters_description">
|
480
|
-
<col width="200px" class="parameters_annotations">
|
481
|
-
</colgroup>
|
482
|
-
<tbody>
|
483
|
-
<tr>
|
484
|
-
<td class="parameter_name"><p>t</p></td>
|
485
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
486
|
-
<td class="parameter_annotations"> </td>
|
487
|
-
</tr>
|
488
|
-
<tr>
|
489
|
-
<td class="parameter_name"><p>res</p></td>
|
490
|
-
<td class="parameter_description"><p> return location for the normal vector. </p></td>
|
491
|
-
<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>
|
492
|
-
</tr>
|
493
|
-
</tbody>
|
494
|
-
</table></div>
|
495
|
-
</div>
|
496
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
497
|
-
</div>
|
498
|
-
<hr>
|
499
|
-
<div class="refsect2">
|
500
|
-
<a name="graphene-triangle-get-plane"></a><h3>graphene_triangle_get_plane ()</h3>
|
501
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
502
|
-
graphene_triangle_get_plane (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
503
|
-
<em class="parameter"><code><a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a> *res</code></em>);</pre>
|
504
|
-
<p>Computes the plane based on the vertices of the given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>.</p>
|
505
|
-
<div class="refsect3">
|
506
|
-
<a name="graphene-triangle-get-plane.parameters"></a><h4>Parameters</h4>
|
507
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
508
|
-
<colgroup>
|
509
|
-
<col width="150px" class="parameters_name">
|
510
|
-
<col class="parameters_description">
|
511
|
-
<col width="200px" class="parameters_annotations">
|
512
|
-
</colgroup>
|
513
|
-
<tbody>
|
514
|
-
<tr>
|
515
|
-
<td class="parameter_name"><p>t</p></td>
|
516
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
517
|
-
<td class="parameter_annotations"> </td>
|
518
|
-
</tr>
|
519
|
-
<tr>
|
520
|
-
<td class="parameter_name"><p>res</p></td>
|
521
|
-
<td class="parameter_description"><p> return location for the plane. </p></td>
|
522
|
-
<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>
|
523
|
-
</tr>
|
524
|
-
</tbody>
|
525
|
-
</table></div>
|
526
|
-
</div>
|
527
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
528
|
-
</div>
|
529
|
-
<hr>
|
530
|
-
<div class="refsect2">
|
531
|
-
<a name="graphene-triangle-get-bounding-box"></a><h3>graphene_triangle_get_bounding_box ()</h3>
|
532
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
533
|
-
graphene_triangle_get_bounding_box (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
534
|
-
<em class="parameter"><code><a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *res</code></em>);</pre>
|
535
|
-
<p>Computes the bounding box of the given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a>.</p>
|
536
|
-
<div class="refsect3">
|
537
|
-
<a name="graphene-triangle-get-bounding-box.parameters"></a><h4>Parameters</h4>
|
538
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
539
|
-
<colgroup>
|
540
|
-
<col width="150px" class="parameters_name">
|
541
|
-
<col class="parameters_description">
|
542
|
-
<col width="200px" class="parameters_annotations">
|
543
|
-
</colgroup>
|
544
|
-
<tbody>
|
545
|
-
<tr>
|
546
|
-
<td class="parameter_name"><p>t</p></td>
|
547
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
548
|
-
<td class="parameter_annotations"> </td>
|
549
|
-
</tr>
|
550
|
-
<tr>
|
551
|
-
<td class="parameter_name"><p>res</p></td>
|
552
|
-
<td class="parameter_description"><p> return location for the box. </p></td>
|
553
|
-
<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>
|
554
|
-
</tr>
|
555
|
-
</tbody>
|
556
|
-
</table></div>
|
557
|
-
</div>
|
558
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
559
|
-
</div>
|
560
|
-
<hr>
|
561
|
-
<div class="refsect2">
|
562
|
-
<a name="graphene-triangle-get-barycoords"></a><h3>graphene_triangle_get_barycoords ()</h3>
|
563
|
-
<pre class="programlisting"><span class="returnvalue">bool</span>
|
564
|
-
graphene_triangle_get_barycoords (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
565
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *p</code></em>,
|
566
|
-
<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> *res</code></em>);</pre>
|
567
|
-
<p>Computes the <a class="ulink" href="http://en.wikipedia.org/wiki/Barycentric_coordinate_system" target="_top">barycentric coordinates</a>
|
568
|
-
of the given point <em class="parameter"><code>p</code></em>
|
569
|
-
.</p>
|
570
|
-
<p>The point <em class="parameter"><code>p</code></em>
|
571
|
-
must lie on the same plane as the triangle <em class="parameter"><code>t</code></em>
|
572
|
-
; if the
|
573
|
-
point is not coplanar, the result of this function is undefined.</p>
|
574
|
-
<p>If we place the origin in the coordinates of the triangle's A point,
|
575
|
-
the barycentric coordinates are <code class="literal">u</code>, which is on the AC vector; and <code class="literal">v</code>
|
576
|
-
which is on the AB vector:</p>
|
577
|
-
<p><span class="inlinemediaobject"><img src="triangle-barycentric.png"></span></p>
|
578
|
-
<p>The returned <a class="link" href="graphene-Vectors.html#graphene-vec2-t" title="graphene_vec2_t"><span class="type">graphene_vec2_t</span></a> contains the following values, in order:</p>
|
579
|
-
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
580
|
-
<li class="listitem"><p><code class="literal">res.x = u</code></p></li>
|
581
|
-
<li class="listitem"><p><code class="literal">res.y = v</code></p></li>
|
582
|
-
</ul></div>
|
583
|
-
<div class="refsect3">
|
584
|
-
<a name="graphene-triangle-get-barycoords.parameters"></a><h4>Parameters</h4>
|
585
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
586
|
-
<colgroup>
|
587
|
-
<col width="150px" class="parameters_name">
|
588
|
-
<col class="parameters_description">
|
589
|
-
<col width="200px" class="parameters_annotations">
|
590
|
-
</colgroup>
|
591
|
-
<tbody>
|
592
|
-
<tr>
|
593
|
-
<td class="parameter_name"><p>t</p></td>
|
594
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
595
|
-
<td class="parameter_annotations"> </td>
|
596
|
-
</tr>
|
597
|
-
<tr>
|
598
|
-
<td class="parameter_name"><p>p</p></td>
|
599
|
-
<td class="parameter_description"><p> a <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a>. </p></td>
|
600
|
-
<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>
|
601
|
-
</tr>
|
602
|
-
<tr>
|
603
|
-
<td class="parameter_name"><p>res</p></td>
|
604
|
-
<td class="parameter_description"><p> return location for the vector
|
605
|
-
with the barycentric coordinates. </p></td>
|
606
|
-
<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>
|
607
|
-
</tr>
|
608
|
-
</tbody>
|
609
|
-
</table></div>
|
610
|
-
</div>
|
611
|
-
<div class="refsect3">
|
612
|
-
<a name="graphene-triangle-get-barycoords.returns"></a><h4>Returns</h4>
|
613
|
-
<p> <code class="literal">true</code> if the barycentric coordinates are valid</p>
|
614
|
-
</div>
|
615
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
616
|
-
</div>
|
617
|
-
<hr>
|
618
|
-
<div class="refsect2">
|
619
|
-
<a name="graphene-triangle-contains-point"></a><h3>graphene_triangle_contains_point ()</h3>
|
620
|
-
<pre class="programlisting"><span class="returnvalue">bool</span>
|
621
|
-
graphene_triangle_contains_point (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *t</code></em>,
|
622
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a> *p</code></em>);</pre>
|
623
|
-
<p>Checks whether the given triangle <em class="parameter"><code>t</code></em>
|
624
|
-
contains the point <em class="parameter"><code>p</code></em>
|
625
|
-
.</p>
|
626
|
-
<div class="refsect3">
|
627
|
-
<a name="graphene-triangle-contains-point.parameters"></a><h4>Parameters</h4>
|
628
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
629
|
-
<colgroup>
|
630
|
-
<col width="150px" class="parameters_name">
|
631
|
-
<col class="parameters_description">
|
632
|
-
<col width="200px" class="parameters_annotations">
|
633
|
-
</colgroup>
|
634
|
-
<tbody>
|
635
|
-
<tr>
|
636
|
-
<td class="parameter_name"><p>t</p></td>
|
637
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
638
|
-
<td class="parameter_annotations"> </td>
|
639
|
-
</tr>
|
640
|
-
<tr>
|
641
|
-
<td class="parameter_name"><p>p</p></td>
|
642
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Point3D.html#graphene-point3d-t" title="graphene_point3d_t"><span class="type">graphene_point3d_t</span></a></p></td>
|
643
|
-
<td class="parameter_annotations"> </td>
|
644
|
-
</tr>
|
645
|
-
</tbody>
|
646
|
-
</table></div>
|
647
|
-
</div>
|
648
|
-
<div class="refsect3">
|
649
|
-
<a name="graphene-triangle-contains-point.returns"></a><h4>Returns</h4>
|
650
|
-
<p> <code class="literal">true</code> if the point is inside the triangle</p>
|
651
|
-
</div>
|
652
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
653
|
-
</div>
|
654
|
-
<hr>
|
655
|
-
<div class="refsect2">
|
656
|
-
<a name="graphene-triangle-equal"></a><h3>graphene_triangle_equal ()</h3>
|
657
|
-
<pre class="programlisting"><span class="returnvalue">bool</span>
|
658
|
-
graphene_triangle_equal (<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *a</code></em>,
|
659
|
-
<em class="parameter"><code>const <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> *b</code></em>);</pre>
|
660
|
-
<p>Checks whether the two given <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a> are equal.</p>
|
661
|
-
<div class="refsect3">
|
662
|
-
<a name="graphene-triangle-equal.parameters"></a><h4>Parameters</h4>
|
663
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
664
|
-
<colgroup>
|
665
|
-
<col width="150px" class="parameters_name">
|
666
|
-
<col class="parameters_description">
|
667
|
-
<col width="200px" class="parameters_annotations">
|
668
|
-
</colgroup>
|
669
|
-
<tbody>
|
670
|
-
<tr>
|
671
|
-
<td class="parameter_name"><p>a</p></td>
|
672
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
673
|
-
<td class="parameter_annotations"> </td>
|
674
|
-
</tr>
|
675
|
-
<tr>
|
676
|
-
<td class="parameter_name"><p>b</p></td>
|
677
|
-
<td class="parameter_description"><p>a <a class="link" href="graphene-Triangle.html#graphene-triangle-t" title="graphene_triangle_t"><span class="type">graphene_triangle_t</span></a></p></td>
|
678
|
-
<td class="parameter_annotations"> </td>
|
679
|
-
</tr>
|
680
|
-
</tbody>
|
681
|
-
</table></div>
|
682
|
-
</div>
|
683
|
-
<div class="refsect3">
|
684
|
-
<a name="graphene-triangle-equal.returns"></a><h4>Returns</h4>
|
685
|
-
<p> <code class="literal">true</code> if the triangles are equal</p>
|
686
|
-
</div>
|
687
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
688
|
-
</div>
|
689
|
-
</div>
|
690
|
-
<div class="refsect1">
|
691
|
-
<a name="graphene-Triangle.other_details"></a><h2>Types and Values</h2>
|
692
|
-
<div class="refsect2">
|
693
|
-
<a name="graphene-triangle-t"></a><h3>graphene_triangle_t</h3>
|
694
|
-
<pre class="programlisting">typedef struct {
|
695
|
-
} graphene_triangle_t;
|
696
|
-
</pre>
|
697
|
-
<p>A triangle.</p>
|
698
|
-
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
699
|
-
</div>
|
700
|
-
</div>
|
701
|
-
</div>
|
702
|
-
<div class="footer">
|
703
|
-
<hr>Generated by GTK-Doc V1.25</div>
|
704
|
-
</body>
|
705
|
-
</html>
|