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,596 @@
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>Ray: 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-Plane.html" title="Plane">
10
+ <link rel="next" href="graphene-Versioning-information.html" title="Versioning information">
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-Ray.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-Plane.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="graphene-Versioning-information.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-Ray"></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-Ray.top_of_page"></a>Ray</span></h2>
30
+ <p>Ray — A ray emitted from an origin in a given direction</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-Ray.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-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="graphene-Ray.html#graphene-ray-alloc" title="graphene_ray_alloc ()">graphene_ray_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-Ray.html#graphene-ray-free" title="graphene_ray_free ()">graphene_ray_free</a> <span class="c_punctuation">()</span>
56
+ </td>
57
+ </tr>
58
+ <tr>
59
+ <td class="function_type">
60
+ <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
61
+ </td>
62
+ <td class="function_name">
63
+ <a class="link" href="graphene-Ray.html#graphene-ray-init" title="graphene_ray_init ()">graphene_ray_init</a> <span class="c_punctuation">()</span>
64
+ </td>
65
+ </tr>
66
+ <tr>
67
+ <td class="function_type">
68
+ <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
69
+ </td>
70
+ <td class="function_name">
71
+ <a class="link" href="graphene-Ray.html#graphene-ray-init-from-ray" title="graphene_ray_init_from_ray ()">graphene_ray_init_from_ray</a> <span class="c_punctuation">()</span>
72
+ </td>
73
+ </tr>
74
+ <tr>
75
+ <td class="function_type">
76
+ <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
77
+ </td>
78
+ <td class="function_name">
79
+ <a class="link" href="graphene-Ray.html#graphene-ray-init-from-vec3" title="graphene_ray_init_from_vec3 ()">graphene_ray_init_from_vec3</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-Ray.html#graphene-ray-get-origin" title="graphene_ray_get_origin ()">graphene_ray_get_origin</a> <span class="c_punctuation">()</span>
88
+ </td>
89
+ </tr>
90
+ <tr>
91
+ <td class="function_type">
92
+ <span class="returnvalue">void</span>
93
+ </td>
94
+ <td class="function_name">
95
+ <a class="link" href="graphene-Ray.html#graphene-ray-get-direction" title="graphene_ray_get_direction ()">graphene_ray_get_direction</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-Ray.html#graphene-ray-get-position-at" title="graphene_ray_get_position_at ()">graphene_ray_get_position_at</a> <span class="c_punctuation">()</span>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td class="function_type">
108
+ <span class="returnvalue">float</span>
109
+ </td>
110
+ <td class="function_name">
111
+ <a class="link" href="graphene-Ray.html#graphene-ray-get-distance-to-point" title="graphene_ray_get_distance_to_point ()">graphene_ray_get_distance_to_point</a> <span class="c_punctuation">()</span>
112
+ </td>
113
+ </tr>
114
+ <tr>
115
+ <td class="function_type">
116
+ <span class="returnvalue">float</span>
117
+ </td>
118
+ <td class="function_name">
119
+ <a class="link" href="graphene-Ray.html#graphene-ray-get-distance-to-plane" title="graphene_ray_get_distance_to_plane ()">graphene_ray_get_distance_to_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-Ray.html#graphene-ray-get-closest-point-to-point" title="graphene_ray_get_closest_point_to_point ()">graphene_ray_get_closest_point_to_point</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-Ray.html#graphene-ray-equal" title="graphene_ray_equal ()">graphene_ray_equal</a> <span class="c_punctuation">()</span>
136
+ </td>
137
+ </tr>
138
+ </tbody>
139
+ </table></div>
140
+ </div>
141
+ <div class="refsect1">
142
+ <a name="graphene-Ray.other"></a><h2>Types and Values</h2>
143
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
144
+ <colgroup>
145
+ <col width="150px" class="name">
146
+ <col class="description">
147
+ </colgroup>
148
+ <tbody><tr>
149
+ <td class="datatype_keyword"> </td>
150
+ <td class="function_name"><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t">graphene_ray_t</a></td>
151
+ </tr></tbody>
152
+ </table></div>
153
+ </div>
154
+ <div class="refsect1">
155
+ <a name="graphene-Ray.includes"></a><h2>Includes</h2>
156
+ <pre class="synopsis">#include &lt;graphene.h&gt;
157
+ </pre>
158
+ </div>
159
+ <div class="refsect1">
160
+ <a name="graphene-Ray.description"></a><h2>Description</h2>
161
+ <p><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> is a structure representing a ray emitted by an origin,
162
+ identified by a point in 3D space, in a given direction, identified
163
+ by a vector with 3 components.</p>
164
+ </div>
165
+ <div class="refsect1">
166
+ <a name="graphene-Ray.functions_details"></a><h2>Functions</h2>
167
+ <div class="refsect2">
168
+ <a name="graphene-ray-alloc"></a><h3>graphene_ray_alloc ()</h3>
169
+ <pre class="programlisting"><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
170
+ graphene_ray_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
171
+ <p>Allocates a new <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> structure.</p>
172
+ <p>The contents of the returned structure are undefined.</p>
173
+ <p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
174
+ <div class="refsect3">
175
+ <a name="graphene-ray-alloc.returns"></a><h4>Returns</h4>
176
+ <p> the newly allocated <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a>.
177
+ Use <a class="link" href="graphene-Ray.html#graphene-ray-free" title="graphene_ray_free ()"><code class="function">graphene_ray_free()</code></a> to free the resources allocated by
178
+ this function. </p>
179
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
180
+ </div>
181
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
182
+ </div>
183
+ <hr>
184
+ <div class="refsect2">
185
+ <a name="graphene-ray-free"></a><h3>graphene_ray_free ()</h3>
186
+ <pre class="programlisting"><span class="returnvalue">void</span>
187
+ graphene_ray_free (<em class="parameter"><code><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>);</pre>
188
+ <p>Frees the resources allocated by <a class="link" href="graphene-Ray.html#graphene-ray-alloc" title="graphene_ray_alloc ()"><code class="function">graphene_ray_alloc()</code></a>.</p>
189
+ <div class="refsect3">
190
+ <a name="graphene-ray-free.parameters"></a><h4>Parameters</h4>
191
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
192
+ <colgroup>
193
+ <col width="150px" class="parameters_name">
194
+ <col class="parameters_description">
195
+ <col width="200px" class="parameters_annotations">
196
+ </colgroup>
197
+ <tbody><tr>
198
+ <td class="parameter_name"><p>r</p></td>
199
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
200
+ <td class="parameter_annotations"> </td>
201
+ </tr></tbody>
202
+ </table></div>
203
+ </div>
204
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
205
+ </div>
206
+ <hr>
207
+ <div class="refsect2">
208
+ <a name="graphene-ray-init"></a><h3>graphene_ray_init ()</h3>
209
+ <pre class="programlisting"><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
210
+ graphene_ray_init (<em class="parameter"><code><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
211
+ <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> *origin</code></em>,
212
+ <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> *direction</code></em>);</pre>
213
+ <p>Initializes the given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> using the given <em class="parameter"><code>origin</code></em>
214
+
215
+ and <em class="parameter"><code>direction</code></em>
216
+ values.</p>
217
+ <div class="refsect3">
218
+ <a name="graphene-ray-init.parameters"></a><h4>Parameters</h4>
219
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
220
+ <colgroup>
221
+ <col width="150px" class="parameters_name">
222
+ <col class="parameters_description">
223
+ <col width="200px" class="parameters_annotations">
224
+ </colgroup>
225
+ <tbody>
226
+ <tr>
227
+ <td class="parameter_name"><p>r</p></td>
228
+ <td class="parameter_description"><p>the <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> to initialize</p></td>
229
+ <td class="parameter_annotations"> </td>
230
+ </tr>
231
+ <tr>
232
+ <td class="parameter_name"><p>origin</p></td>
233
+ <td class="parameter_description"><p> the origin of the ray. </p></td>
234
+ <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>
235
+ </tr>
236
+ <tr>
237
+ <td class="parameter_name"><p>direction</p></td>
238
+ <td class="parameter_description"><p> the direction vector. </p></td>
239
+ <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>
240
+ </tr>
241
+ </tbody>
242
+ </table></div>
243
+ </div>
244
+ <div class="refsect3">
245
+ <a name="graphene-ray-init.returns"></a><h4>Returns</h4>
246
+ <p> the initialized ray. </p>
247
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
248
+ </div>
249
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
250
+ </div>
251
+ <hr>
252
+ <div class="refsect2">
253
+ <a name="graphene-ray-init-from-ray"></a><h3>graphene_ray_init_from_ray ()</h3>
254
+ <pre class="programlisting"><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
255
+ graphene_ray_init_from_ray (<em class="parameter"><code><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
256
+ <em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *src</code></em>);</pre>
257
+ <p>Initializes the given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> using the origin and direction
258
+ values of another <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a>.</p>
259
+ <div class="refsect3">
260
+ <a name="graphene-ray-init-from-ray.parameters"></a><h4>Parameters</h4>
261
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
262
+ <colgroup>
263
+ <col width="150px" class="parameters_name">
264
+ <col class="parameters_description">
265
+ <col width="200px" class="parameters_annotations">
266
+ </colgroup>
267
+ <tbody>
268
+ <tr>
269
+ <td class="parameter_name"><p>r</p></td>
270
+ <td class="parameter_description"><p>the <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> to initialize</p></td>
271
+ <td class="parameter_annotations"> </td>
272
+ </tr>
273
+ <tr>
274
+ <td class="parameter_name"><p>src</p></td>
275
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
276
+ <td class="parameter_annotations"> </td>
277
+ </tr>
278
+ </tbody>
279
+ </table></div>
280
+ </div>
281
+ <div class="refsect3">
282
+ <a name="graphene-ray-init-from-ray.returns"></a><h4>Returns</h4>
283
+ <p> the initialized ray. </p>
284
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
285
+ </div>
286
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
287
+ </div>
288
+ <hr>
289
+ <div class="refsect2">
290
+ <a name="graphene-ray-init-from-vec3"></a><h3>graphene_ray_init_from_vec3 ()</h3>
291
+ <pre class="programlisting"><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="returnvalue">graphene_ray_t</span></a> *
292
+ graphene_ray_init_from_vec3 (<em class="parameter"><code><a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
293
+ <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> *origin</code></em>,
294
+ <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> *direction</code></em>);</pre>
295
+ <p>Initializes the given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> using the given vectors.</p>
296
+ <div class="refsect3">
297
+ <a name="graphene-ray-init-from-vec3.parameters"></a><h4>Parameters</h4>
298
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
299
+ <colgroup>
300
+ <col width="150px" class="parameters_name">
301
+ <col class="parameters_description">
302
+ <col width="200px" class="parameters_annotations">
303
+ </colgroup>
304
+ <tbody>
305
+ <tr>
306
+ <td class="parameter_name"><p>r</p></td>
307
+ <td class="parameter_description"><p>the <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> to initialize</p></td>
308
+ <td class="parameter_annotations"> </td>
309
+ </tr>
310
+ <tr>
311
+ <td class="parameter_name"><p>origin</p></td>
312
+ <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>
313
+ <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>
314
+ </tr>
315
+ <tr>
316
+ <td class="parameter_name"><p>direction</p></td>
317
+ <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>
318
+ <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>
319
+ </tr>
320
+ </tbody>
321
+ </table></div>
322
+ </div>
323
+ <div class="refsect3">
324
+ <a name="graphene-ray-init-from-vec3.returns"></a><h4>Returns</h4>
325
+ <p> the initialized ray. </p>
326
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
327
+ </div>
328
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
329
+ </div>
330
+ <hr>
331
+ <div class="refsect2">
332
+ <a name="graphene-ray-get-origin"></a><h3>graphene_ray_get_origin ()</h3>
333
+ <pre class="programlisting"><span class="returnvalue">void</span>
334
+ graphene_ray_get_origin (<em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
335
+ <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> *origin</code></em>);</pre>
336
+ <p>Retrieves the origin of the given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a>.</p>
337
+ <div class="refsect3">
338
+ <a name="graphene-ray-get-origin.parameters"></a><h4>Parameters</h4>
339
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
340
+ <colgroup>
341
+ <col width="150px" class="parameters_name">
342
+ <col class="parameters_description">
343
+ <col width="200px" class="parameters_annotations">
344
+ </colgroup>
345
+ <tbody>
346
+ <tr>
347
+ <td class="parameter_name"><p>r</p></td>
348
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
349
+ <td class="parameter_annotations"> </td>
350
+ </tr>
351
+ <tr>
352
+ <td class="parameter_name"><p>origin</p></td>
353
+ <td class="parameter_description"><p> return location for the origin. </p></td>
354
+ <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>
355
+ </tr>
356
+ </tbody>
357
+ </table></div>
358
+ </div>
359
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
360
+ </div>
361
+ <hr>
362
+ <div class="refsect2">
363
+ <a name="graphene-ray-get-direction"></a><h3>graphene_ray_get_direction ()</h3>
364
+ <pre class="programlisting"><span class="returnvalue">void</span>
365
+ graphene_ray_get_direction (<em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
366
+ <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> *direction</code></em>);</pre>
367
+ <p>Retrieves the direction of the given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a>.</p>
368
+ <div class="refsect3">
369
+ <a name="graphene-ray-get-direction.parameters"></a><h4>Parameters</h4>
370
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
371
+ <colgroup>
372
+ <col width="150px" class="parameters_name">
373
+ <col class="parameters_description">
374
+ <col width="200px" class="parameters_annotations">
375
+ </colgroup>
376
+ <tbody>
377
+ <tr>
378
+ <td class="parameter_name"><p>r</p></td>
379
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
380
+ <td class="parameter_annotations"> </td>
381
+ </tr>
382
+ <tr>
383
+ <td class="parameter_name"><p>direction</p></td>
384
+ <td class="parameter_description"><p> return location for the direction. </p></td>
385
+ <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>
386
+ </tr>
387
+ </tbody>
388
+ </table></div>
389
+ </div>
390
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
391
+ </div>
392
+ <hr>
393
+ <div class="refsect2">
394
+ <a name="graphene-ray-get-position-at"></a><h3>graphene_ray_get_position_at ()</h3>
395
+ <pre class="programlisting"><span class="returnvalue">void</span>
396
+ graphene_ray_get_position_at (<em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
397
+ <em class="parameter"><code><span class="type">float</span> t</code></em>,
398
+ <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> *position</code></em>);</pre>
399
+ <p>Retrieves the coordinates of a point at the distance <em class="parameter"><code>t</code></em>
400
+ along the
401
+ given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a>.</p>
402
+ <div class="refsect3">
403
+ <a name="graphene-ray-get-position-at.parameters"></a><h4>Parameters</h4>
404
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
405
+ <colgroup>
406
+ <col width="150px" class="parameters_name">
407
+ <col class="parameters_description">
408
+ <col width="200px" class="parameters_annotations">
409
+ </colgroup>
410
+ <tbody>
411
+ <tr>
412
+ <td class="parameter_name"><p>r</p></td>
413
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
414
+ <td class="parameter_annotations"> </td>
415
+ </tr>
416
+ <tr>
417
+ <td class="parameter_name"><p>t</p></td>
418
+ <td class="parameter_description"><p>the distance along the ray</p></td>
419
+ <td class="parameter_annotations"> </td>
420
+ </tr>
421
+ <tr>
422
+ <td class="parameter_name"><p>position</p></td>
423
+ <td class="parameter_description"><p> return location for the position. </p></td>
424
+ <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>
425
+ </tr>
426
+ </tbody>
427
+ </table></div>
428
+ </div>
429
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
430
+ </div>
431
+ <hr>
432
+ <div class="refsect2">
433
+ <a name="graphene-ray-get-distance-to-point"></a><h3>graphene_ray_get_distance_to_point ()</h3>
434
+ <pre class="programlisting"><span class="returnvalue">float</span>
435
+ graphene_ray_get_distance_to_point (<em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
436
+ <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>
437
+ <p>Computes the distance from the origin of the given ray to the given point.</p>
438
+ <div class="refsect3">
439
+ <a name="graphene-ray-get-distance-to-point.parameters"></a><h4>Parameters</h4>
440
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
441
+ <colgroup>
442
+ <col width="150px" class="parameters_name">
443
+ <col class="parameters_description">
444
+ <col width="200px" class="parameters_annotations">
445
+ </colgroup>
446
+ <tbody>
447
+ <tr>
448
+ <td class="parameter_name"><p>r</p></td>
449
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
450
+ <td class="parameter_annotations"> </td>
451
+ </tr>
452
+ <tr>
453
+ <td class="parameter_name"><p>p</p></td>
454
+ <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>
455
+ <td class="parameter_annotations"> </td>
456
+ </tr>
457
+ </tbody>
458
+ </table></div>
459
+ </div>
460
+ <div class="refsect3">
461
+ <a name="graphene-ray-get-distance-to-point.returns"></a><h4>Returns</h4>
462
+ <p> the distance of the point</p>
463
+ </div>
464
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
465
+ </div>
466
+ <hr>
467
+ <div class="refsect2">
468
+ <a name="graphene-ray-get-distance-to-plane"></a><h3>graphene_ray_get_distance_to_plane ()</h3>
469
+ <pre class="programlisting"><span class="returnvalue">float</span>
470
+ graphene_ray_get_distance_to_plane (<em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
471
+ <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> *p</code></em>);</pre>
472
+ <p>Computes the distance of the origin of the given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> from the
473
+ given plane.</p>
474
+ <p>If the ray does not intersect the plane, this function returns <code class="literal">INFINITY</code>.</p>
475
+ <div class="refsect3">
476
+ <a name="graphene-ray-get-distance-to-plane.parameters"></a><h4>Parameters</h4>
477
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
478
+ <colgroup>
479
+ <col width="150px" class="parameters_name">
480
+ <col class="parameters_description">
481
+ <col width="200px" class="parameters_annotations">
482
+ </colgroup>
483
+ <tbody>
484
+ <tr>
485
+ <td class="parameter_name"><p>r</p></td>
486
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
487
+ <td class="parameter_annotations"> </td>
488
+ </tr>
489
+ <tr>
490
+ <td class="parameter_name"><p>p</p></td>
491
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Plane.html#graphene-plane-t" title="graphene_plane_t"><span class="type">graphene_plane_t</span></a></p></td>
492
+ <td class="parameter_annotations"> </td>
493
+ </tr>
494
+ </tbody>
495
+ </table></div>
496
+ </div>
497
+ <div class="refsect3">
498
+ <a name="graphene-ray-get-distance-to-plane.returns"></a><h4>Returns</h4>
499
+ <p> the distance of the origin of the ray from the plane</p>
500
+ </div>
501
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
502
+ </div>
503
+ <hr>
504
+ <div class="refsect2">
505
+ <a name="graphene-ray-get-closest-point-to-point"></a><h3>graphene_ray_get_closest_point_to_point ()</h3>
506
+ <pre class="programlisting"><span class="returnvalue">void</span>
507
+ graphene_ray_get_closest_point_to_point
508
+ (<em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *r</code></em>,
509
+ <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>,
510
+ <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>
511
+ <p>Computes the point on the given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> that is closest to the
512
+ given point <em class="parameter"><code>p</code></em>
513
+ .</p>
514
+ <div class="refsect3">
515
+ <a name="graphene-ray-get-closest-point-to-point.parameters"></a><h4>Parameters</h4>
516
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
517
+ <colgroup>
518
+ <col width="150px" class="parameters_name">
519
+ <col class="parameters_description">
520
+ <col width="200px" class="parameters_annotations">
521
+ </colgroup>
522
+ <tbody>
523
+ <tr>
524
+ <td class="parameter_name"><p>r</p></td>
525
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
526
+ <td class="parameter_annotations"> </td>
527
+ </tr>
528
+ <tr>
529
+ <td class="parameter_name"><p>p</p></td>
530
+ <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>
531
+ <td class="parameter_annotations"> </td>
532
+ </tr>
533
+ <tr>
534
+ <td class="parameter_name"><p>res</p></td>
535
+ <td class="parameter_description"><p> return location for the closest point3d. </p></td>
536
+ <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>
537
+ </tr>
538
+ </tbody>
539
+ </table></div>
540
+ </div>
541
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
542
+ </div>
543
+ <hr>
544
+ <div class="refsect2">
545
+ <a name="graphene-ray-equal"></a><h3>graphene_ray_equal ()</h3>
546
+ <pre class="programlisting"><span class="returnvalue">bool</span>
547
+ graphene_ray_equal (<em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *a</code></em>,
548
+ <em class="parameter"><code>const <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> *b</code></em>);</pre>
549
+ <p>Checks whether the two given <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a> are equal.</p>
550
+ <div class="refsect3">
551
+ <a name="graphene-ray-equal.parameters"></a><h4>Parameters</h4>
552
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
553
+ <colgroup>
554
+ <col width="150px" class="parameters_name">
555
+ <col class="parameters_description">
556
+ <col width="200px" class="parameters_annotations">
557
+ </colgroup>
558
+ <tbody>
559
+ <tr>
560
+ <td class="parameter_name"><p>a</p></td>
561
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
562
+ <td class="parameter_annotations"> </td>
563
+ </tr>
564
+ <tr>
565
+ <td class="parameter_name"><p>b</p></td>
566
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Ray.html#graphene-ray-t" title="graphene_ray_t"><span class="type">graphene_ray_t</span></a></p></td>
567
+ <td class="parameter_annotations"> </td>
568
+ </tr>
569
+ </tbody>
570
+ </table></div>
571
+ </div>
572
+ <div class="refsect3">
573
+ <a name="graphene-ray-equal.returns"></a><h4>Returns</h4>
574
+ <p> <code class="literal">true</code> if the given rays are equal</p>
575
+ </div>
576
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
577
+ </div>
578
+ </div>
579
+ <div class="refsect1">
580
+ <a name="graphene-Ray.other_details"></a><h2>Types and Values</h2>
581
+ <div class="refsect2">
582
+ <a name="graphene-ray-t"></a><h3>graphene_ray_t</h3>
583
+ <pre class="programlisting">typedef struct {
584
+ } graphene_ray_t;
585
+ </pre>
586
+ <p>A ray emitted from an origin in a given direction.</p>
587
+ <p>The contents of the <code class="literal">graphene_ray_t</code> structure are private, and should not
588
+ be modified directly.</p>
589
+ <p class="since">Since: <a class="link" href="ix05.html#api-index-1.4">1.4</a></p>
590
+ </div>
591
+ </div>
592
+ </div>
593
+ <div class="footer">
594
+ <hr>Generated by GTK-Doc V1.25</div>
595
+ </body>
596
+ </html>