pango 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +27 -5
  3. data/ext/pango/depend +2 -2
  4. data/ext/pango/extconf.rb +32 -28
  5. data/ext/pango/pango.def +0 -16
  6. data/ext/pango/rb-pango-attr-list.c +64 -0
  7. data/ext/pango/rb-pango-attribute.c +147 -0
  8. data/ext/pango/rb-pango-context.c +79 -0
  9. data/ext/pango/{rbpangoconversions.h → rb-pango-conversions.h} +4 -6
  10. data/ext/pango/rb-pango-private.h +27 -0
  11. data/ext/pango/rb-pango.c +32 -0
  12. data/ext/pango/rb-pango.h +29 -0
  13. data/extconf.rb +25 -9
  14. data/lib/2.2/pango.so +0 -0
  15. data/lib/2.3/pango.so +0 -0
  16. data/lib/2.4/pango.so +0 -0
  17. data/lib/pango.rb +24 -68
  18. data/lib/pango/cairo-loader.rb +63 -0
  19. data/lib/pango/color.rb +31 -0
  20. data/lib/pango/deprecated.rb +37 -0
  21. data/lib/pango/font-description.rb +29 -0
  22. data/lib/pango/language.rb +29 -0
  23. data/lib/pango/layout.rb +41 -0
  24. data/lib/pango/loader.rb +87 -0
  25. data/lib/pango/markup.rb +31 -0
  26. data/lib/pango/matrix.rb +64 -0
  27. data/lib/pango/rectangle.rb +28 -0
  28. data/lib/pango/version.rb +30 -0
  29. data/test/pango-test-utils.rb +7 -7
  30. data/test/run-test.rb +34 -8
  31. data/test/test-attr-list.rb +28 -0
  32. data/test/test-color.rb +1 -3
  33. data/test/test-context.rb +4 -4
  34. data/test/test-enum.rb +37 -0
  35. data/test/test-font-description.rb +31 -0
  36. data/test/test-language.rb +2 -1
  37. data/test/test-layout.rb +12 -0
  38. data/test/test-markup.rb +30 -0
  39. data/test/test-matrix.rb +131 -5
  40. data/test/test-rectangle.rb +16 -3
  41. data/vendor/local/bin/derb.exe +0 -0
  42. data/vendor/local/bin/genbrk.exe +0 -0
  43. data/vendor/local/bin/genccode.exe +0 -0
  44. data/vendor/local/bin/gencfu.exe +0 -0
  45. data/vendor/local/bin/gencmn.exe +0 -0
  46. data/vendor/local/bin/gencnval.exe +0 -0
  47. data/vendor/local/bin/gendict.exe +0 -0
  48. data/vendor/local/bin/gennorm2.exe +0 -0
  49. data/vendor/local/bin/genrb.exe +0 -0
  50. data/vendor/local/bin/gensprep.exe +0 -0
  51. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  52. data/vendor/local/bin/hb-shape.exe +0 -0
  53. data/vendor/local/bin/hb-view.exe +0 -0
  54. data/vendor/local/bin/icuinfo.exe +0 -0
  55. data/vendor/local/bin/icupkg.exe +0 -0
  56. data/vendor/local/bin/libgraphene-1.0-0.dll +0 -0
  57. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  58. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  59. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  60. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  61. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  62. data/vendor/local/bin/makeconv.exe +0 -0
  63. data/vendor/local/bin/pango-view.exe +0 -0
  64. data/vendor/local/bin/pkgdata.exe +0 -0
  65. data/vendor/local/bin/uconv.exe +0 -0
  66. data/vendor/local/include/graphene-1.0/graphene-box.h +148 -0
  67. data/vendor/local/include/graphene-1.0/graphene-euler.h +140 -0
  68. data/vendor/local/include/graphene-1.0/graphene-frustum.h +93 -0
  69. data/vendor/local/include/graphene-1.0/graphene-gobject.h +119 -0
  70. data/vendor/local/include/graphene-1.0/graphene-macros.h +105 -0
  71. data/vendor/local/include/graphene-1.0/graphene-matrix.h +288 -0
  72. data/vendor/local/include/graphene-1.0/graphene-plane.h +99 -0
  73. data/vendor/local/include/graphene-1.0/graphene-point.h +120 -0
  74. data/vendor/local/include/graphene-1.0/graphene-point3d.h +140 -0
  75. data/vendor/local/include/graphene-1.0/graphene-quad.h +80 -0
  76. data/vendor/local/include/graphene-1.0/graphene-quaternion.h +136 -0
  77. data/vendor/local/include/graphene-1.0/graphene-ray.h +98 -0
  78. data/vendor/local/include/graphene-1.0/graphene-rect.h +180 -0
  79. data/vendor/local/include/graphene-1.0/graphene-simd4f.h +1870 -0
  80. data/vendor/local/include/graphene-1.0/graphene-simd4x4f.h +1045 -0
  81. data/vendor/local/include/graphene-1.0/graphene-size.h +105 -0
  82. data/vendor/local/include/graphene-1.0/graphene-sphere.h +97 -0
  83. data/vendor/local/include/graphene-1.0/graphene-triangle.h +105 -0
  84. data/vendor/local/include/graphene-1.0/graphene-types.h +88 -0
  85. data/vendor/local/include/graphene-1.0/graphene-vec2.h +130 -0
  86. data/vendor/local/include/graphene-1.0/graphene-vec3.h +155 -0
  87. data/vendor/local/include/graphene-1.0/graphene-vec4.h +156 -0
  88. data/vendor/local/include/graphene-1.0/graphene-version-macros.h +185 -0
  89. data/vendor/local/include/graphene-1.0/graphene-version.h +70 -0
  90. data/vendor/local/include/graphene-1.0/graphene.h +61 -0
  91. data/vendor/local/include/harfbuzz/hb-common.h +36 -0
  92. data/vendor/local/include/harfbuzz/hb-font.h +18 -1
  93. data/vendor/local/include/harfbuzz/hb-ot-var.h +105 -0
  94. data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
  95. data/vendor/local/include/harfbuzz/hb-shape.h +0 -16
  96. data/vendor/local/include/harfbuzz/hb-version.h +2 -2
  97. data/vendor/local/include/pango-1.0/pango/pango-engine.h +6 -6
  98. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  99. data/vendor/local/include/pango-1.0/pango/pango-layout.h +1 -1
  100. data/vendor/local/lib/girepository-1.0/Graphene-1.0.typelib +0 -0
  101. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  102. data/vendor/local/lib/graphene-1.0/include/graphene-config.h +89 -0
  103. data/vendor/local/lib/icudt.dll +0 -0
  104. data/vendor/local/lib/icudt58.dll +0 -0
  105. data/vendor/local/lib/icuin.dll +0 -0
  106. data/vendor/local/lib/icuin58.dll +0 -0
  107. data/vendor/local/lib/icuio.dll +0 -0
  108. data/vendor/local/lib/icuio58.dll +0 -0
  109. data/vendor/local/lib/icutest.dll +0 -0
  110. data/vendor/local/lib/icutest58.dll +0 -0
  111. data/vendor/local/lib/icutu.dll +0 -0
  112. data/vendor/local/lib/icutu58.dll +0 -0
  113. data/vendor/local/lib/icuuc.dll +0 -0
  114. data/vendor/local/lib/icuuc58.dll +0 -0
  115. data/vendor/local/lib/libgraphene-1.0.dll.a +0 -0
  116. data/vendor/local/lib/libgraphene-1.0.la +41 -0
  117. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  118. data/vendor/local/lib/libharfbuzz-icu.la +1 -1
  119. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  120. data/vendor/local/lib/libharfbuzz.la +1 -1
  121. data/vendor/local/lib/libicudt.dll.a +0 -0
  122. data/vendor/local/lib/libicudt58.dll +0 -0
  123. data/vendor/local/lib/libicuin.dll.a +0 -0
  124. data/vendor/local/lib/libicuio.dll.a +0 -0
  125. data/vendor/local/lib/libicutest.dll.a +0 -0
  126. data/vendor/local/lib/libicutu.dll.a +0 -0
  127. data/vendor/local/lib/libicuuc.dll.a +0 -0
  128. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  129. data/vendor/local/lib/libpango-1.0.la +1 -1
  130. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  131. data/vendor/local/lib/libpangocairo-1.0.la +1 -1
  132. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  133. data/vendor/local/lib/libpangoft2-1.0.la +1 -1
  134. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  135. data/vendor/local/lib/libpangowin32-1.0.la +1 -1
  136. data/vendor/local/lib/pkgconfig/graphene-1.0.pc +15 -0
  137. data/vendor/local/lib/pkgconfig/graphene-gobject-1.0.pc +15 -0
  138. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
  139. data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
  140. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  141. data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
  142. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  143. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  144. data/vendor/local/share/gir-1.0/Graphene-1.0.gir +8180 -0
  145. data/vendor/local/share/gir-1.0/Pango-1.0.gir +12 -16
  146. data/vendor/local/share/gtk-doc/html/graphene/annotation-glossary.html +57 -0
  147. data/vendor/local/share/gtk-doc/html/graphene/api-index.html +1985 -0
  148. data/vendor/local/share/gtk-doc/html/graphene/ch01.html +97 -0
  149. data/vendor/local/share/gtk-doc/html/graphene/deprecated-api-index.html +34 -0
  150. data/vendor/local/share/gtk-doc/html/graphene/graphene-Box.html +1252 -0
  151. data/vendor/local/share/gtk-doc/html/graphene/graphene-Euler.html +886 -0
  152. data/vendor/local/share/gtk-doc/html/graphene/graphene-Frustum.html +527 -0
  153. data/vendor/local/share/gtk-doc/html/graphene/graphene-GObject-integration.html +147 -0
  154. data/vendor/local/share/gtk-doc/html/graphene/graphene-Matrix.html +2959 -0
  155. data/vendor/local/share/gtk-doc/html/graphene/graphene-Plane.html +641 -0
  156. data/vendor/local/share/gtk-doc/html/graphene/graphene-Point.html +689 -0
  157. data/vendor/local/share/gtk-doc/html/graphene/graphene-Point3D.html +916 -0
  158. data/vendor/local/share/gtk-doc/html/graphene/graphene-Quad.html +418 -0
  159. data/vendor/local/share/gtk-doc/html/graphene/graphene-Quaternion.html +1056 -0
  160. data/vendor/local/share/gtk-doc/html/graphene/graphene-Ray.html +596 -0
  161. data/vendor/local/share/gtk-doc/html/graphene/graphene-Rectangle.html +1483 -0
  162. data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-matrix.html +1475 -0
  163. data/vendor/local/share/gtk-doc/html/graphene/graphene-SIMD-vector.html +3046 -0
  164. data/vendor/local/share/gtk-doc/html/graphene/graphene-Size.html +489 -0
  165. data/vendor/local/share/gtk-doc/html/graphene/graphene-Sphere.html +641 -0
  166. data/vendor/local/share/gtk-doc/html/graphene/graphene-Triangle.html +705 -0
  167. data/vendor/local/share/gtk-doc/html/graphene/graphene-Vectors.html +3715 -0
  168. data/vendor/local/share/gtk-doc/html/graphene/graphene-Versioning-information.html +104 -0
  169. data/vendor/local/share/gtk-doc/html/graphene/graphene.devhelp2 +534 -0
  170. data/vendor/local/share/gtk-doc/html/graphene/home.png +0 -0
  171. data/vendor/local/share/gtk-doc/html/graphene/index.html +107 -0
  172. data/vendor/local/share/gtk-doc/html/graphene/ix03.html +1313 -0
  173. data/vendor/local/share/gtk-doc/html/graphene/ix04.html +582 -0
  174. data/vendor/local/share/gtk-doc/html/graphene/ix05.html +151 -0
  175. data/vendor/local/share/gtk-doc/html/graphene/ix06.html +34 -0
  176. data/vendor/local/share/gtk-doc/html/graphene/left-insensitive.png +0 -0
  177. data/vendor/local/share/gtk-doc/html/graphene/left.png +0 -0
  178. data/vendor/local/share/gtk-doc/html/{pango/api-index-1-40.html → graphene/object-tree.html} +14 -11
  179. data/vendor/local/share/gtk-doc/html/graphene/rectangle-intersection.png +0 -0
  180. data/vendor/local/share/gtk-doc/html/graphene/rectangle-union.png +0 -0
  181. data/vendor/local/share/gtk-doc/html/graphene/rectangle.png +0 -0
  182. data/vendor/local/share/gtk-doc/html/graphene/right-insensitive.png +0 -0
  183. data/vendor/local/share/gtk-doc/html/graphene/right.png +0 -0
  184. data/vendor/local/share/gtk-doc/html/graphene/style.css +479 -0
  185. data/vendor/local/share/gtk-doc/html/graphene/triangle-barycentric.png +0 -0
  186. data/vendor/local/share/gtk-doc/html/graphene/up-insensitive.png +0 -0
  187. data/vendor/local/share/gtk-doc/html/graphene/up.png +0 -0
  188. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-2-3.html +2 -2
  189. data/vendor/local/share/gtk-doc/html/harfbuzz/{api-index-1-4-0.html → api-index-1-3-3.html} +2 -2
  190. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +104 -0
  191. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +9 -2
  192. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +1 -1
  193. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +156 -40
  194. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +73 -0
  195. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +1 -0
  196. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +49 -0
  197. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-math.html +174 -177
  198. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +40 -0
  199. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +2 -2
  200. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +28 -10
  201. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +1 -1
  202. data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +2 -2
  203. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +2 -2
  204. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +2 -2
  205. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +1 -1
  206. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +1 -1
  207. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +3 -3
  208. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +1 -1
  209. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +2 -2
  210. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +1 -1
  211. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +1 -1
  212. data/vendor/local/share/gtk-doc/html/pango/index.html +2 -23
  213. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +1 -1
  214. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +1 -1
  215. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +69 -69
  216. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +1 -1
  217. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +1 -1
  218. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -1
  219. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +5 -4
  220. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +8 -4
  221. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +3 -3
  222. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4 -4
  223. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +1 -1
  224. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +3 -1
  225. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1 -1
  226. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +3 -3
  227. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +1 -1
  228. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +1 -1
  229. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +3 -3
  230. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +3 -3
  231. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +1 -1
  232. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -3
  233. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1 -1
  234. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +1 -1
  235. data/vendor/local/share/gtk-doc/html/pango/pango.html +1 -1
  236. data/vendor/local/share/gtk-doc/html/pango/rendering.html +1 -1
  237. data/vendor/local/share/man/man1/pango-view.1 +2 -2
  238. metadata +119 -78
  239. data/README +0 -32
  240. data/ext/pango/rbpango.c +0 -356
  241. data/ext/pango/rbpango.h +0 -95
  242. data/ext/pango/rbpangoanalysis.c +0 -218
  243. data/ext/pango/rbpangoattribute.c +0 -506
  244. data/ext/pango/rbpangoattriterator.c +0 -141
  245. data/ext/pango/rbpangoattrlist.c +0 -101
  246. data/ext/pango/rbpangocairo.c +0 -122
  247. data/ext/pango/rbpangocairocontext.c +0 -131
  248. data/ext/pango/rbpangocolor.c +0 -120
  249. data/ext/pango/rbpangocontext.c +0 -344
  250. data/ext/pango/rbpangocoverage.c +0 -106
  251. data/ext/pango/rbpangoengine.c +0 -73
  252. data/ext/pango/rbpangofont.c +0 -110
  253. data/ext/pango/rbpangofontdescription.c +0 -282
  254. data/ext/pango/rbpangofontface.c +0 -73
  255. data/ext/pango/rbpangofontfamily.c +0 -79
  256. data/ext/pango/rbpangofontmap.c +0 -102
  257. data/ext/pango/rbpangofontmetrics.c +0 -85
  258. data/ext/pango/rbpangofontset.c +0 -69
  259. data/ext/pango/rbpangofontsetsimple.c +0 -60
  260. data/ext/pango/rbpangoglyphinfo.c +0 -123
  261. data/ext/pango/rbpangoglyphitem.c +0 -125
  262. data/ext/pango/rbpangoglyphstring.c +0 -151
  263. data/ext/pango/rbpangogravity.c +0 -54
  264. data/ext/pango/rbpangoitem.c +0 -95
  265. data/ext/pango/rbpangolanguage.c +0 -94
  266. data/ext/pango/rbpangolayout.c +0 -583
  267. data/ext/pango/rbpangolayoutiter.c +0 -189
  268. data/ext/pango/rbpangolayoutline.c +0 -243
  269. data/ext/pango/rbpangologattr.c +0 -109
  270. data/ext/pango/rbpangomatrix.c +0 -143
  271. data/ext/pango/rbpangoprivate.h +0 -49
  272. data/ext/pango/rbpangorectangle.c +0 -170
  273. data/ext/pango/rbpangorenderer.c +0 -193
  274. data/ext/pango/rbpangoscript.c +0 -84
  275. data/ext/pango/rbpangoscriptiter.c +0 -92
  276. data/ext/pango/rbpangotabarray.c +0 -128
  277. data/sample/attribute.rb +0 -82
  278. data/sample/break.rb +0 -28
  279. data/sample/gdk_layout.rb +0 -27
  280. data/sample/glyphstring.rb +0 -61
  281. data/sample/item.rb +0 -37
  282. data/sample/label.rb +0 -23
  283. data/sample/layout.rb +0 -102
  284. data/sample/pango_cairo.rb +0 -66
  285. data/sample/parse.rb +0 -33
  286. data/sample/sample.txt +0 -10
  287. data/sample/script.rb +0 -23
  288. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +0 -134
  289. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +0 -48
  290. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +0 -63
  291. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +0 -227
  292. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +0 -151
  293. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +0 -121
  294. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +0 -86
  295. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +0 -123
  296. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +0 -96
  297. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +0 -45
  298. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +0 -38
  299. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +0 -38
  300. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +0 -52
  301. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +0 -41
  302. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +0 -38
  303. data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +0 -79
  304. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +0 -200
  305. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +0 -164
  306. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +0 -170
  307. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +0 -441
@@ -0,0 +1,705 @@
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 &lt;graphene.h&gt;
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>