Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 567

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkFreeTypeUtilities Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkFreeTypeUtilities Class Reference</h1><!-- doxytag: class="vtkFreeTypeUtilities" --><!-- doxytag: inherits="vtkObject" --><code>#include &lt;<a class="el" href="a05190.html">vtkFreeTypeUtilities.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkFreeTypeUtilities:</div>
<div class="dynsection">
<p><center><img src="a09922.png" border="0" usemap="#a09923" alt="Inheritance graph"></center>
<map name="a09923">
<area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="36,80,116,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="21,6,131,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkFreeTypeUtilities:</div>
<div class="dynsection">
<p><center><img src="a09924.png" border="0" usemap="#a09925" alt="Collaboration graph"></center>
<map name="a09925">
<area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a01692.html" title="represent text properties." alt="" coords="139,174,256,200"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,6,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,6,248,32"><area shape="rect" href="a00566.html" title="vtkFreeTypeUtilitiesCleanup" alt="" coords="336,264,528,291"><area shape="rect" href="a00565.html" title="vtkFreeTypeUtilities::Entry" alt="" coords="131,264,312,291"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a09926.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
FreeType library support. 
<p>
<a class="el" href="a00564.html" title="FreeType library support.">vtkFreeTypeUtilities</a> provides low-level interface to the FreeType library, including font-cache, rasterizing and vectorizing. FreeType cache-subsystem is supported only when FreeType version is greater than 2.1.9. Internal use only. EXPERIMENTAL for the moment. Also include the old cache. 
<p>Definition at line <a class="el" href="a05190.html#l00062">62</a> of file <a class="el" href="a05190.html">vtkFreeTypeUtilities.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="a00564.html#5606eb9f5f871b3f6bf458449e8de6844ea8c00753e8fd99db1af2d12629b953">GLYPH_REQUEST_DEFAULT</a> =  0, 
<a class="el" href="a00564.html#5606eb9f5f871b3f6bf458449e8de684302f0200ffd5f092579429eb895d8204">GLYPH_REQUEST_BITMAP</a> =  1, 
<a class="el" href="a00564.html#5606eb9f5f871b3f6bf458449e8de6847c9781a5c3d62064720fe45647e6d476">GLYPH_REQUEST_OUTLINE</a> =  2
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#48bf091571819288e782235cce8a3a88">GetGlyph</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, char c, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT)</td></tr>

