📄 class_hfpolygon.html
字号:
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./header_files/filelist.xml">
<title>FFFSDK</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>michael</o:Author>
<o:LastAuthor>michael</o:LastAuthor>
<o:Revision>4</o:Revision>
<o:TotalTime>80</o:TotalTime>
<o:Created>1999-09-28T21:47:00Z</o:Created>
<o:LastSaved>1999-09-29T01:42:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>48</o:Words>
<o:Characters>277</o:Characters>
<o:Company>Middlesoft</o:Company>
<o:Lines>2</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>340</o:CharactersWithSpaces>
<o:Version>9.2720</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<link rel=Stylesheet type="text/css" media=all href=doxygen.css>
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
<!-- Insert HTML here --><RIGHT>
<div class=Section1>
<div style='border:solid windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;
mso-border-shadow:yes'>
<p class=MsoNormal style='margin-right:55.5pt;border:none;mso-border-alt:solid windowtext 1.0pt;
padding:0in;mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt;mso-border-shadow:yes'><span
style='background:#E0E0E0'><span style="mso-spacerun: yes"> </span><a
href="hierarchy.html">Class Hierarchy</a> <a href="classes.html">Alphabetical
List</a> <a href="headers.html">Header Files</a> <a
href="functions.html">Compound Members</a> 18 Nov 1999<o:p></o:p></span></p>
</div>
<meta name=robots content=noindex>
<p class=MsoNormal style='margin-right:55.5pt'><span style='background:#E0E0E0'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<p class=MsoNormal style='margin-right:55.5pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
</div>
</body>
</html>
<h1>HFPolygon Class Reference</h1>Define a Polygon shape. <a href="#_details">More...</a><p><code>#include <<a class="el" href="class_hfpolygon-include.html">HFPolygon.h</a>></code><p><p>Class diagram for HFPolygon:<p><center><img src="class_hfpolygon.gif" usemap="#HFPolygon_map" border="0"></center><map name="HFPolygon_map"><p><area href="class_hfshape.html" ALT="HFShape" shape="rect" coords="0,56,75,80"><area href="class_hfobject.html" ALT="HFObject" shape="rect" coords="0,0,75,24"></MAP></P><a href="class_hfpolygon-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=4><br><h2>Public Members</h2></td></tr><tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top> </td><td valign=top><a class="el" href="class_hfpolygon.html#a0">HFPolygon</a> ( <a class="el" href="class_spoint.html">SPOINT</a>* pointArray, int numberOfPoints )</td></tr><tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Creates a polygon from an array of lines.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr><p><tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top> </td><td valign=top><a class="el" href="class_hfpolygon.html#a1">HFPolygon</a> ( int originX, int originY )</td></tr><tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Creates a polygon that allows points to be added.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr><p><tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>void </td><td valign=top><a class="el" href="class_hfpolygon.html#a2">AddCurvedLine</a> (<a class="el" href="Macromedia.H.html#a4">S32</a> controlDX, <a class="el" href="Macromedia.H.html#a4">S32</a> controlDY, <a class="el" href="Macromedia.H.html#a4">S32</a> anchorDX, <a class="el" href="Macromedia.H.html#a4">S32</a> anchorDY)</td></tr><tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Add a curved line to the polygon.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr><p><tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>void </td><td valign=top><a class="el" href="class_hfpolygon.html#a3">AddStraightLine</a> ( int dx, int dy )</td></tr><tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Creates a polygon that allows points to be added.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><p><tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top> </td><td valign=top><a class="el" href="class_hfpolygon.html#a4">~HFPolygon</a> ()</td></tr><tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top><a class="el" href="class_fshape.html">FShape</a>* </td><td valign=top><a class="el" href="class_hfpolygon.html#a5">CreateFShape</a> ()</td></tr><tr><td><img src=null.gif></td><td><img src=null.gif></td><td></td><td><font size=-1><em>Creates a polygon that allows points to be added.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr><p><tr><td><img src="null.gif"></td><td><img src="null.gif"></td><td nowrap align=right valign=top>void </td><td valign=top><a class="el" href="class_hfpolygon.html#a6">AddToObjectList</a> (std::list<FObj*> *objList, <a class="el" href="class_hfmovie.html">HFMovie</a>* movie)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Define a Polygon shape.<p>Defines a closed polygon of an arbitrary number of sides. You need at least 3 points to define a polygon. <dl compact><dt><b>See also: </b><dd><a class="el" href="class_hfshape.html">HFShape</a>, <a class="el" href="class_hfobject.html">HFObject</a> </dl><hr><h2>Member Function Documentation</h2><a name="a0" doxytag="HFPolygon::HFPolygon"><p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>HFPolygon::HFPolygon (<a class="el" href="class_spoint.html">SPOINT</a> * <em>pointArray</em>, int <em>numberOfPoints</em>)</b></td></tr></table></a><div class="in"><p>Creates a polygon from an array of lines.<p><dl compact><dt><b>Parameters: </b><dd><em>pointArray</em> - A pointer to an array of SPOINTS, which contains x and y values in twips. If the last point does not have the same coordinates as the first point, the polygon will automatically be closed. The point array is copied, so the memory is not handed over to the HFPolygon object. <dd><em>numberOfPoints</em> - The number of points in the pointArray. </dl><dl compact><dt><b>See also: </b><dd><a class="el" href="class_hfshape.html">HFShape</a> </dl></div><a name="a1" doxytag="HFPolygon::HFPolygon"><p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>HFPolygon::HFPolygon (int <em>originX</em>, int <em>originY</em>)</b></td></tr></table></a><div class="in"><p>Creates a polygon that allows points to be added.<p><dl compact><dt><b>Parameters: </b><dd><em>originX</em> - The x coordinate of the polygon's origin. <dd><em>originY</em> - The y coordinate of the polygon's origin. </dl><dl compact><dt><b>See also: </b><dd><a class="el" href="class_hfshape.html">HFShape</a> </dl></div><a name="a2" doxytag="HFPolygon::AddCurvedLine"><p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>void HFPolygon::AddCurvedLine (<a class="el" href="Macromedia.H.html#a4">S32</a> <em>controlDX</em>, <a class="el" href="Macromedia.H.html#a4">S32</a> <em>controlDY</em>, <a class="el" href="Macromedia.H.html#a4">S32</a> <em>anchorDX</em>, <a class="el" href="Macromedia.H.html#a4">S32</a> <em>anchorDY</em>)</b></td></tr></table></a><div class="in"><p>Add a curved line to the polygon.<p><dl compact><dt><b>Parameters: </b><dd><em>controlDX</em> - The x coordinate of the control point for the curve edge. <dd><em>controlDY</em> - The y coordinate of the control point for the curve edge. <dd><em>anchorDX</em> - The x coordinate of the anchor point for the curve edge. <dd><em>anchorDY</em> - The y coordinate of the anchor point for the curve edge. </dl><dl compact><dt><b>See also: </b><dd><a class="el" href="class_hfshape.html">HFShape</a> </dl></div><a name="a3" doxytag="HFPolygon::AddStraightLine"><p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>void HFPolygon::AddStraightLine (int <em>dx</em>, int <em>dy</em>)</b></td></tr></table></a><div class="in"><p>Creates a polygon that allows points to be added.<p><dl compact><dt><b>Parameters: </b><dd><em>dx</em> - The x coordinate of the new vertex. <dd><em>dy</em> - The y coordinate of the new vertex. </dl><dl compact><dt><b>See also: </b><dd><a class="el" href="class_hfshape.html">HFShape</a> </dl></div><a name="a4" doxytag="HFPolygon::~HFPolygon"><p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>HFPolygon::~HFPolygon ()</b></td></tr></table></a><div class="in"><p><p></div><a name="a5" doxytag="HFPolygon::CreateFShape"><p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b><a class="el" href="class_fshape.html">FShape</a> * HFPolygon::CreateFShape ()</b></td></tr></table></a><div class="in"><p>Creates a polygon that allows points to be added.<p><dl compact><dt><b>Returns: </b><dd>A <a class="el" href="class_fshape.html">FShape</a> object of the Polygon - used by the font system. </dl><dl compact><dt><b>See also: </b><dd><a class="el" href="class_hfshape.html">HFShape</a> </dl></div><a name="a6" doxytag="HFPolygon::AddToObjectList"><p><table width=100%% cellpadding=2 cellspacing=0 border=0><tr><td class="md"><b>void HFPolygon::AddToObjectList (std::list<FObj *>* <em>objList</em>, <a class="el" href="class_hfmovie.html">HFMovie</a> * <em>movie</em>)<code> [virtual]</code></b></td></tr></table></a><div class="in"><p><p><p>Reimplemented from <a class="el" href="class_hfobject.html#a4">HFObject</a>.</div><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="HFPolygon.h.html">HFPolygon.h</a></ul><html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./footer_files/filelist.xml">
<title>Sunday, September 26, 1999</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>michael</o:Author>
<o:LastAuthor>michael</o:LastAuthor>
<o:Revision>5</o:Revision>
<o:TotalTime>18</o:TotalTime>
<o:Created>1999-09-27T06:04:00Z</o:Created>
<o:LastSaved>1999-09-28T21:56:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>9</o:Words>
<o:Characters>56</o:Characters>
<o:Company>Middlesoft</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>68</o:CharactersWithSpaces>
<o:Version>9.2720</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.2in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:black;
mso-bidi-language:HE;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
{margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.2in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
tab-stops:center 3.0in right 6.0in;
background:#333399;
border:none;
mso-border-alt:solid windowtext .5pt;
padding:0in;
mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt;
font-size:10.0pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:white;
mso-bidi-language:HE;
font-weight:bold;
mso-bidi-font-weight:normal;}
p.MsoBlockText, li.MsoBlockText, div.MsoBlockText
{margin-top:0in;
margin-right:1.0in;
margin-bottom:6.0pt;
margin-left:1.0in;
mso-pagination:widow-orphan;
font-size:10.0pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
mso-bidi-language:HE;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<div style='border:solid windowtext .5pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;
background:#333399'>
<p class=MsoFooter align=center style='margin-right:82.5pt;text-align:center;
tab-stops:.5in'><span style='background:#333399'>Sunday, September 26, 1999<span
style='mso-tab-count:2'>牋牋牋牋牋牋牋牋
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -