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,489 @@
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>Size: 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-Point3D.html" title="Point3D">
10
+ <link rel="next" href="graphene-Rectangle.html" title="Rectangle">
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-Size.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-Point3D.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="graphene-Rectangle.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-Size"></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-Size.top_of_page"></a>Size</span></h2>
30
+ <p>Size — Size representation</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-Size.functions"></a><h2>Functions</h2>
36
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
37
+ <colgroup>
38
+ <col width="150px" class="functions_return">
39
+ <col class="functions_name">
40
+ </colgroup>
41
+ <tbody>
42
+ <tr>
43
+ <td class="define_keyword">#define</td>
44
+ <td class="function_name">
45
+ <a class="link" href="graphene-Size.html#GRAPHENE-SIZE-INIT:CAPS" title="GRAPHENE_SIZE_INIT()">GRAPHENE_SIZE_INIT</a><span class="c_punctuation">()</span>
46
+ </td>
47
+ </tr>
48
+ <tr>
49
+ <td class="function_type">
50
+ <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
51
+ </td>
52
+ <td class="function_name">
53
+ <a class="link" href="graphene-Size.html#graphene-size-alloc" title="graphene_size_alloc ()">graphene_size_alloc</a> <span class="c_punctuation">()</span>
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td class="function_type">
58
+ <span class="returnvalue">void</span>
59
+ </td>
60
+ <td class="function_name">
61
+ <a class="link" href="graphene-Size.html#graphene-size-free" title="graphene_size_free ()">graphene_size_free</a> <span class="c_punctuation">()</span>
62
+ </td>
63
+ </tr>
64
+ <tr>
65
+ <td class="function_type">
66
+ <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
67
+ </td>
68
+ <td class="function_name">
69
+ <a class="link" href="graphene-Size.html#graphene-size-init" title="graphene_size_init ()">graphene_size_init</a> <span class="c_punctuation">()</span>
70
+ </td>
71
+ </tr>
72
+ <tr>
73
+ <td class="function_type">
74
+ <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
75
+ </td>
76
+ <td class="function_name">
77
+ <a class="link" href="graphene-Size.html#graphene-size-init-from-size" title="graphene_size_init_from_size ()">graphene_size_init_from_size</a> <span class="c_punctuation">()</span>
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td class="function_type">
82
+ <span class="returnvalue">bool</span>
83
+ </td>
84
+ <td class="function_name">
85
+ <a class="link" href="graphene-Size.html#graphene-size-equal" title="graphene_size_equal ()">graphene_size_equal</a> <span class="c_punctuation">()</span>
86
+ </td>
87
+ </tr>
88
+ <tr>
89
+ <td class="function_type">
90
+ <span class="returnvalue">void</span>
91
+ </td>
92
+ <td class="function_name">
93
+ <a class="link" href="graphene-Size.html#graphene-size-scale" title="graphene_size_scale ()">graphene_size_scale</a> <span class="c_punctuation">()</span>
94
+ </td>
95
+ </tr>
96
+ <tr>
97
+ <td class="function_type">
98
+ <span class="returnvalue">void</span>
99
+ </td>
100
+ <td class="function_name">
101
+ <a class="link" href="graphene-Size.html#graphene-size-interpolate" title="graphene_size_interpolate ()">graphene_size_interpolate</a> <span class="c_punctuation">()</span>
102
+ </td>
103
+ </tr>
104
+ <tr>
105
+ <td class="function_type">const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
106
+ </td>
107
+ <td class="function_name">
108
+ <a class="link" href="graphene-Size.html#graphene-size-zero" title="graphene_size_zero ()">graphene_size_zero</a> <span class="c_punctuation">()</span>
109
+ </td>
110
+ </tr>
111
+ </tbody>
112
+ </table></div>
113
+ </div>
114
+ <div class="refsect1">
115
+ <a name="graphene-Size.other"></a><h2>Types and Values</h2>
116
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
117
+ <colgroup>
118
+ <col width="150px" class="name">
119
+ <col class="description">
120
+ </colgroup>
121
+ <tbody>
122
+ <tr>
123
+ <td class="define_keyword">#define</td>
124
+ <td class="function_name"><a class="link" href="graphene-Size.html#GRAPHENE-SIZE-INIT-ZERO:CAPS" title="GRAPHENE_SIZE_INIT_ZERO">GRAPHENE_SIZE_INIT_ZERO</a></td>
125
+ </tr>
126
+ <tr>
127
+ <td class="datatype_keyword"> </td>
128
+ <td class="function_name"><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t">graphene_size_t</a></td>
129
+ </tr>
130
+ </tbody>
131
+ </table></div>
132
+ </div>
133
+ <div class="refsect1">
134
+ <a name="graphene-Size.includes"></a><h2>Includes</h2>
135
+ <pre class="synopsis">#include &lt;graphene.h&gt;
136
+ </pre>
137
+ </div>
138
+ <div class="refsect1">
139
+ <a name="graphene-Size.description"></a><h2>Description</h2>
140
+ <p><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> represents a size composed of a <em class="parameter"><code>graphene_size_t.width</code></em>
141
+
142
+ by a <em class="parameter"><code>graphene_size_t.height</code></em>
143
+ .</p>
144
+ </div>
145
+ <div class="refsect1">
146
+ <a name="graphene-Size.functions_details"></a><h2>Functions</h2>
147
+ <div class="refsect2">
148
+ <a name="GRAPHENE-SIZE-INIT:CAPS"></a><h3>GRAPHENE_SIZE_INIT()</h3>
149
+ <pre class="programlisting">#define GRAPHENE_SIZE_INIT(_w,_h) (graphene_size_t) { .width = (_w), .height = (_h) }
150
+ </pre>
151
+ <p>Initializes a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> with the given sizes when
152
+ declaring it, e.g.:</p>
153
+ <div class="informalexample">
154
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
155
+ <tbody>
156
+ <tr>
157
+ <td class="listing_lines" align="right"><pre>1</pre></td>
158
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">graphene_size_t</span><span class="normal"> size </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="graphene-Size.html#GRAPHENE-SIZE-INIT:CAPS">GRAPHENE_SIZE_INIT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">100</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">.</span><span class="normal">f</span><span class="symbol">);</span></pre></td>
159
+ </tr>
160
+ </tbody>
161
+ </table>
162
+ </div>
163
+
164
+ <p></p>
165
+ <div class="refsect3">
166
+ <a name="GRAPHENE-SIZE-INIT.parameters"></a><h4>Parameters</h4>
167
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
168
+ <colgroup>
169
+ <col width="150px" class="parameters_name">
170
+ <col class="parameters_description">
171
+ <col width="200px" class="parameters_annotations">
172
+ </colgroup>
173
+ <tbody>
174
+ <tr>
175
+ <td class="parameter_name"><p>_w</p></td>
176
+ <td class="parameter_description"><p>the width</p></td>
177
+ <td class="parameter_annotations"> </td>
178
+ </tr>
179
+ <tr>
180
+ <td class="parameter_name"><p>_h</p></td>
181
+ <td class="parameter_description"><p>the height</p></td>
182
+ <td class="parameter_annotations"> </td>
183
+ </tr>
184
+ </tbody>
185
+ </table></div>
186
+ </div>
187
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
188
+ </div>
189
+ <hr>
190
+ <div class="refsect2">
191
+ <a name="graphene-size-alloc"></a><h3>graphene_size_alloc ()</h3>
192
+ <pre class="programlisting"><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
193
+ graphene_size_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
194
+ <p>Allocates a new <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a>.</p>
195
+ <p>The contents of the returned value are undefined.</p>
196
+ <p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
197
+ <div class="refsect3">
198
+ <a name="graphene-size-alloc.returns"></a><h4>Returns</h4>
199
+ <p> the newly allocated <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a>. </p>
200
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
201
+ </div>
202
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
203
+ </div>
204
+ <hr>
205
+ <div class="refsect2">
206
+ <a name="graphene-size-free"></a><h3>graphene_size_free ()</h3>
207
+ <pre class="programlisting"><span class="returnvalue">void</span>
208
+ graphene_size_free (<em class="parameter"><code><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *s</code></em>);</pre>
209
+ <p>Frees the resources allocated by <a class="link" href="graphene-Size.html#graphene-size-alloc" title="graphene_size_alloc ()"><code class="function">graphene_size_alloc()</code></a>.</p>
210
+ <div class="refsect3">
211
+ <a name="graphene-size-free.parameters"></a><h4>Parameters</h4>
212
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
213
+ <colgroup>
214
+ <col width="150px" class="parameters_name">
215
+ <col class="parameters_description">
216
+ <col width="200px" class="parameters_annotations">
217
+ </colgroup>
218
+ <tbody><tr>
219
+ <td class="parameter_name"><p>s</p></td>
220
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
221
+ <td class="parameter_annotations"> </td>
222
+ </tr></tbody>
223
+ </table></div>
224
+ </div>
225
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
226
+ </div>
227
+ <hr>
228
+ <div class="refsect2">
229
+ <a name="graphene-size-init"></a><h3>graphene_size_init ()</h3>
230
+ <pre class="programlisting"><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
231
+ graphene_size_init (<em class="parameter"><code><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *s</code></em>,
232
+ <em class="parameter"><code><span class="type">float</span> width</code></em>,
233
+ <em class="parameter"><code><span class="type">float</span> height</code></em>);</pre>
234
+ <p>Initializes a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> using the given <em class="parameter"><code>width</code></em>
235
+ and <em class="parameter"><code>height</code></em>
236
+ .</p>
237
+ <div class="refsect3">
238
+ <a name="graphene-size-init.parameters"></a><h4>Parameters</h4>
239
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
240
+ <colgroup>
241
+ <col width="150px" class="parameters_name">
242
+ <col class="parameters_description">
243
+ <col width="200px" class="parameters_annotations">
244
+ </colgroup>
245
+ <tbody>
246
+ <tr>
247
+ <td class="parameter_name"><p>s</p></td>
248
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
249
+ <td class="parameter_annotations"> </td>
250
+ </tr>
251
+ <tr>
252
+ <td class="parameter_name"><p>width</p></td>
253
+ <td class="parameter_description"><p>the width</p></td>
254
+ <td class="parameter_annotations"> </td>
255
+ </tr>
256
+ <tr>
257
+ <td class="parameter_name"><p>height</p></td>
258
+ <td class="parameter_description"><p>the height</p></td>
259
+ <td class="parameter_annotations"> </td>
260
+ </tr>
261
+ </tbody>
262
+ </table></div>
263
+ </div>
264
+ <div class="refsect3">
265
+ <a name="graphene-size-init.returns"></a><h4>Returns</h4>
266
+ <p> the initialized <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a>. </p>
267
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
268
+ </div>
269
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
270
+ </div>
271
+ <hr>
272
+ <div class="refsect2">
273
+ <a name="graphene-size-init-from-size"></a><h3>graphene_size_init_from_size ()</h3>
274
+ <pre class="programlisting"><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
275
+ graphene_size_init_from_size (<em class="parameter"><code><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *s</code></em>,
276
+ <em class="parameter"><code>const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *src</code></em>);</pre>
277
+ <p>Initializes a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> using the width and height of
278
+ the given <em class="parameter"><code>src</code></em>
279
+ .</p>
280
+ <div class="refsect3">
281
+ <a name="graphene-size-init-from-size.parameters"></a><h4>Parameters</h4>
282
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
283
+ <colgroup>
284
+ <col width="150px" class="parameters_name">
285
+ <col class="parameters_description">
286
+ <col width="200px" class="parameters_annotations">
287
+ </colgroup>
288
+ <tbody>
289
+ <tr>
290
+ <td class="parameter_name"><p>s</p></td>
291
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
292
+ <td class="parameter_annotations"> </td>
293
+ </tr>
294
+ <tr>
295
+ <td class="parameter_name"><p>src</p></td>
296
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
297
+ <td class="parameter_annotations"> </td>
298
+ </tr>
299
+ </tbody>
300
+ </table></div>
301
+ </div>
302
+ <div class="refsect3">
303
+ <a name="graphene-size-init-from-size.returns"></a><h4>Returns</h4>
304
+ <p> the initialized <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a>. </p>
305
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
306
+ </div>
307
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
308
+ </div>
309
+ <hr>
310
+ <div class="refsect2">
311
+ <a name="graphene-size-equal"></a><h3>graphene_size_equal ()</h3>
312
+ <pre class="programlisting"><span class="returnvalue">bool</span>
313
+ graphene_size_equal (<em class="parameter"><code>const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *a</code></em>,
314
+ <em class="parameter"><code>const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *b</code></em>);</pre>
315
+ <p>Checks whether the two give <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> are equal.</p>
316
+ <div class="refsect3">
317
+ <a name="graphene-size-equal.parameters"></a><h4>Parameters</h4>
318
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
319
+ <colgroup>
320
+ <col width="150px" class="parameters_name">
321
+ <col class="parameters_description">
322
+ <col width="200px" class="parameters_annotations">
323
+ </colgroup>
324
+ <tbody>
325
+ <tr>
326
+ <td class="parameter_name"><p>a</p></td>
327
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
328
+ <td class="parameter_annotations"> </td>
329
+ </tr>
330
+ <tr>
331
+ <td class="parameter_name"><p>b</p></td>
332
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
333
+ <td class="parameter_annotations"> </td>
334
+ </tr>
335
+ </tbody>
336
+ </table></div>
337
+ </div>
338
+ <div class="refsect3">
339
+ <a name="graphene-size-equal.returns"></a><h4>Returns</h4>
340
+ <p> <code class="literal">true</code> if the sizes are equal</p>
341
+ </div>
342
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
343
+ </div>
344
+ <hr>
345
+ <div class="refsect2">
346
+ <a name="graphene-size-scale"></a><h3>graphene_size_scale ()</h3>
347
+ <pre class="programlisting"><span class="returnvalue">void</span>
348
+ graphene_size_scale (<em class="parameter"><code>const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *s</code></em>,
349
+ <em class="parameter"><code><span class="type">float</span> factor</code></em>,
350
+ <em class="parameter"><code><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *res</code></em>);</pre>
351
+ <p>Scales the components of a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> using the given <em class="parameter"><code>factor</code></em>
352
+ .</p>
353
+ <div class="refsect3">
354
+ <a name="graphene-size-scale.parameters"></a><h4>Parameters</h4>
355
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
356
+ <colgroup>
357
+ <col width="150px" class="parameters_name">
358
+ <col class="parameters_description">
359
+ <col width="200px" class="parameters_annotations">
360
+ </colgroup>
361
+ <tbody>
362
+ <tr>
363
+ <td class="parameter_name"><p>s</p></td>
364
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
365
+ <td class="parameter_annotations"> </td>
366
+ </tr>
367
+ <tr>
368
+ <td class="parameter_name"><p>factor</p></td>
369
+ <td class="parameter_description"><p>the scaling factor</p></td>
370
+ <td class="parameter_annotations"> </td>
371
+ </tr>
372
+ <tr>
373
+ <td class="parameter_name"><p>res</p></td>
374
+ <td class="parameter_description"><p> return location for the scaled size. </p></td>
375
+ <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>
376
+ </tr>
377
+ </tbody>
378
+ </table></div>
379
+ </div>
380
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
381
+ </div>
382
+ <hr>
383
+ <div class="refsect2">
384
+ <a name="graphene-size-interpolate"></a><h3>graphene_size_interpolate ()</h3>
385
+ <pre class="programlisting"><span class="returnvalue">void</span>
386
+ graphene_size_interpolate (<em class="parameter"><code>const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *a</code></em>,
387
+ <em class="parameter"><code>const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *b</code></em>,
388
+ <em class="parameter"><code><span class="type">double</span> factor</code></em>,
389
+ <em class="parameter"><code><a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> *res</code></em>);</pre>
390
+ <p>Linearly interpolates the two given <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> using the given
391
+ interpolation <em class="parameter"><code>factor</code></em>
392
+ .</p>
393
+ <div class="refsect3">
394
+ <a name="graphene-size-interpolate.parameters"></a><h4>Parameters</h4>
395
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
396
+ <colgroup>
397
+ <col width="150px" class="parameters_name">
398
+ <col class="parameters_description">
399
+ <col width="200px" class="parameters_annotations">
400
+ </colgroup>
401
+ <tbody>
402
+ <tr>
403
+ <td class="parameter_name"><p>a</p></td>
404
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
405
+ <td class="parameter_annotations"> </td>
406
+ </tr>
407
+ <tr>
408
+ <td class="parameter_name"><p>b</p></td>
409
+ <td class="parameter_description"><p>a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a></p></td>
410
+ <td class="parameter_annotations"> </td>
411
+ </tr>
412
+ <tr>
413
+ <td class="parameter_name"><p>factor</p></td>
414
+ <td class="parameter_description"><p>the linear interpolation factor</p></td>
415
+ <td class="parameter_annotations"> </td>
416
+ </tr>
417
+ <tr>
418
+ <td class="parameter_name"><p>res</p></td>
419
+ <td class="parameter_description"><p> return location for the interpolated size. </p></td>
420
+ <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>
421
+ </tr>
422
+ </tbody>
423
+ </table></div>
424
+ </div>
425
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
426
+ </div>
427
+ <hr>
428
+ <div class="refsect2">
429
+ <a name="graphene-size-zero"></a><h3>graphene_size_zero ()</h3>
430
+ <pre class="programlisting">const <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="returnvalue">graphene_size_t</span></a> *
431
+ graphene_size_zero (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
432
+ <p>A constant pointer to a zero <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a>, useful for
433
+ equality checks and interpolations.</p>
434
+ <div class="refsect3">
435
+ <a name="graphene-size-zero.returns"></a><h4>Returns</h4>
436
+ <p> a constant size. </p>
437
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
438
+ </div>
439
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
440
+ </div>
441
+ </div>
442
+ <div class="refsect1">
443
+ <a name="graphene-Size.other_details"></a><h2>Types and Values</h2>
444
+ <div class="refsect2">
445
+ <a name="GRAPHENE-SIZE-INIT-ZERO:CAPS"></a><h3>GRAPHENE_SIZE_INIT_ZERO</h3>
446
+ <pre class="programlisting">#define GRAPHENE_SIZE_INIT_ZERO GRAPHENE_SIZE_INIT (0.f, 0.f)
447
+ </pre>
448
+ <p>Initializes a <a class="link" href="graphene-Size.html#graphene-size-t" title="graphene_size_t"><span class="type">graphene_size_t</span></a> to (0, 0) when declaring it.</p>
449
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
450
+ </div>
451
+ <hr>
452
+ <div class="refsect2">
453
+ <a name="graphene-size-t"></a><h3>graphene_size_t</h3>
454
+ <pre class="programlisting">typedef struct {
455
+ float width;
456
+ float height;
457
+ } graphene_size_t;
458
+ </pre>
459
+ <p>A size.</p>
460
+ <div class="refsect3">
461
+ <a name="graphene-size-t.members"></a><h4>Members</h4>
462
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
463
+ <colgroup>
464
+ <col width="300px" class="struct_members_name">
465
+ <col class="struct_members_description">
466
+ <col width="200px" class="struct_members_annotations">
467
+ </colgroup>
468
+ <tbody>
469
+ <tr>
470
+ <td class="struct_member_name"><p><span class="type">float</span> <em class="structfield"><code><a name="graphene-size-t.width"></a>width</code></em>;</p></td>
471
+ <td class="struct_member_description"><p>the width</p></td>
472
+ <td class="struct_member_annotations"> </td>
473
+ </tr>
474
+ <tr>
475
+ <td class="struct_member_name"><p><span class="type">float</span> <em class="structfield"><code><a name="graphene-size-t.height"></a>height</code></em>;</p></td>
476
+ <td class="struct_member_description"><p>the height</p></td>
477
+ <td class="struct_member_annotations"> </td>
478
+ </tr>
479
+ </tbody>
480
+ </table></div>
481
+ </div>
482
+ <p class="since">Since: <a class="link" href="ix03.html#api-index-1.0">1.0</a></p>
483
+ </div>
484
+ </div>
485
+ </div>
486
+ <div class="footer">
487
+ <hr>Generated by GTK-Doc V1.25</div>
488
+ </body>
489
+ </html>