<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01084.html">vtkObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#9fd5fbdeeec49e4d74a43c4f9f2c0979">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#8f75a9e70562ed90012ab8ab7d4e6a6a">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#712f26fb87574938cf911caf9818d2dd">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#534c93a8fac41750867e9ba06c41d56c">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">FT_Library *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#310538f7add269cea55bbd38680c56ba">GetLibrary</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#f4900b9207680b447476f7f9a6228811">GetSize</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, FT_Size *size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#0d8b07b3da2a9d61adaf5f6b6f497694">GetFace</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, FT_Face *<a class="el" href="a00012.html">face</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#5aae9ed333a48ca2bfba6a54b559219b">GetGlyphIndex</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, char c, FT_UInt *gindex)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00565.html">vtkFreeTypeUtilities::Entry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#9c4bf225a57b0998592de4c63dbecf9e">GetFont</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, double override_color[3]=NULL)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#68aaa542a52482ff3d1514fc559b53a8">SetMaximumNumberOfFaces</a> (unsigned int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#172606098ca2ac32f4673356b1b33a4e">GetMaximumNumberOfFaces</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#f8caa900d4983c43b7976d478b4a93b1">SetMaximumNumberOfSizes</a> (unsigned int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#ed20d377aebb23e50e4953b39c75bd57">GetMaximumNumberOfSizes</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#00192460b91cc765c9f9d6b88008b3e2">SetMaximumNumberOfBytes</a> (unsigned long)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#af04e7b53895f6c49e8051d41b02bf76">GetMaximumNumberOfBytes</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#d2bf564bc26a4fcefd1780db9c642cd5">GetBoundingBox</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, const char *str, int bbox[4])</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#ba7fabfa857edc3a2faf080cdef66e98">IsBoundingBoxValid</a> (int bbox[4])</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#2d6a0ac678cbdacf4f9fbb115c56d777">RenderString</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, const char *str, <a class="el" href="a00751.html">vtkImageData</a> *data)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#cf761c7ed634156d107ab22ae59257ac">RenderString</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, const char *str, int x, int y, <a class="el" href="a00751.html">vtkImageData</a> *data)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#0a3b718798608acb80a2a6359b9c120e">MapTextPropertyToId</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, unsigned long *tprop_cache_id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#bfeec2212feb5176344b2f7afbf8e2bf">MapIdToTextProperty</a> (unsigned long tprop_cache_id, <a class="el" href="a01692.html">vtkTextProperty</a> *tprop)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#a2eb4ab41a620624467c531251caadaa">GetSize</a> (unsigned long tprop_cache_id, int font_size, FT_Size *size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#1874ef88376d1fd0fa1ce1702b5e8cd4">GetFace</a> (unsigned long tprop_cache_id, FT_Face *<a class="el" href="a00012.html">face</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#ead6f18dcb3fa6ddebf5e5754af16434">GetGlyphIndex</a> (unsigned long tprop_cache_id, char c, FT_UInt *gindex)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#e61529f493d46c16a44d447fc1dcc504">GetGlyph</a> (unsigned long tprop_cache_id, int font_size, FT_UInt gindex, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#c2a68f79de52da6cdd2c10ec042c9936">GetWidthHeightDescender</a> (const char *str, <a class="el" href="a01692.html">vtkTextProperty</a> *tprop, int *width, int *height, float *descender)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#18e2a9cdb099821abca16684a3466395">PrepareImageData</a> (<a class="el" href="a00751.html">vtkImageData</a> *data, <a class="el" href="a01692.html">vtkTextProperty</a> *tprop, const char *str, int *x, int *y)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#562e9d4e7a3c3b622b50a9aed99fbfcb">GetConstrainedFontSize</a> (const char *str, <a class="el" href="a01692.html">vtkTextProperty</a> *tprop, double orientation, int targetWidth, int targetHeight)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#1b9f8cabbafa62f3942adcf467f328bb">JustifyLine</a> (const char *str, <a class="el" href="a01692.html">vtkTextProperty</a> *tprop, int totalWidth, int *x, int *y)</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#18f700aadf27dc4c3fa1c938be848e50">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00564.html">vtkFreeTypeUtilities</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#d042f26bde4715ded917e7db70f59694">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00564.html">vtkFreeTypeUtilities</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#bdc5d6ba760f046b907efb1ff81f25eb">New</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00564.html">vtkFreeTypeUtilities</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#039e4d17bd2eed8385d8b598de67c893">GetInstance</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#115a234e55ad03c3d312a5fbee370635">SetInstance</a> (<a class="el" href="a00564.html">vtkFreeTypeUtilities</a> *instance)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#e06c840a90417eb94c2c0690d42de2fb">PopulateImageData</a> (<a class="el" href="a01692.html">vtkTextProperty</a> *tprop, const char *str, int x, int y, <a class="el" href="a00751.html">vtkImageData</a> *data, int use_shadow_color)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#cb1447144c2edd30a8c70bb3550453b8">vtkFreeTypeUtilities</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00564.html#13a7d18613349f1758e21ed399110699">~vtkFreeTypeUtilities</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00565.html">Entry</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="9fd5fbdeeec49e4d74a43c4f9f2c0979"></a><!-- doxytag: member="vtkFreeTypeUtilities::Superclass" ref="9fd5fbdeeec49e4d74a43c4f9f2c0979" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01084.html">vtkObject</a> <a class="el" href="a01084.html">vtkFreeTypeUtilities::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#11429dee69f4b562e03e07b453dae9b5">vtkObject</a>.</p>

