pango 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +27 -5
- data/ext/pango/depend +2 -2
- data/ext/pango/extconf.rb +32 -28
- data/ext/pango/pango.def +0 -16
- data/ext/pango/rb-pango-attr-list.c +64 -0
- data/ext/pango/rb-pango-attribute.c +147 -0
- data/ext/pango/rb-pango-context.c +79 -0
- data/ext/pango/{rbpangoconversions.h → rb-pango-conversions.h} +4 -6
- data/ext/pango/rb-pango-private.h +27 -0
- data/ext/pango/rb-pango.c +32 -0
- data/ext/pango/rb-pango.h +29 -0
- data/extconf.rb +25 -9
- 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/pango.rb +24 -68
- data/lib/pango/cairo-loader.rb +63 -0
- data/lib/pango/color.rb +31 -0
- data/lib/pango/deprecated.rb +37 -0
- data/lib/pango/font-description.rb +29 -0
- data/lib/pango/language.rb +29 -0
- data/lib/pango/layout.rb +41 -0
- data/lib/pango/loader.rb +87 -0
- data/lib/pango/markup.rb +31 -0
- data/lib/pango/matrix.rb +64 -0
- data/lib/pango/rectangle.rb +28 -0
- data/lib/pango/version.rb +30 -0
- data/test/pango-test-utils.rb +7 -7
- data/test/run-test.rb +34 -8
- data/test/test-attr-list.rb +28 -0
- data/test/test-color.rb +1 -3
- data/test/test-context.rb +4 -4
- data/test/test-enum.rb +37 -0
- data/test/test-font-description.rb +31 -0
- data/test/test-language.rb +2 -1
- data/test/test-layout.rb +12 -0
- data/test/test-markup.rb +30 -0
- data/test/test-matrix.rb +131 -5
- data/test/test-rectangle.rb +16 -3
- data/vendor/local/bin/derb.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-view.exe +0 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +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/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/graphene-1.0/graphene-box.h +148 -0
- data/vendor/local/include/graphene-1.0/graphene-euler.h +140 -0
- data/vendor/local/include/graphene-1.0/graphene-frustum.h +93 -0
- data/vendor/local/include/graphene-1.0/graphene-gobject.h +119 -0
- data/vendor/local/include/graphene-1.0/graphene-macros.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-matrix.h +288 -0
- data/vendor/local/include/graphene-1.0/graphene-plane.h +99 -0
- data/vendor/local/include/graphene-1.0/graphene-point.h +120 -0
- data/vendor/local/include/graphene-1.0/graphene-point3d.h +140 -0
- data/vendor/local/include/graphene-1.0/graphene-quad.h +80 -0
- data/vendor/local/include/graphene-1.0/graphene-quaternion.h +136 -0
- data/vendor/local/include/graphene-1.0/graphene-ray.h +98 -0
- data/vendor/local/include/graphene-1.0/graphene-rect.h +180 -0
- data/vendor/local/include/graphene-1.0/graphene-simd4f.h +1870 -0
- data/vendor/local/include/graphene-1.0/graphene-simd4x4f.h +1045 -0
- data/vendor/local/include/graphene-1.0/graphene-size.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-sphere.h +97 -0
- data/vendor/local/include/graphene-1.0/graphene-triangle.h +105 -0
- data/vendor/local/include/graphene-1.0/graphene-types.h +88 -0
- data/vendor/local/include/graphene-1.0/graphene-vec2.h +130 -0
- data/vendor/local/include/graphene-1.0/graphene-vec3.h +155 -0
- data/vendor/local/include/graphene-1.0/graphene-vec4.h +156 -0
- data/vendor/local/include/graphene-1.0/graphene-version-macros.h +185 -0
- data/vendor/local/include/graphene-1.0/graphene-version.h +70 -0
- data/vendor/local/include/graphene-1.0/graphene.h +61 -0
- data/vendor/local/include/harfbuzz/hb-common.h +36 -0
- data/vendor/local/include/harfbuzz/hb-font.h +18 -1
- data/vendor/local/include/harfbuzz/hb-ot-var.h +105 -0
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
- data/vendor/local/include/harfbuzz/hb-shape.h +0 -16
- data/vendor/local/include/harfbuzz/hb-version.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +6 -6
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +1 -1
- 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 +89 -0
- 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/libgraphene-1.0.dll.a +0 -0
- data/vendor/local/lib/libgraphene-1.0.la +41 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +1 -1
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +1 -1
- 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 +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/graphene-1.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Graphene-1.0.gir +8180 -0
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +12 -16
- data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +57 -0
- data/vendor/local/share/gtk-doc/html/graphene/api-index.html +1985 -0
- data/vendor/local/share/gtk-doc/html/graphene/ch01.html +97 -0
- data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +34 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +1252 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +886 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +527 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +147 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +2959 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +641 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +689 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +916 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +418 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +1056 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +596 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +1483 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +1475 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +3046 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +489 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +641 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +705 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +3715 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +104 -0
- data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +534 -0
- data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/graphene/index.html +107 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix03.html +1313 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix04.html +582 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix05.html +151 -0
- data/vendor/local/share/gtk-doc/html/graphene/ix06.html +34 -0
- 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/{pango/api-index-1-40.html → graphene/object-tree.html} +14 -11
- 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 +479 -0
- 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
- 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-4-0.html → api-index-1-3-3.html} +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +104 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +9 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +156 -40
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +73 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +1 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +49 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +174 -177
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +40 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +28 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/index.html +2 -23
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +69 -69
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +5 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +8 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +3 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/pango.html +1 -1
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +1 -1
- data/vendor/local/share/man/man1/pango-view.1 +2 -2
- metadata +119 -78
- data/README +0 -32
- data/ext/pango/rbpango.c +0 -356
- data/ext/pango/rbpango.h +0 -95
- data/ext/pango/rbpangoanalysis.c +0 -218
- data/ext/pango/rbpangoattribute.c +0 -506
- data/ext/pango/rbpangoattriterator.c +0 -141
- data/ext/pango/rbpangoattrlist.c +0 -101
- data/ext/pango/rbpangocairo.c +0 -122
- data/ext/pango/rbpangocairocontext.c +0 -131
- data/ext/pango/rbpangocolor.c +0 -120
- data/ext/pango/rbpangocontext.c +0 -344
- data/ext/pango/rbpangocoverage.c +0 -106
- data/ext/pango/rbpangoengine.c +0 -73
- data/ext/pango/rbpangofont.c +0 -110
- data/ext/pango/rbpangofontdescription.c +0 -282
- data/ext/pango/rbpangofontface.c +0 -73
- data/ext/pango/rbpangofontfamily.c +0 -79
- data/ext/pango/rbpangofontmap.c +0 -102
- data/ext/pango/rbpangofontmetrics.c +0 -85
- data/ext/pango/rbpangofontset.c +0 -69
- data/ext/pango/rbpangofontsetsimple.c +0 -60
- data/ext/pango/rbpangoglyphinfo.c +0 -123
- data/ext/pango/rbpangoglyphitem.c +0 -125
- data/ext/pango/rbpangoglyphstring.c +0 -151
- data/ext/pango/rbpangogravity.c +0 -54
- data/ext/pango/rbpangoitem.c +0 -95
- data/ext/pango/rbpangolanguage.c +0 -94
- data/ext/pango/rbpangolayout.c +0 -583
- data/ext/pango/rbpangolayoutiter.c +0 -189
- data/ext/pango/rbpangolayoutline.c +0 -243
- data/ext/pango/rbpangologattr.c +0 -109
- data/ext/pango/rbpangomatrix.c +0 -143
- data/ext/pango/rbpangoprivate.h +0 -49
- data/ext/pango/rbpangorectangle.c +0 -170
- data/ext/pango/rbpangorenderer.c +0 -193
- data/ext/pango/rbpangoscript.c +0 -84
- data/ext/pango/rbpangoscriptiter.c +0 -92
- data/ext/pango/rbpangotabarray.c +0 -128
- data/sample/attribute.rb +0 -82
- data/sample/break.rb +0 -28
- data/sample/gdk_layout.rb +0 -27
- data/sample/glyphstring.rb +0 -61
- data/sample/item.rb +0 -37
- data/sample/label.rb +0 -23
- data/sample/layout.rb +0 -102
- data/sample/pango_cairo.rb +0 -66
- data/sample/parse.rb +0 -33
- data/sample/sample.txt +0 -10
- data/sample/script.rb +0 -23
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +0 -134
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +0 -48
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +0 -63
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +0 -227
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +0 -151
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +0 -121
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +0 -86
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +0 -123
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +0 -96
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +0 -45
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +0 -52
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +0 -79
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +0 -200
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +0 -164
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +0 -170
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +0 -441
@@ -0,0 +1,527 @@
|
|
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>Frustum: 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-Sphere.html" title="Sphere">
|
10
|
+
<link rel="next" href="graphene-SIMD-vector.html" title="SIMD vector">
|
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-Frustum.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-Sphere.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="graphene-SIMD-vector.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-Frustum"></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-Frustum.top_of_page"></a>Frustum</span></h2>
|
30
|
+
<p>Frustum — A 3D field of view</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-Frustum.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-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-alloc" title="graphene_frustum_alloc ()">graphene_frustum_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-Frustum.html#graphene-frustum-free" title="graphene_frustum_free ()">graphene_frustum_free</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-init" title="graphene_frustum_init ()">graphene_frustum_init</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-init-from-frustum" title="graphene_frustum_init_from_frustum ()">graphene_frustum_init_from_frustum</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-init-from-matrix" title="graphene_frustum_init_from_matrix ()">graphene_frustum_init_from_matrix</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-Frustum.html#graphene-frustum-get-planes" title="graphene_frustum_get_planes ()">graphene_frustum_get_planes</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
92
|
+
<span class="returnvalue">bool</span>
|
93
|
+
</td>
|
94
|
+
<td class="function_name">
|
95
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-contains-point" title="graphene_frustum_contains_point ()">graphene_frustum_contains_point</a> <span class="c_punctuation">()</span>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="function_type">
|
100
|
+
<span class="returnvalue">bool</span>
|
101
|
+
</td>
|
102
|
+
<td class="function_name">
|
103
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-intersects-sphere" title="graphene_frustum_intersects_sphere ()">graphene_frustum_intersects_sphere</a> <span class="c_punctuation">()</span>
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<span class="returnvalue">bool</span>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-intersects-box" title="graphene_frustum_intersects_box ()">graphene_frustum_intersects_box</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<span class="returnvalue">bool</span>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-equal" title="graphene_frustum_equal ()">graphene_frustum_equal</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
</tbody>
|
123
|
+
</table></div>
|
124
|
+
</div>
|
125
|
+
<div class="refsect1">
|
126
|
+
<a name="graphene-Frustum.other"></a><h2>Types and Values</h2>
|
127
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
128
|
+
<colgroup>
|
129
|
+
<col width="150px" class="name">
|
130
|
+
<col class="description">
|
131
|
+
</colgroup>
|
132
|
+
<tbody><tr>
|
133
|
+
<td class="datatype_keyword"> </td>
|
134
|
+
<td class="function_name"><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t">graphene_frustum_t</a></td>
|
135
|
+
</tr></tbody>
|
136
|
+
</table></div>
|
137
|
+
</div>
|
138
|
+
<div class="refsect1">
|
139
|
+
<a name="graphene-Frustum.includes"></a><h2>Includes</h2>
|
140
|
+
<pre class="synopsis">#include <graphene.h>
|
141
|
+
</pre>
|
142
|
+
</div>
|
143
|
+
<div class="refsect1">
|
144
|
+
<a name="graphene-Frustum.description"></a><h2>Description</h2>
|
145
|
+
<p>A <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> represents a volume of space delimited by planes. It
|
146
|
+
is usually employed to represent the field of view of a camera, and can be
|
147
|
+
used to determine whether an object falls within that view, to efficiently
|
148
|
+
remove invisible objects from the render process.</p>
|
149
|
+
</div>
|
150
|
+
<div class="refsect1">
|
151
|
+
<a name="graphene-Frustum.functions_details"></a><h2>Functions</h2>
|
152
|
+
<div class="refsect2">
|
153
|
+
<a name="graphene-frustum-alloc"></a><h3>graphene_frustum_alloc ()</h3>
|
154
|
+
<pre class="programlisting"><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
155
|
+
graphene_frustum_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
156
|
+
<p>Allocates a new <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> structure.</p>
|
157
|
+
<p>The contents of the returned structure are undefined.</p>
|
158
|
+
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
|
159
|
+
<div class="refsect3">
|
160
|
+
<a name="graphene-frustum-alloc.returns"></a><h4>Returns</h4>
|
161
|
+
<p> the newly allocated <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a>
|
162
|
+
structure. Use <a class="link" href="graphene-Frustum.html#graphene-frustum-free" title="graphene_frustum_free ()"><code class="function">graphene_frustum_free()</code></a> to free the resources
|
163
|
+
allocated by this function. </p>
|
164
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
165
|
+
</div>
|
166
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
167
|
+
</div>
|
168
|
+
<hr>
|
169
|
+
<div class="refsect2">
|
170
|
+
<a name="graphene-frustum-free"></a><h3>graphene_frustum_free ()</h3>
|
171
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
172
|
+
graphene_frustum_free (<em class="parameter"><code><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>);</pre>
|
173
|
+
<p>Frees the resources allocated by <a class="link" href="graphene-Frustum.html#graphene-frustum-alloc" title="graphene_frustum_alloc ()"><code class="function">graphene_frustum_alloc()</code></a>.</p>
|
174
|
+
<div class="refsect3">
|
175
|
+
<a name="graphene-frustum-free.parameters"></a><h4>Parameters</h4>
|
176
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
177
|
+
<colgroup>
|
178
|
+
<col width="150px" class="parameters_name">
|
179
|
+
<col class="parameters_description">
|
180
|
+
<col width="200px" class="parameters_annotations">
|
181
|
+
</colgroup>
|
182
|
+
<tbody><tr>
|
183
|
+
<td class="parameter_name"><p>f</p></td>
|
184
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
185
|
+
<td class="parameter_annotations"> </td>
|
186
|
+
</tr></tbody>
|
187
|
+
</table></div>
|
188
|
+
</div>
|
189
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
190
|
+
</div>
|
191
|
+
<hr>
|
192
|
+
<div class="refsect2">
|
193
|
+
<a name="graphene-frustum-init"></a><h3>graphene_frustum_init ()</h3>
|
194
|
+
<pre class="programlisting"><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
195
|
+
graphene_frustum_init (<em class="parameter"><code><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>,
|
196
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a> *p0</code></em>,
|
197
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a> *p1</code></em>,
|
198
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a> *p2</code></em>,
|
199
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a> *p3</code></em>,
|
200
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a> *p4</code></em>,
|
201
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a> *p5</code></em>);</pre>
|
202
|
+
<p>Initializes the given <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> using the provided
|
203
|
+
clipping planes.</p>
|
204
|
+
<div class="refsect3">
|
205
|
+
<a name="graphene-frustum-init.parameters"></a><h4>Parameters</h4>
|
206
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
207
|
+
<colgroup>
|
208
|
+
<col width="150px" class="parameters_name">
|
209
|
+
<col class="parameters_description">
|
210
|
+
<col width="200px" class="parameters_annotations">
|
211
|
+
</colgroup>
|
212
|
+
<tbody>
|
213
|
+
<tr>
|
214
|
+
<td class="parameter_name"><p>f</p></td>
|
215
|
+
<td class="parameter_description"><p>the <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> to initialize</p></td>
|
216
|
+
<td class="parameter_annotations"> </td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td class="parameter_name"><p>p0</p></td>
|
220
|
+
<td class="parameter_description"><p>a clipping plane</p></td>
|
221
|
+
<td class="parameter_annotations"> </td>
|
222
|
+
</tr>
|
223
|
+
<tr>
|
224
|
+
<td class="parameter_name"><p>p1</p></td>
|
225
|
+
<td class="parameter_description"><p>a clipping plane</p></td>
|
226
|
+
<td class="parameter_annotations"> </td>
|
227
|
+
</tr>
|
228
|
+
<tr>
|
229
|
+
<td class="parameter_name"><p>p2</p></td>
|
230
|
+
<td class="parameter_description"><p>a clipping plane</p></td>
|
231
|
+
<td class="parameter_annotations"> </td>
|
232
|
+
</tr>
|
233
|
+
<tr>
|
234
|
+
<td class="parameter_name"><p>p3</p></td>
|
235
|
+
<td class="parameter_description"><p>a clipping plane</p></td>
|
236
|
+
<td class="parameter_annotations"> </td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td class="parameter_name"><p>p4</p></td>
|
240
|
+
<td class="parameter_description"><p>a clipping plane</p></td>
|
241
|
+
<td class="parameter_annotations"> </td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td class="parameter_name"><p>p5</p></td>
|
245
|
+
<td class="parameter_description"><p>a clipping plane</p></td>
|
246
|
+
<td class="parameter_annotations"> </td>
|
247
|
+
</tr>
|
248
|
+
</tbody>
|
249
|
+
</table></div>
|
250
|
+
</div>
|
251
|
+
<div class="refsect3">
|
252
|
+
<a name="graphene-frustum-init.returns"></a><h4>Returns</h4>
|
253
|
+
<p> the initialized frustum. </p>
|
254
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
255
|
+
</div>
|
256
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
257
|
+
</div>
|
258
|
+
<hr>
|
259
|
+
<div class="refsect2">
|
260
|
+
<a name="graphene-frustum-init-from-frustum"></a><h3>graphene_frustum_init_from_frustum ()</h3>
|
261
|
+
<pre class="programlisting"><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
262
|
+
graphene_frustum_init_from_frustum (<em class="parameter"><code><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>,
|
263
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *src</code></em>);</pre>
|
264
|
+
<p>Initializes the given <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> using the clipping
|
265
|
+
planes of another <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a>.</p>
|
266
|
+
<div class="refsect3">
|
267
|
+
<a name="graphene-frustum-init-from-frustum.parameters"></a><h4>Parameters</h4>
|
268
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
269
|
+
<colgroup>
|
270
|
+
<col width="150px" class="parameters_name">
|
271
|
+
<col class="parameters_description">
|
272
|
+
<col width="200px" class="parameters_annotations">
|
273
|
+
</colgroup>
|
274
|
+
<tbody>
|
275
|
+
<tr>
|
276
|
+
<td class="parameter_name"><p>f</p></td>
|
277
|
+
<td class="parameter_description"><p>the <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> to initialize</p></td>
|
278
|
+
<td class="parameter_annotations"> </td>
|
279
|
+
</tr>
|
280
|
+
<tr>
|
281
|
+
<td class="parameter_name"><p>src</p></td>
|
282
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
283
|
+
<td class="parameter_annotations"> </td>
|
284
|
+
</tr>
|
285
|
+
</tbody>
|
286
|
+
</table></div>
|
287
|
+
</div>
|
288
|
+
<div class="refsect3">
|
289
|
+
<a name="graphene-frustum-init-from-frustum.returns"></a><h4>Returns</h4>
|
290
|
+
<p> the initialized frustum. </p>
|
291
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
292
|
+
</div>
|
293
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
294
|
+
</div>
|
295
|
+
<hr>
|
296
|
+
<div class="refsect2">
|
297
|
+
<a name="graphene-frustum-init-from-matrix"></a><h3>graphene_frustum_init_from_matrix ()</h3>
|
298
|
+
<pre class="programlisting"><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="returnvalue">graphene_frustum_t</span></a> *
|
299
|
+
graphene_frustum_init_from_matrix (<em class="parameter"><code><a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>,
|
300
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Matrix.html#graphene-matrix-t" title="graphene_matrix_t"><span class="type">graphene_matrix_t</span></a> *matrix</code></em>);</pre>
|
301
|
+
<p>Initializes a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> using the given <em class="parameter"><code>matrix</code></em>
|
302
|
+
.</p>
|
303
|
+
<div class="refsect3">
|
304
|
+
<a name="graphene-frustum-init-from-matrix.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>f</p></td>
|
314
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
315
|
+
<td class="parameter_annotations"> </td>
|
316
|
+
</tr>
|
317
|
+
<tr>
|
318
|
+
<td class="parameter_name"><p>matrix</p></td>
|
319
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Matrix.html#graphene-matrix-t" title="graphene_matrix_t"><span class="type">graphene_matrix_t</span></a></p></td>
|
320
|
+
<td class="parameter_annotations"> </td>
|
321
|
+
</tr>
|
322
|
+
</tbody>
|
323
|
+
</table></div>
|
324
|
+
</div>
|
325
|
+
<div class="refsect3">
|
326
|
+
<a name="graphene-frustum-init-from-matrix.returns"></a><h4>Returns</h4>
|
327
|
+
<p> the initialized frustum. </p>
|
328
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
329
|
+
</div>
|
330
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
331
|
+
</div>
|
332
|
+
<hr>
|
333
|
+
<div class="refsect2">
|
334
|
+
<a name="graphene-frustum-get-planes"></a><h3>graphene_frustum_get_planes ()</h3>
|
335
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
336
|
+
graphene_frustum_get_planes (<em class="parameter"><code>const <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>,
|
337
|
+
<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> planes[]</code></em>);</pre>
|
338
|
+
<p>Retrieves the planes that define the given <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a>.</p>
|
339
|
+
<div class="refsect3">
|
340
|
+
<a name="graphene-frustum-get-planes.parameters"></a><h4>Parameters</h4>
|
341
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
342
|
+
<colgroup>
|
343
|
+
<col width="150px" class="parameters_name">
|
344
|
+
<col class="parameters_description">
|
345
|
+
<col width="200px" class="parameters_annotations">
|
346
|
+
</colgroup>
|
347
|
+
<tbody>
|
348
|
+
<tr>
|
349
|
+
<td class="parameter_name"><p>f</p></td>
|
350
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
351
|
+
<td class="parameter_annotations"> </td>
|
352
|
+
</tr>
|
353
|
+
<tr>
|
354
|
+
<td class="parameter_name"><p>planes</p></td>
|
355
|
+
<td class="parameter_description"><p> return location for an array
|
356
|
+
of 6 <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a>. </p></td>
|
357
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=6]</span></td>
|
358
|
+
</tr>
|
359
|
+
</tbody>
|
360
|
+
</table></div>
|
361
|
+
</div>
|
362
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
363
|
+
</div>
|
364
|
+
<hr>
|
365
|
+
<div class="refsect2">
|
366
|
+
<a name="graphene-frustum-contains-point"></a><h3>graphene_frustum_contains_point ()</h3>
|
367
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
368
|
+
graphene_frustum_contains_point (<em class="parameter"><code>const <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>,
|
369
|
+
<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> *point</code></em>);</pre>
|
370
|
+
<p>Checks whether a point is inside the volume defined by the given
|
371
|
+
<a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a>.</p>
|
372
|
+
<div class="refsect3">
|
373
|
+
<a name="graphene-frustum-contains-point.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>f</p></td>
|
383
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
384
|
+
<td class="parameter_annotations"> </td>
|
385
|
+
</tr>
|
386
|
+
<tr>
|
387
|
+
<td class="parameter_name"><p>point</p></td>
|
388
|
+
<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>
|
389
|
+
<td class="parameter_annotations"> </td>
|
390
|
+
</tr>
|
391
|
+
</tbody>
|
392
|
+
</table></div>
|
393
|
+
</div>
|
394
|
+
<div class="refsect3">
|
395
|
+
<a name="graphene-frustum-contains-point.returns"></a><h4>Returns</h4>
|
396
|
+
<p> <code class="literal">true</code> if the point is inside the frustum</p>
|
397
|
+
</div>
|
398
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
399
|
+
</div>
|
400
|
+
<hr>
|
401
|
+
<div class="refsect2">
|
402
|
+
<a name="graphene-frustum-intersects-sphere"></a><h3>graphene_frustum_intersects_sphere ()</h3>
|
403
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
404
|
+
graphene_frustum_intersects_sphere (<em class="parameter"><code>const <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>,
|
405
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Sphere.html#graphene-sphere-t" title="graphene_sphere_t"><span class="type">graphene_sphere_t</span></a> *sphere</code></em>);</pre>
|
406
|
+
<p>Checks whether the given <em class="parameter"><code>sphere</code></em>
|
407
|
+
intersects a plane of
|
408
|
+
a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a>.</p>
|
409
|
+
<div class="refsect3">
|
410
|
+
<a name="graphene-frustum-intersects-sphere.parameters"></a><h4>Parameters</h4>
|
411
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
412
|
+
<colgroup>
|
413
|
+
<col width="150px" class="parameters_name">
|
414
|
+
<col class="parameters_description">
|
415
|
+
<col width="200px" class="parameters_annotations">
|
416
|
+
</colgroup>
|
417
|
+
<tbody>
|
418
|
+
<tr>
|
419
|
+
<td class="parameter_name"><p>f</p></td>
|
420
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
421
|
+
<td class="parameter_annotations"> </td>
|
422
|
+
</tr>
|
423
|
+
<tr>
|
424
|
+
<td class="parameter_name"><p>sphere</p></td>
|
425
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Sphere.html#graphene-sphere-t" title="graphene_sphere_t"><span class="type">graphene_sphere_t</span></a></p></td>
|
426
|
+
<td class="parameter_annotations"> </td>
|
427
|
+
</tr>
|
428
|
+
</tbody>
|
429
|
+
</table></div>
|
430
|
+
</div>
|
431
|
+
<div class="refsect3">
|
432
|
+
<a name="graphene-frustum-intersects-sphere.returns"></a><h4>Returns</h4>
|
433
|
+
<p> <code class="literal">true</code> if the sphere intersects the frustum</p>
|
434
|
+
</div>
|
435
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
436
|
+
</div>
|
437
|
+
<hr>
|
438
|
+
<div class="refsect2">
|
439
|
+
<a name="graphene-frustum-intersects-box"></a><h3>graphene_frustum_intersects_box ()</h3>
|
440
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
441
|
+
graphene_frustum_intersects_box (<em class="parameter"><code>const <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *f</code></em>,
|
442
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a> *box</code></em>);</pre>
|
443
|
+
<p>Checks whether the given <em class="parameter"><code>box</code></em>
|
444
|
+
intersects a plane of
|
445
|
+
a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a>.</p>
|
446
|
+
<div class="refsect3">
|
447
|
+
<a name="graphene-frustum-intersects-box.parameters"></a><h4>Parameters</h4>
|
448
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
449
|
+
<colgroup>
|
450
|
+
<col width="150px" class="parameters_name">
|
451
|
+
<col class="parameters_description">
|
452
|
+
<col width="200px" class="parameters_annotations">
|
453
|
+
</colgroup>
|
454
|
+
<tbody>
|
455
|
+
<tr>
|
456
|
+
<td class="parameter_name"><p>f</p></td>
|
457
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
458
|
+
<td class="parameter_annotations"> </td>
|
459
|
+
</tr>
|
460
|
+
<tr>
|
461
|
+
<td class="parameter_name"><p>box</p></td>
|
462
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Box.html#graphene-box-t" title="graphene_box_t"><span class="type">graphene_box_t</span></a></p></td>
|
463
|
+
<td class="parameter_annotations"> </td>
|
464
|
+
</tr>
|
465
|
+
</tbody>
|
466
|
+
</table></div>
|
467
|
+
</div>
|
468
|
+
<div class="refsect3">
|
469
|
+
<a name="graphene-frustum-intersects-box.returns"></a><h4>Returns</h4>
|
470
|
+
<p> <code class="literal">true</code> if the box intersects the frustum</p>
|
471
|
+
</div>
|
472
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
473
|
+
</div>
|
474
|
+
<hr>
|
475
|
+
<div class="refsect2">
|
476
|
+
<a name="graphene-frustum-equal"></a><h3>graphene_frustum_equal ()</h3>
|
477
|
+
<pre class="programlisting"><span class="returnvalue">bool</span>
|
478
|
+
graphene_frustum_equal (<em class="parameter"><code>const <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *a</code></em>,
|
479
|
+
<em class="parameter"><code>const <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> *b</code></em>);</pre>
|
480
|
+
<p>Checks whether the two given <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a> are equal.</p>
|
481
|
+
<div class="refsect3">
|
482
|
+
<a name="graphene-frustum-equal.parameters"></a><h4>Parameters</h4>
|
483
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
484
|
+
<colgroup>
|
485
|
+
<col width="150px" class="parameters_name">
|
486
|
+
<col class="parameters_description">
|
487
|
+
<col width="200px" class="parameters_annotations">
|
488
|
+
</colgroup>
|
489
|
+
<tbody>
|
490
|
+
<tr>
|
491
|
+
<td class="parameter_name"><p>a</p></td>
|
492
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
493
|
+
<td class="parameter_annotations"> </td>
|
494
|
+
</tr>
|
495
|
+
<tr>
|
496
|
+
<td class="parameter_name"><p>b</p></td>
|
497
|
+
<td class="parameter_description"><p>a <a class="link" href="graphene-Frustum.html#graphene-frustum-t" title="graphene_frustum_t"><span class="type">graphene_frustum_t</span></a></p></td>
|
498
|
+
<td class="parameter_annotations"> </td>
|
499
|
+
</tr>
|
500
|
+
</tbody>
|
501
|
+
</table></div>
|
502
|
+
</div>
|
503
|
+
<div class="refsect3">
|
504
|
+
<a name="graphene-frustum-equal.returns"></a><h4>Returns</h4>
|
505
|
+
<p> <code class="literal">true</code> if the given frustums are equal</p>
|
506
|
+
</div>
|
507
|
+
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.6">1.6</a></p>
|
508
|
+
</div>
|
509
|
+
</div>
|
510
|
+
<div class="refsect1">
|
511
|
+
<a name="graphene-Frustum.other_details"></a><h2>Types and Values</h2>
|
512
|
+
<div class="refsect2">
|
513
|
+
<a name="graphene-frustum-t"></a><h3>graphene_frustum_t</h3>
|
514
|
+
<pre class="programlisting">typedef struct {
|
515
|
+
} graphene_frustum_t;
|
516
|
+
</pre>
|
517
|
+
<p>A 3D volume delimited by 2D clip planes.</p>
|
518
|
+
<p>The contents of the <code class="literal">graphene_frustum_t</code> are private, and should not be
|
519
|
+
modified directly.</p>
|
520
|
+
<p class="since">Since: <a class="link" href="ix04.html#api-index-1.2">1.2</a></p>
|
521
|
+
</div>
|
522
|
+
</div>
|
523
|
+
</div>
|
524
|
+
<div class="footer">
|
525
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
526
|
+
</body>
|
527
|
+
</html>
|