Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <title>FreeType-2.5.0 API Reference</title>
  7. <style type="text/css">
  8.   body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
  9.          color: #000000;
  10.          background: #FFFFFF; }
  11.  
  12.   p { text-align: justify; }
  13.   h1 { text-align: center; }
  14.   li { text-align: justify; }
  15.   td { padding: 0 0.5em 0 0.5em; }
  16.   td.left { padding: 0 0.5em 0 0.5em;
  17.             text-align: left; }
  18.  
  19.   a:link { color: #0000EF; }
  20.   a:visited { color: #51188E; }
  21.   a:hover { color: #FF0000; }
  22.  
  23.   span.keyword { font-family: monospace;
  24.                  text-align: left;
  25.                  white-space: pre;
  26.                  color: darkblue; }
  27.  
  28.   pre.colored { color: blue; }
  29.  
  30.   ul.empty { list-style-type: none; }
  31. </style>
  32. </head>
  33. <body>
  34.  
  35. <table align=center><tr><td><font size=-1>[<a href="ft2-index.html">Index</a>]</font></td>
  36. <td width="100%"></td>
  37. <td><font size=-1>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  38. <center><h1>FreeType-2.5.0 API Reference</h1></center>
  39.  
  40. <center><h1>
  41. Basic Data Types
  42. </h1></center>
  43. <h2>Synopsis</h2>
  44. <table align=center cellspacing=5 cellpadding=0 border=0>
  45. <tr><td></td><td><a href="#FT_Byte">FT_Byte</a></td><td></td><td><a href="#FT_PtrDist">FT_PtrDist</a></td><td></td><td><a href="#FT_Pixel_Mode">FT_Pixel_Mode</a></td></tr>
  46. <tr><td></td><td><a href="#FT_Bytes">FT_Bytes</a></td><td></td><td><a href="#FT_String">FT_String</a></td><td></td><td><a href="#ft_pixel_mode_xxx">ft_pixel_mode_xxx</a></td></tr>
  47. <tr><td></td><td><a href="#FT_Char">FT_Char</a></td><td></td><td><a href="#FT_Tag">FT_Tag</a></td><td></td><td><a href="#FT_Palette_Mode">FT_Palette_Mode</a></td></tr>
  48. <tr><td></td><td><a href="#FT_Int">FT_Int</a></td><td></td><td><a href="#FT_Error">FT_Error</a></td><td></td><td><a href="#FT_Bitmap">FT_Bitmap</a></td></tr>
  49. <tr><td></td><td><a href="#FT_UInt">FT_UInt</a></td><td></td><td><a href="#FT_Fixed">FT_Fixed</a></td><td></td><td><a href="#FT_IMAGE_TAG">FT_IMAGE_TAG</a></td></tr>
  50. <tr><td></td><td><a href="#FT_Int16">FT_Int16</a></td><td></td><td><a href="#FT_Pointer">FT_Pointer</a></td><td></td><td><a href="#FT_Glyph_Format">FT_Glyph_Format</a></td></tr>
  51. <tr><td></td><td><a href="#FT_UInt16">FT_UInt16</a></td><td></td><td><a href="#FT_Pos">FT_Pos</a></td><td></td><td><a href="#ft_glyph_format_xxx">ft_glyph_format_xxx</a></td></tr>
  52. <tr><td></td><td><a href="#FT_Int32">FT_Int32</a></td><td></td><td><a href="#FT_Vector">FT_Vector</a></td><td></td><td><a href="#FT_Data">FT_Data</a></td></tr>
  53. <tr><td></td><td><a href="#FT_UInt32">FT_UInt32</a></td><td></td><td><a href="#FT_BBox">FT_BBox</a></td><td></td><td><a href="#FT_Generic_Finalizer">FT_Generic_Finalizer</a></td></tr>
  54. <tr><td></td><td><a href="#FT_Short">FT_Short</a></td><td></td><td><a href="#FT_Matrix">FT_Matrix</a></td><td></td><td><a href="#FT_Generic">FT_Generic</a></td></tr>
  55. <tr><td></td><td><a href="#FT_UShort">FT_UShort</a></td><td></td><td><a href="#FT_FWord">FT_FWord</a></td><td></td><td><a href="#FT_MAKE_TAG">FT_MAKE_TAG</a></td></tr>
  56. <tr><td></td><td><a href="#FT_Long">FT_Long</a></td><td></td><td><a href="#FT_UFWord">FT_UFWord</a></td><td></td><td><a href="#FT_Int64">FT_Int64</a></td></tr>
  57. <tr><td></td><td><a href="#FT_ULong">FT_ULong</a></td><td></td><td><a href="#FT_F2Dot14">FT_F2Dot14</a></td><td></td><td><a href="#FT_UInt64">FT_UInt64</a></td></tr>
  58. <tr><td></td><td><a href="#FT_Bool">FT_Bool</a></td><td></td><td><a href="#FT_UnitVector">FT_UnitVector</a></td><td></td><td></td></tr>
  59. <tr><td></td><td><a href="#FT_Offset">FT_Offset</a></td><td></td><td><a href="#FT_F26Dot6">FT_F26Dot6</a></td><td></td><td></td></tr>
  60. </table><br><br>
  61.  
  62. <table align=center width="87%"><tr><td>
  63. <p>This section contains the basic data types defined by FreeType&nbsp;2, ranging from simple scalar types to bitmap descriptors. More font-specific structures are defined in a different section.</p>
  64. </td></tr></table><br>
  65. <table align=center width="75%"><tr><td>
  66. <h4><a name="FT_Byte">FT_Byte</a></h4>
  67. <table align=center width="87%"><tr><td>
  68. Defined in FT_TYPES_H (freetype/fttypes.h).
  69. </td></tr></table><br>
  70. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  71.  
  72.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">char</span>  <b>FT_Byte</b>;
  73.  
  74. </pre></table><br>
  75. <table align=center width="87%"><tr><td>
  76. <p>A simple typedef for the <i>unsigned</i> char type.</p>
  77. </td></tr></table><br>
  78. </td></tr></table>
  79. <hr width="75%">
  80. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  81. <td width="100%"></td>
  82. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  83.  
  84. <table align=center width="75%"><tr><td>
  85. <h4><a name="FT_Bytes">FT_Bytes</a></h4>
  86. <table align=center width="87%"><tr><td>
  87. Defined in FT_TYPES_H (freetype/fttypes.h).
  88. </td></tr></table><br>
  89. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  90.  
  91.   <span class="keyword">typedef</span> <span class="keyword">const</span> <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>*  <b>FT_Bytes</b>;
  92.  
  93. </pre></table><br>
  94. <table align=center width="87%"><tr><td>
  95. <p>A typedef for constant memory areas.</p>
  96. </td></tr></table><br>
  97. </td></tr></table>
  98. <hr width="75%">
  99. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  100. <td width="100%"></td>
  101. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  102.  
  103. <table align=center width="75%"><tr><td>
  104. <h4><a name="FT_Char">FT_Char</a></h4>
  105. <table align=center width="87%"><tr><td>
  106. Defined in FT_TYPES_H (freetype/fttypes.h).
  107. </td></tr></table><br>
  108. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  109.  
  110.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">char</span>  <b>FT_Char</b>;
  111.  
  112. </pre></table><br>
  113. <table align=center width="87%"><tr><td>
  114. <p>A simple typedef for the <i>signed</i> char type.</p>
  115. </td></tr></table><br>
  116. </td></tr></table>
  117. <hr width="75%">
  118. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  119. <td width="100%"></td>
  120. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  121.  
  122. <table align=center width="75%"><tr><td>
  123. <h4><a name="FT_Int">FT_Int</a></h4>
  124. <table align=center width="87%"><tr><td>
  125. Defined in FT_TYPES_H (freetype/fttypes.h).
  126. </td></tr></table><br>
  127. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  128.  
  129.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">int</span>  <b>FT_Int</b>;
  130.  
  131. </pre></table><br>
  132. <table align=center width="87%"><tr><td>
  133. <p>A typedef for the int type.</p>
  134. </td></tr></table><br>
  135. </td></tr></table>
  136. <hr width="75%">
  137. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  138. <td width="100%"></td>
  139. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  140.  
  141. <table align=center width="75%"><tr><td>
  142. <h4><a name="FT_UInt">FT_UInt</a></h4>
  143. <table align=center width="87%"><tr><td>
  144. Defined in FT_TYPES_H (freetype/fttypes.h).
  145. </td></tr></table><br>
  146. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  147.  
  148.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">int</span>  <b>FT_UInt</b>;
  149.  
  150. </pre></table><br>
  151. <table align=center width="87%"><tr><td>
  152. <p>A typedef for the unsigned int type.</p>
  153. </td></tr></table><br>
  154. </td></tr></table>
  155. <hr width="75%">
  156. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  157. <td width="100%"></td>
  158. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  159.  
  160. <table align=center width="75%"><tr><td>
  161. <h4><a name="FT_Int16">FT_Int16</a></h4>
  162. <table align=center width="87%"><tr><td>
  163. Defined in FT_CONFIG_CONFIG_H (freetype/config/ftconfig.h).
  164. </td></tr></table><br>
  165. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  166.  
  167.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">short</span>  <b>FT_Int16</b>;
  168.  
  169. </pre></table><br>
  170. <table align=center width="87%"><tr><td>
  171. <p>A typedef for a 16bit signed integer type.</p>
  172. </td></tr></table><br>
  173. </td></tr></table>
  174. <hr width="75%">
  175. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  176. <td width="100%"></td>
  177. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  178.  
  179. <table align=center width="75%"><tr><td>
  180. <h4><a name="FT_UInt16">FT_UInt16</a></h4>
  181. <table align=center width="87%"><tr><td>
  182. Defined in FT_CONFIG_CONFIG_H (freetype/config/ftconfig.h).
  183. </td></tr></table><br>
  184. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  185.  
  186.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">short</span>  <b>FT_UInt16</b>;
  187.  
  188. </pre></table><br>
  189. <table align=center width="87%"><tr><td>
  190. <p>A typedef for a 16bit unsigned integer type.</p>
  191. </td></tr></table><br>
  192. </td></tr></table>
  193. <hr width="75%">
  194. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  195. <td width="100%"></td>
  196. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  197.  
  198. <table align=center width="75%"><tr><td>
  199. <h4><a name="FT_Int32">FT_Int32</a></h4>
  200. <table align=center width="87%"><tr><td>
  201. Defined in FT_CONFIG_CONFIG_H (freetype/config/ftconfig.h).
  202. </td></tr></table><br>
  203. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  204.  
  205.   <span class="keyword">typedef</span> <span class="keyword">signed</span> XXX  <b>FT_Int32</b>;
  206.  
  207. </pre></table><br>
  208. <table align=center width="87%"><tr><td>
  209. <p>A typedef for a 32bit signed integer type. The size depends on the configuration.</p>
  210. </td></tr></table><br>
  211. </td></tr></table>
  212. <hr width="75%">
  213. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  214. <td width="100%"></td>
  215. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  216.  
  217. <table align=center width="75%"><tr><td>
  218. <h4><a name="FT_UInt32">FT_UInt32</a></h4>
  219. <table align=center width="87%"><tr><td>
  220. Defined in FT_CONFIG_CONFIG_H (freetype/config/ftconfig.h).
  221. </td></tr></table><br>
  222. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  223.  
  224.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> XXX  <b>FT_UInt32</b>;
  225.  
  226. </pre></table><br>
  227. </td></tr></table>
  228. <hr width="75%">
  229. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  230. <td width="100%"></td>
  231. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  232.  
  233. <table align=center width="75%"><tr><td>
  234. <h4><a name="FT_Short">FT_Short</a></h4>
  235. <table align=center width="87%"><tr><td>
  236. Defined in FT_TYPES_H (freetype/fttypes.h).
  237. </td></tr></table><br>
  238. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  239.  
  240.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">short</span>  <b>FT_Short</b>;
  241.  
  242. </pre></table><br>
  243. <table align=center width="87%"><tr><td>
  244. <p>A typedef for signed short.</p>
  245. </td></tr></table><br>
  246. </td></tr></table>
  247. <hr width="75%">
  248. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  249. <td width="100%"></td>
  250. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  251.  
  252. <table align=center width="75%"><tr><td>
  253. <h4><a name="FT_UShort">FT_UShort</a></h4>
  254. <table align=center width="87%"><tr><td>
  255. Defined in FT_TYPES_H (freetype/fttypes.h).
  256. </td></tr></table><br>
  257. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  258.  
  259.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">short</span>  <b>FT_UShort</b>;
  260.  
  261. </pre></table><br>
  262. <table align=center width="87%"><tr><td>
  263. <p>A typedef for unsigned short.</p>
  264. </td></tr></table><br>
  265. </td></tr></table>
  266. <hr width="75%">
  267. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  268. <td width="100%"></td>
  269. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  270.  
  271. <table align=center width="75%"><tr><td>
  272. <h4><a name="FT_Long">FT_Long</a></h4>
  273. <table align=center width="87%"><tr><td>
  274. Defined in FT_TYPES_H (freetype/fttypes.h).
  275. </td></tr></table><br>
  276. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  277.  
  278.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">long</span>  <b>FT_Long</b>;
  279.  
  280. </pre></table><br>
  281. <table align=center width="87%"><tr><td>
  282. <p>A typedef for signed long.</p>
  283. </td></tr></table><br>
  284. </td></tr></table>
  285. <hr width="75%">
  286. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  287. <td width="100%"></td>
  288. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  289.  
  290. <table align=center width="75%"><tr><td>
  291. <h4><a name="FT_ULong">FT_ULong</a></h4>
  292. <table align=center width="87%"><tr><td>
  293. Defined in FT_TYPES_H (freetype/fttypes.h).
  294. </td></tr></table><br>
  295. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  296.  
  297.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">long</span>  <b>FT_ULong</b>;
  298.  
  299. </pre></table><br>
  300. <table align=center width="87%"><tr><td>
  301. <p>A typedef for unsigned long.</p>
  302. </td></tr></table><br>
  303. </td></tr></table>
  304. <hr width="75%">
  305. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  306. <td width="100%"></td>
  307. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  308.  
  309. <table align=center width="75%"><tr><td>
  310. <h4><a name="FT_Bool">FT_Bool</a></h4>
  311. <table align=center width="87%"><tr><td>
  312. Defined in FT_TYPES_H (freetype/fttypes.h).
  313. </td></tr></table><br>
  314. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  315.  
  316.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">char</span>  <b>FT_Bool</b>;
  317.  
  318. </pre></table><br>
  319. <table align=center width="87%"><tr><td>
  320. <p>A typedef of unsigned char, used for simple booleans. As usual, values 1 and&nbsp;0 represent true and false, respectively.</p>
  321. </td></tr></table><br>
  322. </td></tr></table>
  323. <hr width="75%">
  324. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  325. <td width="100%"></td>
  326. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  327.  
  328. <table align=center width="75%"><tr><td>
  329. <h4><a name="FT_Offset">FT_Offset</a></h4>
  330. <table align=center width="87%"><tr><td>
  331. Defined in FT_TYPES_H (freetype/fttypes.h).
  332. </td></tr></table><br>
  333. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  334.  
  335.   <span class="keyword">typedef</span> size_t  <b>FT_Offset</b>;
  336.  
  337. </pre></table><br>
  338. <table align=center width="87%"><tr><td>
  339. <p>This is equivalent to the ANSI&nbsp;C &lsquo;size_t&rsquo; type, i.e., the largest <i>unsigned</i> integer type used to express a file size or position, or a memory block size.</p>
  340. </td></tr></table><br>
  341. </td></tr></table>
  342. <hr width="75%">
  343. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  344. <td width="100%"></td>
  345. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  346.  
  347. <table align=center width="75%"><tr><td>
  348. <h4><a name="FT_PtrDist">FT_PtrDist</a></h4>
  349. <table align=center width="87%"><tr><td>
  350. Defined in FT_TYPES_H (freetype/fttypes.h).
  351. </td></tr></table><br>
  352. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  353.  
  354.   <span class="keyword">typedef</span> ft_ptrdiff_t  <b>FT_PtrDist</b>;
  355.  
  356. </pre></table><br>
  357. <table align=center width="87%"><tr><td>
  358. <p>This is equivalent to the ANSI&nbsp;C &lsquo;ptrdiff_t&rsquo; type, i.e., the largest <i>signed</i> integer type used to express the distance between two pointers.</p>
  359. </td></tr></table><br>
  360. </td></tr></table>
  361. <hr width="75%">
  362. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  363. <td width="100%"></td>
  364. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  365.  
  366. <table align=center width="75%"><tr><td>
  367. <h4><a name="FT_String">FT_String</a></h4>
  368. <table align=center width="87%"><tr><td>
  369. Defined in FT_TYPES_H (freetype/fttypes.h).
  370. </td></tr></table><br>
  371. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  372.  
  373.   <span class="keyword">typedef</span> <span class="keyword">char</span>  <b>FT_String</b>;
  374.  
  375. </pre></table><br>
  376. <table align=center width="87%"><tr><td>
  377. <p>A simple typedef for the char type, usually used for strings.</p>
  378. </td></tr></table><br>
  379. </td></tr></table>
  380. <hr width="75%">
  381. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  382. <td width="100%"></td>
  383. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  384.  
  385. <table align=center width="75%"><tr><td>
  386. <h4><a name="FT_Tag">FT_Tag</a></h4>
  387. <table align=center width="87%"><tr><td>
  388. Defined in FT_TYPES_H (freetype/fttypes.h).
  389. </td></tr></table><br>
  390. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  391.  
  392.   <span class="keyword">typedef</span> <a href="ft2-basic_types.html#FT_UInt32">FT_UInt32</a>  <b>FT_Tag</b>;
  393.  
  394. </pre></table><br>
  395. <table align=center width="87%"><tr><td>
  396. <p>A typedef for 32-bit tags (as used in the SFNT format).</p>
  397. </td></tr></table><br>
  398. </td></tr></table>
  399. <hr width="75%">
  400. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  401. <td width="100%"></td>
  402. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  403.  
  404. <table align=center width="75%"><tr><td>
  405. <h4><a name="FT_Error">FT_Error</a></h4>
  406. <table align=center width="87%"><tr><td>
  407. Defined in FT_TYPES_H (freetype/fttypes.h).
  408. </td></tr></table><br>
  409. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  410.  
  411.   <span class="keyword">typedef</span> <span class="keyword">int</span>  <b>FT_Error</b>;
  412.  
  413. </pre></table><br>
  414. <table align=center width="87%"><tr><td>
  415. <p>The FreeType error code type. A value of&nbsp;0 is always interpreted as a successful operation.</p>
  416. </td></tr></table><br>
  417. </td></tr></table>
  418. <hr width="75%">
  419. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  420. <td width="100%"></td>
  421. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  422.  
  423. <table align=center width="75%"><tr><td>
  424. <h4><a name="FT_Fixed">FT_Fixed</a></h4>
  425. <table align=center width="87%"><tr><td>
  426. Defined in FT_TYPES_H (freetype/fttypes.h).
  427. </td></tr></table><br>
  428. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  429.  
  430.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">long</span>  <b>FT_Fixed</b>;
  431.  
  432. </pre></table><br>
  433. <table align=center width="87%"><tr><td>
  434. <p>This type is used to store 16.16 fixed-point values, like scaling values or matrix coefficients.</p>
  435. </td></tr></table><br>
  436. </td></tr></table>
  437. <hr width="75%">
  438. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  439. <td width="100%"></td>
  440. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  441.  
  442. <table align=center width="75%"><tr><td>
  443. <h4><a name="FT_Pointer">FT_Pointer</a></h4>
  444. <table align=center width="87%"><tr><td>
  445. Defined in FT_TYPES_H (freetype/fttypes.h).
  446. </td></tr></table><br>
  447. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  448.  
  449.   <span class="keyword">typedef</span> <span class="keyword">void</span>*  <b>FT_Pointer</b>;
  450.  
  451. </pre></table><br>
  452. <table align=center width="87%"><tr><td>
  453. <p>A simple typedef for a typeless pointer.</p>
  454. </td></tr></table><br>
  455. </td></tr></table>
  456. <hr width="75%">
  457. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  458. <td width="100%"></td>
  459. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  460.  
  461. <table align=center width="75%"><tr><td>
  462. <h4><a name="FT_Pos">FT_Pos</a></h4>
  463. <table align=center width="87%"><tr><td>
  464. Defined in FT_IMAGE_H (freetype/ftimage.h).
  465. </td></tr></table><br>
  466. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  467.  
  468.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">long</span>  <b>FT_Pos</b>;
  469.  
  470. </pre></table><br>
  471. <table align=center width="87%"><tr><td>
  472. <p>The type FT_Pos is used to store vectorial coordinates. Depending on the context, these can represent distances in integer font units, or 16.16, or 26.6 fixed-point pixel coordinates.</p>
  473. </td></tr></table><br>
  474. </td></tr></table>
  475. <hr width="75%">
  476. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  477. <td width="100%"></td>
  478. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  479.  
  480. <table align=center width="75%"><tr><td>
  481. <h4><a name="FT_Vector">FT_Vector</a></h4>
  482. <table align=center width="87%"><tr><td>
  483. Defined in FT_IMAGE_H (freetype/ftimage.h).
  484. </td></tr></table><br>
  485. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  486.  
  487.   <span class="keyword">typedef</span> <span class="keyword">struct</span>  FT_Vector_
  488.   {
  489.     <a href="ft2-basic_types.html#FT_Pos">FT_Pos</a>  x;
  490.     <a href="ft2-basic_types.html#FT_Pos">FT_Pos</a>  y;
  491.  
  492.   } <b>FT_Vector</b>;
  493.  
  494. </pre></table><br>
  495. <table align=center width="87%"><tr><td>
  496. <p>A simple structure used to store a 2D vector; coordinates are of the FT_Pos type.</p>
  497. </td></tr></table><br>
  498. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>fields</b></em></td></tr><tr><td>
  499. <p></p>
  500. <table cellpadding=3 border=0>
  501. <tr valign=top><td><b>x</b></td><td>
  502. <p>The horizontal coordinate.</p>
  503. </td></tr>
  504. <tr valign=top><td><b>y</b></td><td>
  505. <p>The vertical coordinate.</p>
  506. </td></tr>
  507. </table>
  508. </td></tr></table>
  509. </td></tr></table>
  510. <hr width="75%">
  511. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  512. <td width="100%"></td>
  513. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  514.  
  515. <table align=center width="75%"><tr><td>
  516. <h4><a name="FT_BBox">FT_BBox</a></h4>
  517. <table align=center width="87%"><tr><td>
  518. Defined in FT_IMAGE_H (freetype/ftimage.h).
  519. </td></tr></table><br>
  520. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  521.  
  522.   <span class="keyword">typedef</span> <span class="keyword">struct</span>  FT_BBox_
  523.   {
  524.     <a href="ft2-basic_types.html#FT_Pos">FT_Pos</a>  xMin, yMin;
  525.     <a href="ft2-basic_types.html#FT_Pos">FT_Pos</a>  xMax, yMax;
  526.  
  527.   } <b>FT_BBox</b>;
  528.  
  529. </pre></table><br>
  530. <table align=center width="87%"><tr><td>
  531. <p>A structure used to hold an outline's bounding box, i.e., the coordinates of its extrema in the horizontal and vertical directions.</p>
  532. </td></tr></table><br>
  533. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>fields</b></em></td></tr><tr><td>
  534. <p></p>
  535. <table cellpadding=3 border=0>
  536. <tr valign=top><td><b>xMin</b></td><td>
  537. <p>The horizontal minimum (left-most).</p>
  538. </td></tr>
  539. <tr valign=top><td><b>yMin</b></td><td>
  540. <p>The vertical minimum (bottom-most).</p>
  541. </td></tr>
  542. <tr valign=top><td><b>xMax</b></td><td>
  543. <p>The horizontal maximum (right-most).</p>
  544. </td></tr>
  545. <tr valign=top><td><b>yMax</b></td><td>
  546. <p>The vertical maximum (top-most).</p>
  547. </td></tr>
  548. </table>
  549. </td></tr></table>
  550. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
  551. <p>The bounding box is specified with the coordinates of the lower left and the upper right corner. In PostScript, those values are often called (llx,lly) and (urx,ury), respectively.</p>
  552. <p>If &lsquo;yMin&rsquo; is negative, this value gives the glyph's descender. Otherwise, the glyph doesn't descend below the baseline. Similarly, if &lsquo;ymax&rsquo; is positive, this value gives the glyph's ascender.</p>
  553. <p>&lsquo;xMin&rsquo; gives the horizontal distance from the glyph's origin to the left edge of the glyph's bounding box. If &lsquo;xMin&rsquo; is negative, the glyph extends to the left of the origin.</p>
  554. </td></tr></table>
  555. </td></tr></table>
  556. <hr width="75%">
  557. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  558. <td width="100%"></td>
  559. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  560.  
  561. <table align=center width="75%"><tr><td>
  562. <h4><a name="FT_Matrix">FT_Matrix</a></h4>
  563. <table align=center width="87%"><tr><td>
  564. Defined in FT_TYPES_H (freetype/fttypes.h).
  565. </td></tr></table><br>
  566. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  567.  
  568.   <span class="keyword">typedef</span> <span class="keyword">struct</span>  FT_Matrix_
  569.   {
  570.     <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>  xx, xy;
  571.     <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>  yx, yy;
  572.  
  573.   } <b>FT_Matrix</b>;
  574.  
  575. </pre></table><br>
  576. <table align=center width="87%"><tr><td>
  577. <p>A simple structure used to store a 2x2 matrix. Coefficients are in 16.16 fixed-point format. The computation performed is:</p>
  578. <pre class="colored">
  579.    x' = x*xx + y*xy                                            
  580.   y' = x*yx + y*yy                                            
  581. </pre>
  582. </td></tr></table><br>
  583. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>fields</b></em></td></tr><tr><td>
  584. <p></p>
  585. <table cellpadding=3 border=0>
  586. <tr valign=top><td><b>xx</b></td><td>
  587. <p>Matrix coefficient.</p>
  588. </td></tr>
  589. <tr valign=top><td><b>xy</b></td><td>
  590. <p>Matrix coefficient.</p>
  591. </td></tr>
  592. <tr valign=top><td><b>yx</b></td><td>
  593. <p>Matrix coefficient.</p>
  594. </td></tr>
  595. <tr valign=top><td><b>yy</b></td><td>
  596. <p>Matrix coefficient.</p>
  597. </td></tr>
  598. </table>
  599. </td></tr></table>
  600. </td></tr></table>
  601. <hr width="75%">
  602. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  603. <td width="100%"></td>
  604. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  605.  
  606. <table align=center width="75%"><tr><td>
  607. <h4><a name="FT_FWord">FT_FWord</a></h4>
  608. <table align=center width="87%"><tr><td>
  609. Defined in FT_TYPES_H (freetype/fttypes.h).
  610. </td></tr></table><br>
  611. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  612.  
  613.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">short</span>  <b>FT_FWord</b>;   /* distance in FUnits */
  614.  
  615. </pre></table><br>
  616. <table align=center width="87%"><tr><td>
  617. <p>A signed 16-bit integer used to store a distance in original font units.</p>
  618. </td></tr></table><br>
  619. </td></tr></table>
  620. <hr width="75%">
  621. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  622. <td width="100%"></td>
  623. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  624.  
  625. <table align=center width="75%"><tr><td>
  626. <h4><a name="FT_UFWord">FT_UFWord</a></h4>
  627. <table align=center width="87%"><tr><td>
  628. Defined in FT_TYPES_H (freetype/fttypes.h).
  629. </td></tr></table><br>
  630. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  631.  
  632.   <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">short</span>  <b>FT_UFWord</b>;  /* <span class="keyword">unsigned</span> distance */
  633.  
  634. </pre></table><br>
  635. <table align=center width="87%"><tr><td>
  636. <p>An unsigned 16-bit integer used to store a distance in original font units.</p>
  637. </td></tr></table><br>
  638. </td></tr></table>
  639. <hr width="75%">
  640. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  641. <td width="100%"></td>
  642. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  643.  
  644. <table align=center width="75%"><tr><td>
  645. <h4><a name="FT_F2Dot14">FT_F2Dot14</a></h4>
  646. <table align=center width="87%"><tr><td>
  647. Defined in FT_TYPES_H (freetype/fttypes.h).
  648. </td></tr></table><br>
  649. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  650.  
  651.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">short</span>  <b>FT_F2Dot14</b>;
  652.  
  653. </pre></table><br>
  654. <table align=center width="87%"><tr><td>
  655. <p>A signed 2.14 fixed-point type used for unit vectors.</p>
  656. </td></tr></table><br>
  657. </td></tr></table>
  658. <hr width="75%">
  659. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  660. <td width="100%"></td>
  661. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  662.  
  663. <table align=center width="75%"><tr><td>
  664. <h4><a name="FT_UnitVector">FT_UnitVector</a></h4>
  665. <table align=center width="87%"><tr><td>
  666. Defined in FT_TYPES_H (freetype/fttypes.h).
  667. </td></tr></table><br>
  668. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  669.  
  670.   <span class="keyword">typedef</span> <span class="keyword">struct</span>  FT_UnitVector_
  671.   {
  672.     <a href="ft2-basic_types.html#FT_F2Dot14">FT_F2Dot14</a>  x;
  673.     <a href="ft2-basic_types.html#FT_F2Dot14">FT_F2Dot14</a>  y;
  674.  
  675.   } <b>FT_UnitVector</b>;
  676.  
  677. </pre></table><br>
  678. <table align=center width="87%"><tr><td>
  679. <p>A simple structure used to store a 2D vector unit vector. Uses FT_F2Dot14 types.</p>
  680. </td></tr></table><br>
  681. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>fields</b></em></td></tr><tr><td>
  682. <p></p>
  683. <table cellpadding=3 border=0>
  684. <tr valign=top><td><b>x</b></td><td>
  685. <p>Horizontal coordinate.</p>
  686. </td></tr>
  687. <tr valign=top><td><b>y</b></td><td>
  688. <p>Vertical coordinate.</p>
  689. </td></tr>
  690. </table>
  691. </td></tr></table>
  692. </td></tr></table>
  693. <hr width="75%">
  694. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  695. <td width="100%"></td>
  696. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  697.  
  698. <table align=center width="75%"><tr><td>
  699. <h4><a name="FT_F26Dot6">FT_F26Dot6</a></h4>
  700. <table align=center width="87%"><tr><td>
  701. Defined in FT_TYPES_H (freetype/fttypes.h).
  702. </td></tr></table><br>
  703. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  704.  
  705.   <span class="keyword">typedef</span> <span class="keyword">signed</span> <span class="keyword">long</span>  <b>FT_F26Dot6</b>;
  706.  
  707. </pre></table><br>
  708. <table align=center width="87%"><tr><td>
  709. <p>A signed 26.6 fixed-point type used for vectorial pixel coordinates.</p>
  710. </td></tr></table><br>
  711. </td></tr></table>
  712. <hr width="75%">
  713. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  714. <td width="100%"></td>
  715. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  716.  
  717. <table align=center width="75%"><tr><td>
  718. <h4><a name="FT_Pixel_Mode">FT_Pixel_Mode</a></h4>
  719. <table align=center width="87%"><tr><td>
  720. Defined in FT_IMAGE_H (freetype/ftimage.h).
  721. </td></tr></table><br>
  722. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  723.  
  724.   <span class="keyword">typedef</span> <span class="keyword">enum</span>  FT_Pixel_Mode_
  725.   {
  726.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_NONE</a> = 0,
  727.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_MONO</a>,
  728.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY</a>,
  729.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY2</a>,
  730.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY4</a>,
  731.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_LCD</a>,
  732.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_LCD_V</a>,
  733.     <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_BGRA</a>,
  734.  
  735.     FT_PIXEL_MODE_MAX      /* do not remove */
  736.  
  737.   } <b>FT_Pixel_Mode</b>;
  738.  
  739. </pre></table><br>
  740. <table align=center width="87%"><tr><td>
  741. <p>An enumeration type used to describe the format of pixels in a given bitmap. Note that additional formats may be added in the future.</p>
  742. </td></tr></table><br>
  743. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>values</b></em></td></tr><tr><td>
  744. <p></p>
  745. <table cellpadding=3 border=0>
  746. <tr valign=top><td><b>FT_PIXEL_MODE_NONE</b></td><td>
  747. <p>Value&nbsp;0 is reserved.</p>
  748. </td></tr>
  749. <tr valign=top><td><b>FT_PIXEL_MODE_MONO</b></td><td>
  750. <p>A monochrome bitmap, using 1&nbsp;bit per pixel. Note that pixels are stored in most-significant order (MSB), which means that the left-most pixel in a byte has value 128.</p>
  751. </td></tr>
  752. <tr valign=top><td><b>FT_PIXEL_MODE_GRAY</b></td><td>
  753. <p>An 8-bit bitmap, generally used to represent anti-aliased glyph images. Each pixel is stored in one byte. Note that the number of &lsquo;gray&rsquo; levels is stored in the &lsquo;num_grays&rsquo; field of the <a href="ft2-basic_types.html#FT_Bitmap">FT_Bitmap</a> structure (it generally is 256).</p>
  754. </td></tr>
  755. <tr valign=top><td><b>FT_PIXEL_MODE_GRAY2</b></td><td>
  756. <p>A 2-bit per pixel bitmap, used to represent embedded anti-aliased bitmaps in font files according to the OpenType specification. We haven't found a single font using this format, however.</p>
  757. </td></tr>
  758. <tr valign=top><td><b>FT_PIXEL_MODE_GRAY4</b></td><td>
  759. <p>A 4-bit per pixel bitmap, representing embedded anti-aliased bitmaps in font files according to the OpenType specification. We haven't found a single font using this format, however.</p>
  760. </td></tr>
  761. <tr valign=top><td><b>FT_PIXEL_MODE_LCD</b></td><td>
  762. <p>An 8-bit bitmap, representing RGB or BGR decimated glyph images used for display on LCD displays; the bitmap is three times wider than the original glyph image. See also <a href="ft2-base_interface.html#FT_Render_Mode">FT_RENDER_MODE_LCD</a>.</p>
  763. </td></tr>
  764. <tr valign=top><td><b>FT_PIXEL_MODE_LCD_V</b></td><td>
  765. <p>An 8-bit bitmap, representing RGB or BGR decimated glyph images used for display on rotated LCD displays; the bitmap is three times taller than the original glyph image. See also <a href="ft2-base_interface.html#FT_Render_Mode">FT_RENDER_MODE_LCD_V</a>.</p>
  766. </td></tr>
  767. <tr valign=top><td><b>FT_PIXEL_MODE_BGRA</b></td><td>
  768. <p>An image with four 8-bit channels per pixel, representing a color image (such as emoticons) with alpha channel. For each pixel, the format is BGRA, which means, the blue channel comes first in memory. The color channels are pre-multiplied and in the sRGB colorspace. For example, full red at half-translucent opacity will be represented as &lsquo;00,00,80,80&rsquo;, not &lsquo;00,00,FF,80&rsquo;. See also <a href="ft2-base_interface.html#FT_LOAD_XXX">FT_LOAD_COLOR</a>.</p>
  769. </td></tr>
  770. </table>
  771. </td></tr></table>
  772. </td></tr></table>
  773. <hr width="75%">
  774. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  775. <td width="100%"></td>
  776. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  777.  
  778. <table align=center width="75%"><tr><td>
  779. <h4><a name="ft_pixel_mode_xxx">ft_pixel_mode_xxx</a></h4>
  780. <table align=center width="87%"><tr><td>
  781. Defined in FT_IMAGE_H (freetype/ftimage.h).
  782. </td></tr></table><br>
  783. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  784.  
  785. #define <a href="ft2-basic_types.html#ft_pixel_mode_xxx">ft_pixel_mode_none</a>   <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_NONE</a>
  786. #define <a href="ft2-basic_types.html#ft_pixel_mode_xxx">ft_pixel_mode_mono</a>   <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_MONO</a>
  787. #define <a href="ft2-basic_types.html#ft_pixel_mode_xxx">ft_pixel_mode_grays</a>  <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY</a>
  788. #define <a href="ft2-basic_types.html#ft_pixel_mode_xxx">ft_pixel_mode_pal2</a>   <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY2</a>
  789. #define <a href="ft2-basic_types.html#ft_pixel_mode_xxx">ft_pixel_mode_pal4</a>   <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY4</a>
  790.  
  791. </pre></table><br>
  792. <table align=center width="87%"><tr><td>
  793. <p>A list of deprecated constants. Use the corresponding <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_Pixel_Mode</a> values instead.</p>
  794. </td></tr></table><br>
  795. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>values</b></em></td></tr><tr><td>
  796. <p></p>
  797. <table cellpadding=3 border=0>
  798. <tr valign=top><td><b>ft_pixel_mode_none</b></td><td>
  799. <p>See <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_NONE</a>.</p>
  800. </td></tr>
  801. <tr valign=top><td><b>ft_pixel_mode_mono</b></td><td>
  802. <p>See <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_MONO</a>.</p>
  803. </td></tr>
  804. <tr valign=top><td><b>ft_pixel_mode_grays</b></td><td>
  805. <p>See <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY</a>.</p>
  806. </td></tr>
  807. <tr valign=top><td><b>ft_pixel_mode_pal2</b></td><td>
  808. <p>See <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY2</a>.</p>
  809. </td></tr>
  810. <tr valign=top><td><b>ft_pixel_mode_pal4</b></td><td>
  811. <p>See <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY4</a>.</p>
  812. </td></tr>
  813. </table>
  814. </td></tr></table>
  815. </td></tr></table>
  816. <hr width="75%">
  817. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  818. <td width="100%"></td>
  819. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  820.  
  821. <table align=center width="75%"><tr><td>
  822. <h4><a name="FT_Palette_Mode">FT_Palette_Mode</a></h4>
  823. <table align=center width="87%"><tr><td>
  824. Defined in FT_IMAGE_H (freetype/ftimage.h).
  825. </td></tr></table><br>
  826. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  827.  
  828.   <span class="keyword">typedef</span> <span class="keyword">enum</span>  FT_Palette_Mode_
  829.   {
  830.     <a href="ft2-basic_types.html#FT_Palette_Mode">ft_palette_mode_rgb</a> = 0,
  831.     <a href="ft2-basic_types.html#FT_Palette_Mode">ft_palette_mode_rgba</a>,
  832.  
  833.     ft_palette_mode_max   /* do not remove */
  834.  
  835.   } <b>FT_Palette_Mode</b>;
  836.  
  837. </pre></table><br>
  838. <table align=center width="87%"><tr><td>
  839. <p>THIS TYPE IS DEPRECATED. DO NOT USE IT!</p>
  840. <p>An enumeration type to describe the format of a bitmap palette, used with ft_pixel_mode_pal4 and ft_pixel_mode_pal8.</p>
  841. </td></tr></table><br>
  842. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>values</b></em></td></tr><tr><td>
  843. <p></p>
  844. <table cellpadding=3 border=0>
  845. <tr valign=top><td><b>ft_palette_mode_rgb</b></td><td>
  846. <p>The palette is an array of 3-byte RGB records.</p>
  847. </td></tr>
  848. <tr valign=top><td><b>ft_palette_mode_rgba</b></td><td>
  849. <p>The palette is an array of 4-byte RGBA records.</p>
  850. </td></tr>
  851. </table>
  852. </td></tr></table>
  853. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
  854. <p>As ft_pixel_mode_pal2, pal4 and pal8 are currently unused by FreeType, these types are not handled by the library itself.</p>
  855. </td></tr></table>
  856. </td></tr></table>
  857. <hr width="75%">
  858. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  859. <td width="100%"></td>
  860. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  861.  
  862. <table align=center width="75%"><tr><td>
  863. <h4><a name="FT_Bitmap">FT_Bitmap</a></h4>
  864. <table align=center width="87%"><tr><td>
  865. Defined in FT_IMAGE_H (freetype/ftimage.h).
  866. </td></tr></table><br>
  867. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  868.  
  869.   <span class="keyword">typedef</span> <span class="keyword">struct</span>  FT_Bitmap_
  870.   {
  871.     <span class="keyword">int</span>             rows;
  872.     <span class="keyword">int</span>             width;
  873.     <span class="keyword">int</span>             pitch;
  874.     <span class="keyword">unsigned</span> <span class="keyword">char</span>*  buffer;
  875.     <span class="keyword">short</span>           num_grays;
  876.     <span class="keyword">char</span>            pixel_mode;
  877.     <span class="keyword">char</span>            palette_mode;
  878.     <span class="keyword">void</span>*           palette;
  879.  
  880.   } <b>FT_Bitmap</b>;
  881.  
  882. </pre></table><br>
  883. <table align=center width="87%"><tr><td>
  884. <p>A structure used to describe a bitmap or pixmap to the raster. Note that we now manage pixmaps of various depths through the &lsquo;pixel_mode&rsquo; field.</p>
  885. </td></tr></table><br>
  886. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>fields</b></em></td></tr><tr><td>
  887. <p></p>
  888. <table cellpadding=3 border=0>
  889. <tr valign=top><td><b>rows</b></td><td>
  890. <p>The number of bitmap rows.</p>
  891. </td></tr>
  892. <tr valign=top><td><b>width</b></td><td>
  893. <p>The number of pixels in bitmap row.</p>
  894. </td></tr>
  895. <tr valign=top><td><b>pitch</b></td><td>
  896. <p>The pitch's absolute value is the number of bytes taken by one bitmap row, including padding. However, the pitch is positive when the bitmap has a &lsquo;down&rsquo; flow, and negative when it has an &lsquo;up&rsquo; flow. In all cases, the pitch is an offset to add to a bitmap pointer in order to go down one row.</p>
  897. <p>Note that &lsquo;padding&rsquo; means the alignment of a bitmap to a byte border, and FreeType functions normally align to the smallest possible integer value.</p>
  898. <p>For the B/W rasterizer, &lsquo;pitch&rsquo; is always an even number.</p>
  899. <p>To change the pitch of a bitmap (say, to make it a multiple of 4), use <a href="ft2-bitmap_handling.html#FT_Bitmap_Convert">FT_Bitmap_Convert</a>. Alternatively, you might use callback functions to directly render to the application's surface; see the file &lsquo;example2.cpp&rsquo; in the tutorial for a demonstration.</p>
  900. </td></tr>
  901. <tr valign=top><td><b>buffer</b></td><td>
  902. <p>A typeless pointer to the bitmap buffer. This value should be aligned on 32-bit boundaries in most cases.</p>
  903. </td></tr>
  904. <tr valign=top><td><b>num_grays</b></td><td>
  905. <p>This field is only used with <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_PIXEL_MODE_GRAY</a>; it gives the number of gray levels used in the bitmap.</p>
  906. </td></tr>
  907. <tr valign=top><td><b>pixel_mode</b></td><td>
  908. <p>The pixel mode, i.e., how pixel bits are stored. See <a href="ft2-basic_types.html#FT_Pixel_Mode">FT_Pixel_Mode</a> for possible values.</p>
  909. </td></tr>
  910. <tr valign=top><td><b>palette_mode</b></td><td>
  911. <p>This field is intended for paletted pixel modes; it indicates how the palette is stored. Not used currently.</p>
  912. </td></tr>
  913. <tr valign=top><td><b>palette</b></td><td>
  914. <p>A typeless pointer to the bitmap palette; this field is intended for paletted pixel modes. Not used currently.</p>
  915. </td></tr>
  916. </table>
  917. </td></tr></table>
  918. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
  919. <p>For now, the only pixel modes supported by FreeType are mono and grays. However, drivers might be added in the future to support more &lsquo;colorful&rsquo; options.</p>
  920. </td></tr></table>
  921. </td></tr></table>
  922. <hr width="75%">
  923. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  924. <td width="100%"></td>
  925. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  926.  
  927. <table align=center width="75%"><tr><td>
  928. <h4><a name="FT_IMAGE_TAG">FT_IMAGE_TAG</a></h4>
  929. <table align=center width="87%"><tr><td>
  930. Defined in FT_IMAGE_H (freetype/ftimage.h).
  931. </td></tr></table><br>
  932. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  933.  
  934. #ifndef <b>FT_IMAGE_TAG</b>
  935. #define <b>FT_IMAGE_TAG</b>( value, _x1, _x2, _x3, _x4 )  \
  936.           value = ( ( (<span class="keyword">unsigned</span> <span class="keyword">long</span>)_x1 &lt;&lt; 24 ) | \
  937.                     ( (<span class="keyword">unsigned</span> <span class="keyword">long</span>)_x2 &lt;&lt; 16 ) | \
  938.                     ( (<span class="keyword">unsigned</span> <span class="keyword">long</span>)_x3 &lt;&lt; 8  ) | \
  939.                       (<span class="keyword">unsigned</span> <span class="keyword">long</span>)_x4         )
  940. #endif /* <b>FT_IMAGE_TAG</b> */
  941.  
  942. </pre></table><br>
  943. <table align=center width="87%"><tr><td>
  944. <p>This macro converts four-letter tags to an unsigned long type.</p>
  945. </td></tr></table><br>
  946. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
  947. <p>Since many 16-bit compilers don't like 32-bit enumerations, you should redefine this macro in case of problems to something like this:</p>
  948. <pre class="colored">
  949.  #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 )  value        
  950. </pre>
  951. <p>to get a simple enumeration without assigning special numbers.</p>
  952. </td></tr></table>
  953. </td></tr></table>
  954. <hr width="75%">
  955. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  956. <td width="100%"></td>
  957. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  958.  
  959. <table align=center width="75%"><tr><td>
  960. <h4><a name="FT_Glyph_Format">FT_Glyph_Format</a></h4>
  961. <table align=center width="87%"><tr><td>
  962. Defined in FT_IMAGE_H (freetype/ftimage.h).
  963. </td></tr></table><br>
  964. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  965.  
  966.  <span class="keyword">typedef</span> <span class="keyword">enum</span>  FT_Glyph_Format_
  967.  {
  968.    <a href="ft2-basic_types.html#FT_IMAGE_TAG">FT_IMAGE_TAG</a>( <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_NONE</a>, 0, 0, 0, 0 ),
  969.  
  970.    <a href="ft2-basic_types.html#FT_IMAGE_TAG">FT_IMAGE_TAG</a>( <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_COMPOSITE</a>, 'c', 'o', 'm', 'p' ),
  971.    <a href="ft2-basic_types.html#FT_IMAGE_TAG">FT_IMAGE_TAG</a>( <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_BITMAP</a>,    'b', 'i', 't', 's' ),
  972.    <a href="ft2-basic_types.html#FT_IMAGE_TAG">FT_IMAGE_TAG</a>( <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_OUTLINE</a>,   'o', 'u', 't', 'l' ),
  973.    <a href="ft2-basic_types.html#FT_IMAGE_TAG">FT_IMAGE_TAG</a>( <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_PLOTTER</a>,   'p', 'l', 'o', 't' )
  974.  
  975.  } <b>FT_Glyph_Format</b>;
  976.  
  977. </pre></table><br>
  978. <table align=center width="87%"><tr><td>
  979. <p>An enumeration type used to describe the format of a given glyph image. Note that this version of FreeType only supports two image formats, even though future font drivers will be able to register their own format.</p>
  980. </td></tr></table><br>
  981. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>values</b></em></td></tr><tr><td>
  982. <p></p>
  983. <table cellpadding=3 border=0>
  984. <tr valign=top><td><b>FT_GLYPH_FORMAT_NONE</b></td><td>
  985. <p>The value&nbsp;0 is reserved.</p>
  986. </td></tr>
  987. <tr valign=top><td colspan=0><b>FT_GLYPH_FORMAT_COMPOSITE</b></td></tr>
  988. <tr valign=top><td></td><td>
  989. <p>The glyph image is a composite of several other images. This format is <i>only</i> used with <a href="ft2-base_interface.html#FT_LOAD_XXX">FT_LOAD_NO_RECURSE</a>, and is used to report compound glyphs (like accented characters).</p>
  990. </td></tr>
  991. <tr valign=top><td><b>FT_GLYPH_FORMAT_BITMAP</b></td><td>
  992. <p>The glyph image is a bitmap, and can be described as an <a href="ft2-basic_types.html#FT_Bitmap">FT_Bitmap</a>. You generally need to access the &lsquo;bitmap&rsquo; field of the <a href="ft2-base_interface.html#FT_GlyphSlotRec">FT_GlyphSlotRec</a> structure to read it.</p>
  993. </td></tr>
  994. <tr valign=top><td colspan=0><b>FT_GLYPH_FORMAT_OUTLINE</b></td></tr>
  995. <tr valign=top><td></td><td>
  996. <p>The glyph image is a vectorial outline made of line segments and Bézier arcs; it can be described as an <a href="ft2-outline_processing.html#FT_Outline">FT_Outline</a>; you generally want to access the &lsquo;outline&rsquo; field of the <a href="ft2-base_interface.html#FT_GlyphSlotRec">FT_GlyphSlotRec</a> structure to read it.</p>
  997. </td></tr>
  998. <tr valign=top><td colspan=0><b>FT_GLYPH_FORMAT_PLOTTER</b></td></tr>
  999. <tr valign=top><td></td><td>
  1000. <p>The glyph image is a vectorial path with no inside and outside contours. Some Type&nbsp;1 fonts, like those in the Hershey family, contain glyphs in this format. These are described as <a href="ft2-outline_processing.html#FT_Outline">FT_Outline</a>, but FreeType isn't currently capable of rendering them correctly.</p>
  1001. </td></tr>
  1002. </table>
  1003. </td></tr></table>
  1004. </td></tr></table>
  1005. <hr width="75%">
  1006. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1007. <td width="100%"></td>
  1008. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1009.  
  1010. <table align=center width="75%"><tr><td>
  1011. <h4><a name="ft_glyph_format_xxx">ft_glyph_format_xxx</a></h4>
  1012. <table align=center width="87%"><tr><td>
  1013. Defined in FT_IMAGE_H (freetype/ftimage.h).
  1014. </td></tr></table><br>
  1015. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  1016.  
  1017. #define <a href="ft2-basic_types.html#ft_glyph_format_xxx">ft_glyph_format_none</a>       <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_NONE</a>
  1018. #define <a href="ft2-basic_types.html#ft_glyph_format_xxx">ft_glyph_format_composite</a>  <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_COMPOSITE</a>
  1019. #define <a href="ft2-basic_types.html#ft_glyph_format_xxx">ft_glyph_format_bitmap</a>     <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_BITMAP</a>
  1020. #define <a href="ft2-basic_types.html#ft_glyph_format_xxx">ft_glyph_format_outline</a>    <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_OUTLINE</a>
  1021. #define <a href="ft2-basic_types.html#ft_glyph_format_xxx">ft_glyph_format_plotter</a>    <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_PLOTTER</a>
  1022.  
  1023. </pre></table><br>
  1024. <table align=center width="87%"><tr><td>
  1025. <p>A list of deprecated constants. Use the corresponding <a href="ft2-basic_types.html#FT_Glyph_Format">FT_Glyph_Format</a> values instead.</p>
  1026. </td></tr></table><br>
  1027. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>values</b></em></td></tr><tr><td>
  1028. <p></p>
  1029. <table cellpadding=3 border=0>
  1030. <tr valign=top><td><b>ft_glyph_format_none</b></td><td>
  1031. <p>See <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_NONE</a>.</p>
  1032. </td></tr>
  1033. <tr valign=top><td colspan=0><b>ft_glyph_format_composite</b></td></tr>
  1034. <tr valign=top><td></td><td>
  1035. <p>See <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_COMPOSITE</a>.</p>
  1036. </td></tr>
  1037. <tr valign=top><td><b>ft_glyph_format_bitmap</b></td><td>
  1038. <p>See <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_BITMAP</a>.</p>
  1039. </td></tr>
  1040. <tr valign=top><td colspan=0><b>ft_glyph_format_outline</b></td></tr>
  1041. <tr valign=top><td></td><td>
  1042. <p>See <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_OUTLINE</a>.</p>
  1043. </td></tr>
  1044. <tr valign=top><td colspan=0><b>ft_glyph_format_plotter</b></td></tr>
  1045. <tr valign=top><td></td><td>
  1046. <p>See <a href="ft2-basic_types.html#FT_Glyph_Format">FT_GLYPH_FORMAT_PLOTTER</a>.</p>
  1047. </td></tr>
  1048. </table>
  1049. </td></tr></table>
  1050. </td></tr></table>
  1051. <hr width="75%">
  1052. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1053. <td width="100%"></td>
  1054. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1055.  
  1056. <table align=center width="75%"><tr><td>
  1057. <h4><a name="FT_Data">FT_Data</a></h4>
  1058. <table align=center width="87%"><tr><td>
  1059. Defined in FT_TYPES_H (freetype/fttypes.h).
  1060. </td></tr></table><br>
  1061. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  1062.  
  1063.   <span class="keyword">typedef</span> <span class="keyword">struct</span>  FT_Data_
  1064.   {
  1065.     <span class="keyword">const</span> <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a>*  pointer;
  1066.     <a href="ft2-basic_types.html#FT_Int">FT_Int</a>          length;
  1067.  
  1068.   } <b>FT_Data</b>;
  1069.  
  1070. </pre></table><br>
  1071. <table align=center width="87%"><tr><td>
  1072. <p>Read-only binary data represented as a pointer and a length.</p>
  1073. </td></tr></table><br>
  1074. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>fields</b></em></td></tr><tr><td>
  1075. <p></p>
  1076. <table cellpadding=3 border=0>
  1077. <tr valign=top><td><b>pointer</b></td><td>
  1078. <p>The data.</p>
  1079. </td></tr>
  1080. <tr valign=top><td><b>length</b></td><td>
  1081. <p>The length of the data in bytes.</p>
  1082. </td></tr>
  1083. </table>
  1084. </td></tr></table>
  1085. </td></tr></table>
  1086. <hr width="75%">
  1087. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1088. <td width="100%"></td>
  1089. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1090.  
  1091. <table align=center width="75%"><tr><td>
  1092. <h4><a name="FT_Generic_Finalizer">FT_Generic_Finalizer</a></h4>
  1093. <table align=center width="87%"><tr><td>
  1094. Defined in FT_TYPES_H (freetype/fttypes.h).
  1095. </td></tr></table><br>
  1096. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  1097.  
  1098.   <span class="keyword">typedef</span> <span class="keyword">void</span>  (*<b>FT_Generic_Finalizer</b>)(<span class="keyword">void</span>*  object);
  1099.  
  1100. </pre></table><br>
  1101. <table align=center width="87%"><tr><td>
  1102. <p>Describe a function used to destroy the &lsquo;client&rsquo; data of any FreeType object. See the description of the <a href="ft2-basic_types.html#FT_Generic">FT_Generic</a> type for details of usage.</p>
  1103. </td></tr></table><br>
  1104. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td>
  1105. <p>The address of the FreeType object which is under finalization. Its client data is accessed through its &lsquo;generic&rsquo; field.</p>
  1106. </td></tr></table>
  1107. </td></tr></table>
  1108. <hr width="75%">
  1109. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1110. <td width="100%"></td>
  1111. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1112.  
  1113. <table align=center width="75%"><tr><td>
  1114. <h4><a name="FT_Generic">FT_Generic</a></h4>
  1115. <table align=center width="87%"><tr><td>
  1116. Defined in FT_TYPES_H (freetype/fttypes.h).
  1117. </td></tr></table><br>
  1118. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  1119.  
  1120.   <span class="keyword">typedef</span> <span class="keyword">struct</span>  FT_Generic_
  1121.   {
  1122.     <span class="keyword">void</span>*                 data;
  1123.     <a href="ft2-basic_types.html#FT_Generic_Finalizer">FT_Generic_Finalizer</a>  finalizer;
  1124.  
  1125.   } <b>FT_Generic</b>;
  1126.  
  1127. </pre></table><br>
  1128. <table align=center width="87%"><tr><td>
  1129. <p>Client applications often need to associate their own data to a variety of FreeType core objects. For example, a text layout API might want to associate a glyph cache to a given size object.</p>
  1130. <p>Some FreeType object contains a &lsquo;generic&rsquo; field, of type FT_Generic, which usage is left to client applications and font servers.</p>
  1131. <p>It can be used to store a pointer to client-specific data, as well as the address of a &lsquo;finalizer&rsquo; function, which will be called by FreeType when the object is destroyed (for example, the previous client example would put the address of the glyph cache destructor in the &lsquo;finalizer&rsquo; field).</p>
  1132. </td></tr></table><br>
  1133. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>fields</b></em></td></tr><tr><td>
  1134. <p></p>
  1135. <table cellpadding=3 border=0>
  1136. <tr valign=top><td><b>data</b></td><td>
  1137. <p>A typeless pointer to any client-specified data. This field is completely ignored by the FreeType library.</p>
  1138. </td></tr>
  1139. <tr valign=top><td><b>finalizer</b></td><td>
  1140. <p>A pointer to a &lsquo;generic finalizer&rsquo; function, which will be called when the object is destroyed. If this field is set to NULL, no code will be called.</p>
  1141. </td></tr>
  1142. </table>
  1143. </td></tr></table>
  1144. </td></tr></table>
  1145. <hr width="75%">
  1146. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1147. <td width="100%"></td>
  1148. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1149.  
  1150. <table align=center width="75%"><tr><td>
  1151. <h4><a name="FT_MAKE_TAG">FT_MAKE_TAG</a></h4>
  1152. <table align=center width="87%"><tr><td>
  1153. Defined in FT_TYPES_H (freetype/fttypes.h).
  1154. </td></tr></table><br>
  1155. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  1156.  
  1157. #define <b>FT_MAKE_TAG</b>( _x1, _x2, _x3, _x4 ) \
  1158.           (<a href="ft2-basic_types.html#FT_Tag">FT_Tag</a>)                        \
  1159.           ( ( (<a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>)_x1 &lt;&lt; 24 ) |     \
  1160.             ( (<a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>)_x2 &lt;&lt; 16 ) |     \
  1161.             ( (<a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>)_x3 &lt;&lt;  8 ) |     \
  1162.               (<a href="ft2-basic_types.html#FT_ULong">FT_ULong</a>)_x4         )
  1163.  
  1164. </pre></table><br>
  1165. <table align=center width="87%"><tr><td>
  1166. <p>This macro converts four-letter tags which are used to label TrueType tables into an unsigned long to be used within FreeType.</p>
  1167. </td></tr></table><br>
  1168. <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td>
  1169. <p>The produced values <b>must</b> be 32-bit integers. Don't redefine this macro.</p>
  1170. </td></tr></table>
  1171. </td></tr></table>
  1172. <hr width="75%">
  1173. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1174. <td width="100%"></td>
  1175. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1176.  
  1177. <table align=center width="75%"><tr><td>
  1178. <h4><a name="FT_Int64">FT_Int64</a></h4>
  1179. <table align=center width="87%"><tr><td>
  1180. Defined in FT_CONFIG_CONFIG_H (freetype/config/ftconfig.h).
  1181. </td></tr></table><br>
  1182. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  1183.  
  1184.  <span class="keyword">typedef</span> <span class="keyword">signed</span> XXX  <b>FT_Int64</b>;
  1185.  
  1186. </pre></table><br>
  1187. </td></tr></table>
  1188. <hr width="75%">
  1189. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1190. <td width="100%"></td>
  1191. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1192.  
  1193. <table align=center width="75%"><tr><td>
  1194. <h4><a name="FT_UInt64">FT_UInt64</a></h4>
  1195. <table align=center width="87%"><tr><td>
  1196. Defined in FT_CONFIG_CONFIG_H (freetype/config/ftconfig.h).
  1197. </td></tr></table><br>
  1198. <table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>
  1199.  
  1200.  <span class="keyword">typedef</span> <span class="keyword">unsigned</span> XXX  <b>FT_UInt64</b>;
  1201.  
  1202. </pre></table><br>
  1203. </td></tr></table>
  1204. <hr width="75%">
  1205. <table align=center width="75%"><tr><td><font size=-2>[<a href="ft2-index.html">Index</a>]</font></td>
  1206. <td width="100%"></td>
  1207. <td><font size=-2>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table>
  1208.  
  1209. </body>
  1210. </html>
  1211.