<p>Definition at line <a class="el" href="a05190.html#l00065">65</a> of file <a class="el" href="a05190.html">vtkFreeTypeUtilities.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="5606eb9f5f871b3f6bf458449e8de684"></a><!-- doxytag: member="vtkFreeTypeUtilities::@83" ref="5606eb9f5f871b3f6bf458449e8de684" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property and a character, get the corresponding FreeType glyph. The 'request' parameter can be used to request the glyph to be in a specific format. If GLYPH_REQUEST_DEFAULT, the glyph might be either an outline (most of the time) or a bitmap if the <a class="el" href="a00012.html">face</a> includes a set of pre-rendered glyphs (called "strikes") for a given size. If GLYPH_REQUEST_BITMAP, the glyph is rendered immediately and can be safely cast to a FT_BitmapGlyph. If GLYPH_REQUEST_OUTLINE, no pre-rendered "strike" is considered, the glyph is an outline and can be safely cast to a FT_OutlineGlyph. Return true on success, false otherwise This method is successful only when FreeType version is &gt;= 2.1.9 BTX <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="5606eb9f5f871b3f6bf458449e8de6844ea8c00753e8fd99db1af2d12629b953"></a><!-- doxytag: member="GLYPH_REQUEST_DEFAULT" ref="5606eb9f5f871b3f6bf458449e8de6844ea8c00753e8fd99db1af2d12629b953" args="" -->GLYPH_REQUEST_DEFAULT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="5606eb9f5f871b3f6bf458449e8de684302f0200ffd5f092579429eb895d8204"></a><!-- doxytag: member="GLYPH_REQUEST_BITMAP" ref="5606eb9f5f871b3f6bf458449e8de684302f0200ffd5f092579429eb895d8204" args="" -->GLYPH_REQUEST_BITMAP</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="5606eb9f5f871b3f6bf458449e8de6847c9781a5c3d62064720fe45647e6d476"></a><!-- doxytag: member="GLYPH_REQUEST_OUTLINE" ref="5606eb9f5f871b3f6bf458449e8de6847c9781a5c3d62064720fe45647e6d476" args="" -->GLYPH_REQUEST_OUTLINE</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="a05190.html#l00131">131</a> of file <a class="el" href="a05190.html">vtkFreeTypeUtilities.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="cb1447144c2edd30a8c70bb3550453b8"></a><!-- doxytag: member="vtkFreeTypeUtilities::vtkFreeTypeUtilities" ref="cb1447144c2edd30a8c70bb3550453b8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkFreeTypeUtilities::vtkFreeTypeUtilities           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="13a7d18613349f1758e21ed399110699"></a><!-- doxytag: member="vtkFreeTypeUtilities::~vtkFreeTypeUtilities" ref="13a7d18613349f1758e21ed399110699" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual vtkFreeTypeUtilities::~vtkFreeTypeUtilities           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8f75a9e70562ed90012ab8ab7d4e6a6a"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetClassName" ref="8f75a9e70562ed90012ab8ab7d4e6a6a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkFreeTypeUtilities::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#d95975c85c2896ea32ff4cf1f8de0886">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="18f700aadf27dc4c3fa1c938be848e50"></a><!-- doxytag: member="vtkFreeTypeUtilities::IsTypeOf" ref="18f700aadf27dc4c3fa1c938be848e50" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkFreeTypeUtilities::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01084.html#e9548a248bce0f02f73bbcccd0a9489e">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="712f26fb87574938cf911caf9818d2dd"></a><!-- doxytag: member="vtkFreeTypeUtilities::IsA" ref="712f26fb87574938cf911caf9818d2dd" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkFreeTypeUtilities::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01084.html#831e57b04e46827a7098aa81abadee69">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="d042f26bde4715ded917e7db70f59694"></a><!-- doxytag: member="vtkFreeTypeUtilities::SafeDownCast" ref="d042f26bde4715ded917e7db70f59694" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00564.html">vtkFreeTypeUtilities</a>* vtkFreeTypeUtilities::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#bb9351f076544c427ee91229dce83abe">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="534c93a8fac41750867e9ba06c41d56c"></a><!-- doxytag: member="vtkFreeTypeUtilities::PrintSelf" ref="534c93a8fac41750867e9ba06c41d56c" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkFreeTypeUtilities::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a01084.html#bf3dbb4154289b56a12483eee3866263">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="bdc5d6ba760f046b907efb1ff81f25eb"></a><!-- doxytag: member="vtkFreeTypeUtilities::New" ref="bdc5d6ba760f046b907efb1ff81f25eb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00564.html">vtkFreeTypeUtilities</a>* vtkFreeTypeUtilities::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is a singleton pattern New. There will be only ONE reference to a <a class="el" href="a00564.html" title="FreeType library support.">vtkFreeTypeUtilities</a> object per process. Clients that call this method must use <a class="el" href="a01085.html#a32595c1d2734908fe30344b77b77b32">Delete()</a> on the object so that reference counting will work. The single instance will be unreferenced when the program exits. You should just use the static <a class="el" href="a00564.html#039e4d17bd2eed8385d8b598de67c893">GetInstance()</a> method anyway to get the singleton. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="039e4d17bd2eed8385d8b598de67c893"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetInstance" ref="039e4d17bd2eed8385d8b598de67c893" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00564.html">vtkFreeTypeUtilities</a>* vtkFreeTypeUtilities::GetInstance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the singleton instance with no reference counting. 
</div>
</div><p>
<a class="anchor" name="115a234e55ad03c3d312a5fbee370635"></a><!-- doxytag: member="vtkFreeTypeUtilities::SetInstance" ref="115a234e55ad03c3d312a5fbee370635" args="(vtkFreeTypeUtilities *instance)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkFreeTypeUtilities::SetInstance           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00564.html">vtkFreeTypeUtilities</a> *&nbsp;</td>
          <td class="paramname"> <em>instance</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Supply a user defined instance. Call <a class="el" href="a01085.html#a32595c1d2734908fe30344b77b77b32">Delete()</a> on the supplied instance after setting it to fix the reference count. 
