| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| <title>FTGL: FTContour class Reference</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.3.6 --> |
| <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> |
| <h1>FTContour Class Reference</h1><code>#include <<a class="el" href="FTContour_8h-source.html">FTContour.h</a>></code> |
| <p> |
| <hr><a name="_details"></a><h2>Detailed Description</h2> |
| FTContour class is a container of points that describe a vector font outline. |
| <p> |
| It is used as a container for the output of the bezier curve evaluator in <a class="el" href="classFTVectoriser.html">FTVectoriser</a>.<p> |
| <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classFTOutlineGlyph.html">FTOutlineGlyph</a> <p> |
| <a class="el" href="classFTPolyGlyph.html">FTPolyGlyph</a> <p> |
| <a class="el" href="classFTPoint.html">FTPoint</a> </dd></dl> |
| |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTContour_8h-source.html#l00018">18</a> of file <a class="el" href="FTContour_8h-source.html">FTContour.h</a>.<table border=0 cellpadding=0 cellspacing=0> |
| <tr><td></td></tr> |
| <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFTContour.html#a0">FTContour</a> (FT_Vector *contour, char *pointTags, unsigned int numberOfPoints)</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a0"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classFTContour.html#a1">~FTContour</a> ()</td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a1"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classFTPoint.html">FTPoint</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classFTContour.html#a2">Point</a> (unsigned int index) const </td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a point at index. <a href="#a2"></a><br><br></td></tr> |
| <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="classFTContour.html#a3">PointCount</a> () const </td></tr> |
| |
| <tr><td class="mdescLeft"> </td><td class="mdescRight">How many points define this contour. <a href="#a3"></a><br><br></td></tr> |
| </table> |
| <hr><h2>Constructor & Destructor Documentation</h2> |
| <a class="anchor" name="a0" doxytag="FTContour::FTContour" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> FTContour::FTContour </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">FT_Vector * </td> |
| <td class="mdname" nowrap> <em>contour</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>char * </td> |
| <td class="mdname" nowrap> <em>pointTags</em>, </td> |
| </tr> |
| <tr> |
| <td class="md" nowrap align="right"></td> |
| <td></td> |
| <td class="md" nowrap>unsigned int </td> |
| <td class="mdname" nowrap> <em>numberOfPoints</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Constructor. |
| <p> |
| <dl compact><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign=top><em>contour</em> </td><td></td></tr> |
| <tr><td valign=top><em>pointTags</em> </td><td></td></tr> |
| <tr><td valign=top><em>numberOfPoints</em> </td><td></td></tr> |
| </table> |
| </dl> |
| |
| <p> |
| Definition at line <a class="el" href="FTContour_8cpp-source.html#l00073">73</a> of file <a class="el" href="FTContour_8cpp-source.html">FTContour.cpp</a>. |
| <p> |
| References <a class="el" href="FTVector_8h-source.html#l00049">FTVector< FT_VECTOR_ITEM_TYPE >::size()</a>, <a class="el" href="FTPoint_8h-source.html#l00142">FTPoint::X()</a>, and <a class="el" href="FTPoint_8h-source.html#l00143">FTPoint::Y()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a1" doxytag="FTContour::~FTContour" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> FTContour::~<a class="el" href="classFTContour.html">FTContour</a> </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap><code> [inline]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destructor. |
| <p> |
| |
| <p> |
| Definition at line <a class="el" href="FTContour_8h-source.html#l00033">33</a> of file <a class="el" href="FTContour_8h-source.html">FTContour.h</a>. </td> |
| </tr> |
| </table> |
| <hr><h2>Member Function Documentation</h2> |
| <a class="anchor" name="a2" doxytag="FTContour::Point" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> const <a class="el" href="classFTPoint.html">FTPoint</a>& FTContour::Point </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">unsigned int </td> |
| <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap> const<code> [inline]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Return a point at index. |
| <p> |
| <dl compact><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign=top><em>index</em> </td><td>of the point in the curve. </td></tr> |
| </table> |
| </dl> |
| <dl compact><dt><b>Returns:</b></dt><dd>const point reference </dd></dl> |
| |
| <p> |
| Definition at line <a class="el" href="FTContour_8h-source.html#l00044">44</a> of file <a class="el" href="FTContour_8h-source.html">FTContour.h</a>. |
| <p> |
| Referenced by <a class="el" href="FTExtrdGlyph_8cpp-source.html#l00009">FTExtrdGlyph::FTExtrdGlyph()</a>, <a class="el" href="FTOutlineGlyph_8cpp-source.html#l00005">FTOutlineGlyph::FTOutlineGlyph()</a>, and <a class="el" href="FTVectoriser_8cpp-source.html#l00175">FTVectoriser::MakeMesh()</a>. </td> |
| </tr> |
| </table> |
| <a class="anchor" name="a3" doxytag="FTContour::PointCount" ></a><p> |
| <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| <tr> |
| <td class="mdRow"> |
| <table cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td class="md" nowrap valign="top"> size_t FTContour::PointCount </td> |
| <td class="md" valign="top">( </td> |
| <td class="mdname1" valign="top" nowrap> </td> |
| <td class="md" valign="top"> ) </td> |
| <td class="md" nowrap> const<code> [inline]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| How many points define this contour. |
| <p> |
| <dl compact><dt><b>Returns:</b></dt><dd>the number of points in this contour </dd></dl> |
| |
| <p> |
| Definition at line <a class="el" href="FTContour_8h-source.html#l00051">51</a> of file <a class="el" href="FTContour_8h-source.html">FTContour.h</a>. |
| <p> |
| Referenced by <a class="el" href="FTExtrdGlyph_8cpp-source.html#l00009">FTExtrdGlyph::FTExtrdGlyph()</a>, <a class="el" href="FTOutlineGlyph_8cpp-source.html#l00005">FTOutlineGlyph::FTOutlineGlyph()</a>, <a class="el" href="FTVectoriser_8cpp-source.html#l00175">FTVectoriser::MakeMesh()</a>, and <a class="el" href="FTVectoriser_8cpp-source.html#l00157">FTVectoriser::PointCount()</a>. </td> |
| </tr> |
| </table> |
| <hr>The documentation for this class was generated from the following files:<ul> |
| <li><a class="el" href="FTContour_8h-source.html">FTContour.h</a><li><a class="el" href="FTContour_8cpp-source.html">FTContour.cpp</a></ul> |
| <hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:24:06 2004 for FTGL by |
| <a href="http://www.doxygen.org/index.html"> |
| <img src="doxygen.png" alt="doxygen" align="middle" border=0 > |
| </a>1.3.6 </small></address> |
| </body> |
| </html> |