</div>
</div><p>
<a class="anchor" name="310538f7add269cea55bbd38680c56ba"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetLibrary" ref="310538f7add269cea55bbd38680c56ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FT_Library* vtkFreeTypeUtilities::GetLibrary           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the FreeType library singleton. 
</div>
</div><p>
<a class="anchor" name="68aaa542a52482ff3d1514fc559b53a8"></a><!-- doxytag: member="vtkFreeTypeUtilities::SetMaximumNumberOfFaces" ref="68aaa542a52482ff3d1514fc559b53a8" args="(unsigned int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkFreeTypeUtilities::SetMaximumNumberOfFaces           </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>int</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of faces (FT_Face), sizes (FT_Size) and bytes used by the cache. These settings can be changed as long as it is done prior to accessing any of the caches or the cache manager. 
</div>
</div><p>
<a class="anchor" name="172606098ca2ac32f4673356b1b33a4e"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetMaximumNumberOfFaces" ref="172606098ca2ac32f4673356b1b33a4e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned int vtkFreeTypeUtilities::GetMaximumNumberOfFaces           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of faces (FT_Face), sizes (FT_Size) and bytes used by the cache. These settings can be changed as long as it is done prior to accessing any of the caches or the cache manager. 
</div>
</div><p>
<a class="anchor" name="f8caa900d4983c43b7976d478b4a93b1"></a><!-- doxytag: member="vtkFreeTypeUtilities::SetMaximumNumberOfSizes" ref="f8caa900d4983c43b7976d478b4a93b1" args="(unsigned int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkFreeTypeUtilities::SetMaximumNumberOfSizes           </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>int</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of faces (FT_Face), sizes (FT_Size) and bytes used by the cache. These settings can be changed as long as it is done prior to accessing any of the caches or the cache manager. 
</div>
</div><p>
<a class="anchor" name="ed20d377aebb23e50e4953b39c75bd57"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetMaximumNumberOfSizes" ref="ed20d377aebb23e50e4953b39c75bd57" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned int vtkFreeTypeUtilities::GetMaximumNumberOfSizes           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of faces (FT_Face), sizes (FT_Size) and bytes used by the cache. These settings can be changed as long as it is done prior to accessing any of the caches or the cache manager. 
</div>
</div><p>
<a class="anchor" name="00192460b91cc765c9f9d6b88008b3e2"></a><!-- doxytag: member="vtkFreeTypeUtilities::SetMaximumNumberOfBytes" ref="00192460b91cc765c9f9d6b88008b3e2" args="(unsigned long)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkFreeTypeUtilities::SetMaximumNumberOfBytes           </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>long</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of faces (FT_Face), sizes (FT_Size) and bytes used by the cache. These settings can be changed as long as it is done prior to accessing any of the caches or the cache manager. 
</div>
</div><p>
<a class="anchor" name="af04e7b53895f6c49e8051d41b02bf76"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetMaximumNumberOfBytes" ref="af04e7b53895f6c49e8051d41b02bf76" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned long vtkFreeTypeUtilities::GetMaximumNumberOfBytes           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of faces (FT_Face), sizes (FT_Size) and bytes used by the cache. These settings can be changed as long as it is done prior to accessing any of the caches or the cache manager. 
</div>
</div><p>
<a class="anchor" name="f4900b9207680b447476f7f9a6228811"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetSize" ref="f4900b9207680b447476f7f9a6228811" args="(vtkTextProperty *tprop, FT_Size *size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetSize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_Size *&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property, get the corresponding FreeType size object (a structure storing both a <a class="el" href="a00012.html">face</a> and a specific size metric). The size setting of the text property is used to set the size's <a class="el" href="a00012.html">face</a> to the corresponding size. Return true on success, false otherwise. This method is successful only when FreeType version is &gt;= 2.1.9 
</div>
</div><p>
<a class="anchor" name="0d8b07b3da2a9d61adaf5f6b6f497694"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetFace" ref="0d8b07b3da2a9d61adaf5f6b6f497694" args="(vtkTextProperty *tprop, FT_Face *face)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetFace           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_Face *&nbsp;</td>
          <td class="paramname"> <em>face</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property, get the corresponding FreeType <a class="el" href="a00012.html">face</a>. The size parameter of the text property is ignored and a <a class="el" href="a00012.html">face</a> with unknown current size is returned. Use <a class="el" href="a00564.html#f4900b9207680b447476f7f9a6228811">GetSize()</a> to get a specific size. Return true on success, false otherwise This method is successful only when FreeType version is &gt;= 2.1.9 
</div>
</div><p>
<a class="anchor" name="5aae9ed333a48ca2bfba6a54b559219b"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetGlyphIndex" ref="5aae9ed333a48ca2bfba6a54b559219b" args="(vtkTextProperty *tprop, char c, FT_UInt *gindex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetGlyphIndex           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_UInt *&nbsp;</td>
          <td class="paramname"> <em>gindex</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property and a character, get the corresponding FreeType glyph index. Return true on success, false otherwise This method is successful only when FreeType version is &gt;= 2.1.9 
</div>
</div><p>
<a class="anchor" name="48bf091571819288e782235cce8a3a88"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetGlyph" ref="48bf091571819288e782235cce8a3a88" args="(vtkTextProperty *tprop, char c, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetGlyph           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_Glyph *&nbsp;</td>
          <td class="paramname"> <em>glyph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>request</em> = <code>GLYPH_REQUEST_DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property and a character, get the corresponding FreeType glyph. The 'request' parameter can be used to request the glyph to be in a specific format. If GLYPH_REQUEST_DEFAULT, the glyph might be either an outline (most of the time) or a bitmap if the <a class="el" href="a00012.html">face</a> includes a set of pre-rendered glyphs (called "strikes") for a given size. If GLYPH_REQUEST_BITMAP, the glyph is rendered immediately and can be safely cast to a FT_BitmapGlyph. If GLYPH_REQUEST_OUTLINE, no pre-rendered "strike" is considered, the glyph is an outline and can be safely cast to a FT_OutlineGlyph. Return true on success, false otherwise This method is successful only when FreeType version is &gt;= 2.1.9 BTX 
</div>
</div><p>
<a class="anchor" name="d2bf564bc26a4fcefd1780db9c642cd5"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetBoundingBox" ref="d2bf564bc26a4fcefd1780db9c642cd5" args="(vtkTextProperty *tprop, const char *str, int bbox[4])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetBoundingBox           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bbox</em>[4]</td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property and a string, get the bounding box [xmin, xmax] x [ymin, ymax]. Note that this is the bounding box of the area where actual pixels will be written, given a text/pen/baseline location of (0,0). For example, if the string starts with a 'space', or depending on the orientation, you can end up with a [-20, -10] x [5, 10] bbox (the math to get the real bbox is straightforward). Return 1 on success, 0 otherwise. You can use <a class="el" href="a00564.html#ba7fabfa857edc3a2faf080cdef66e98">IsBoundingBoxValid()</a> to test if the computed bbox is valid (it may not if <a class="el" href="a00564.html#d2bf564bc26a4fcefd1780db9c642cd5">GetBoundingBox()</a> failed or if the string was empty). 
</div>
</div><p>
<a class="anchor" name="ba7fabfa857edc3a2faf080cdef66e98"></a><!-- doxytag: member="vtkFreeTypeUtilities::IsBoundingBoxValid" ref="ba7fabfa857edc3a2faf080cdef66e98" args="(int bbox[4])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::IsBoundingBoxValid           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bbox</em>[4]          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property and a string, get the bounding box [xmin, xmax] x [ymin, ymax]. Note that this is the bounding box of the area where actual pixels will be written, given a text/pen/baseline location of (0,0). For example, if the string starts with a 'space', or depending on the orientation, you can end up with a [-20, -10] x [5, 10] bbox (the math to get the real bbox is straightforward). Return 1 on success, 0 otherwise. You can use <a class="el" href="a00564.html#ba7fabfa857edc3a2faf080cdef66e98">IsBoundingBoxValid()</a> to test if the computed bbox is valid (it may not if <a class="el" href="a00564.html#d2bf564bc26a4fcefd1780db9c642cd5">GetBoundingBox()</a> failed or if the string was empty). 
</div>
</div><p>
<a class="anchor" name="2d6a0ac678cbdacf4f9fbb115c56d777"></a><!-- doxytag: member="vtkFreeTypeUtilities::RenderString" ref="2d6a0ac678cbdacf4f9fbb115c56d777" args="(vtkTextProperty *tprop, const char *str, vtkImageData *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::RenderString           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> *&nbsp;</td>
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a text property and a string, this function initializes the <a class="el" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a> *data and renders it in a <a class="el" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>. 
</div>
</div><p>
<a class="anchor" name="cf761c7ed634156d107ab22ae59257ac"></a><!-- doxytag: member="vtkFreeTypeUtilities::RenderString" ref="cf761c7ed634156d107ab22ae59257ac" args="(vtkTextProperty *tprop, const char *str, int x, int y, vtkImageData *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::RenderString           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> *&nbsp;</td>
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deprecated function signature. int x, y are ignored. 
</div>
</div><p>
<a class="anchor" name="0a3b718798608acb80a2a6359b9c120e"></a><!-- doxytag: member="vtkFreeTypeUtilities::MapTextPropertyToId" ref="0a3b718798608acb80a2a6359b9c120e" args="(vtkTextProperty *tprop, unsigned long *tprop_cache_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkFreeTypeUtilities::MapTextPropertyToId           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long *&nbsp;</td>
          <td class="paramname"> <em>tprop_cache_id</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
For internal use only. Given a text property 'tprop', get its unique ID in our cache framework. In the same way, given a unique ID in our cache, retrieve the corresponding text property and assign its parameters to 'tprop'. Warning: there is no one to one mapping between a single text property the corresponding ID, and vice-versa. The ID is just a fast hash, a binary mask concatenating the attributes of the text property that are relevant to our cache (Color, Opacity, Justification setting are not stored). 
</div>
</div><p>
<a class="anchor" name="bfeec2212feb5176344b2f7afbf8e2bf"></a><!-- doxytag: member="vtkFreeTypeUtilities::MapIdToTextProperty" ref="bfeec2212feb5176344b2f7afbf8e2bf" args="(unsigned long tprop_cache_id, vtkTextProperty *tprop)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkFreeTypeUtilities::MapIdToTextProperty           </td>
          <td>(</td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>tprop_cache_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
For internal use only. Given a text property 'tprop', get its unique ID in our cache framework. In the same way, given a unique ID in our cache, retrieve the corresponding text property and assign its parameters to 'tprop'. Warning: there is no one to one mapping between a single text property the corresponding ID, and vice-versa. The ID is just a fast hash, a binary mask concatenating the attributes of the text property that are relevant to our cache (Color, Opacity, Justification setting are not stored). 
</div>
</div><p>
<a class="anchor" name="a2eb4ab41a620624467c531251caadaa"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetSize" ref="a2eb4ab41a620624467c531251caadaa" args="(unsigned long tprop_cache_id, int font_size, FT_Size *size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetSize           </td>
          <td>(</td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>tprop_cache_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>font_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_Size *&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
For internal use only. These methods are successful only when FreeType version is &gt;= 2.1.9 
</div>
</div><p>
<a class="anchor" name="1874ef88376d1fd0fa1ce1702b5e8cd4"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetFace" ref="1874ef88376d1fd0fa1ce1702b5e8cd4" args="(unsigned long tprop_cache_id, FT_Face *face)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetFace           </td>
          <td>(</td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>tprop_cache_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_Face *&nbsp;</td>
          <td class="paramname"> <em>face</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
For internal use only. These methods are successful only when FreeType version is &gt;= 2.1.9 
</div>
</div><p>
<a class="anchor" name="ead6f18dcb3fa6ddebf5e5754af16434"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetGlyphIndex" ref="ead6f18dcb3fa6ddebf5e5754af16434" args="(unsigned long tprop_cache_id, char c, FT_UInt *gindex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetGlyphIndex           </td>
          <td>(</td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>tprop_cache_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_UInt *&nbsp;</td>
          <td class="paramname"> <em>gindex</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
For internal use only. These methods are successful only when FreeType version is &gt;= 2.1.9 
</div>
</div><p>
<a class="anchor" name="e61529f493d46c16a44d447fc1dcc504"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetGlyph" ref="e61529f493d46c16a44d447fc1dcc504" args="(unsigned long tprop_cache_id, int font_size, FT_UInt gindex, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetGlyph           </td>
          <td>(</td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>tprop_cache_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>font_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_UInt&nbsp;</td>
          <td class="paramname"> <em>gindex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FT_Glyph *&nbsp;</td>
          <td class="paramname"> <em>glyph</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>request</em> = <code>GLYPH_REQUEST_DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
For internal use only. These methods are successful only when FreeType version is &gt;= 2.1.9 
</div>
</div><p>
<a class="anchor" name="c2a68f79de52da6cdd2c10ec042c9936"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetWidthHeightDescender" ref="c2a68f79de52da6cdd2c10ec042c9936" args="(const char *str, vtkTextProperty *tprop, int *width, int *height, float *descender)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkFreeTypeUtilities::GetWidthHeightDescender           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&nbsp;</td>
          <td class="paramname"> <em>descender</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a string and a TextProperty this function will calculate the height and width of a rectangle that can encompass the text. Unlike GetBoundingBox this function does not consider the text's orientation. Calculated width, height, and greatest descender are stored in the last three parameters of the function signature 
</div>
</div><p>
<a class="anchor" name="18e2a9cdb099821abca16684a3466395"></a><!-- doxytag: member="vtkFreeTypeUtilities::PrepareImageData" ref="18e2a9cdb099821abca16684a3466395" args="(vtkImageData *data, vtkTextProperty *tprop, const char *str, int *x, int *y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkFreeTypeUtilities::PrepareImageData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function initializes the extent of the ImageData to eventually receive the text stored in str 
</div>
</div><p>
<a class="anchor" name="562e9d4e7a3c3b622b50a9aed99fbfcb"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetConstrainedFontSize" ref="562e9d4e7a3c3b622b50a9aed99fbfcb" args="(const char *str, vtkTextProperty *tprop, double orientation, int targetWidth, int targetHeight)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::GetConstrainedFontSize           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>orientation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>targetWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>targetHeight</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns the font size required to fit the string in the target rectangle 
</div>
</div><p>
<a class="anchor" name="1b9f8cabbafa62f3942adcf467f328bb"></a><!-- doxytag: member="vtkFreeTypeUtilities::JustifyLine" ref="1b9f8cabbafa62f3942adcf467f328bb" args="(const char *str, vtkTextProperty *tprop, int totalWidth, int *x, int *y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkFreeTypeUtilities::JustifyLine           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>totalWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Internal method that justifies individual lines of text 
</div>
</div><p>
<a class="anchor" name="9c4bf225a57b0998592de4c63dbecf9e"></a><!-- doxytag: member="vtkFreeTypeUtilities::GetFont" ref="9c4bf225a57b0998592de4c63dbecf9e" args="(vtkTextProperty *tprop, double override_color[3]=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00565.html">vtkFreeTypeUtilities::Entry</a>* vtkFreeTypeUtilities::GetFont           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>override_color</em>[3] = <code>NULL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e06c840a90417eb94c2c0690d42de2fb"></a><!-- doxytag: member="vtkFreeTypeUtilities::PopulateImageData" ref="e06c840a90417eb94c2c0690d42de2fb" args="(vtkTextProperty *tprop, const char *str, int x, int y, vtkImageData *data, int use_shadow_color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFreeTypeUtilities::PopulateImageData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01692.html">vtkTextProperty</a> *&nbsp;</td>
          <td class="paramname"> <em>tprop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>use_shadow_color</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Rendering/<a class="el" href="a05190.html">vtkFreeTypeUtilities.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:03:35 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>