Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 1951

wt-doc-3.2.3-1.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt: Wt::WPainterPath Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WPainterPath Class Reference<div class="ingroups"><a class="el" href="group__painting.html">Painting system</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WPainterPath" -->
<p>A path defining a shape.  
 <a href="classWt_1_1WPainterPath.html#details">More...</a></p>

<p><code>#include &lt;Wt/WPainterPath&gt;</code></p>

<p><a href="classWt_1_1WPainterPath-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath_1_1Segment.html">Segment</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A segment.  <a href="classWt_1_1WPainterPath_1_1Segment.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#ace0add71a1ebc8b45a821aa8d70d3e3f">WPainterPath</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#ace0add71a1ebc8b45a821aa8d70d3e3f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a364b46c7a45bcb18e235ec0b41268a15">WPainterPath</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;startPoint)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new path, and set the initial position.  <a href="#a364b46c7a45bcb18e235ec0b41268a15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abea96512cd12bc8630f81b2ed91deb80"></a><!-- doxytag: member="Wt::WPainterPath::WPainterPath" ref="abea96512cd12bc8630f81b2ed91deb80" args="(const WPainterPath &amp;path)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#abea96512cd12bc8630f81b2ed91deb80">WPainterPath</a> (const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9efa54a1626d775bc208bf3caef10db"></a><!-- doxytag: member="Wt::WPainterPath::operator=" ref="ab9efa54a1626d775bc208bf3caef10db" args="(const WPainterPath &amp;path)" -->
<a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#ab9efa54a1626d775bc208bf3caef10db">operator=</a> (const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WPointF.html">WPointF</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a7022e9937045d3da2b5e54a875b33003">currentPosition</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current position.  <a href="#a7022e9937045d3da2b5e54a875b33003"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#adffb5d532acabefc8f885da5d531907b">isEmpty</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the path is empty.  <a href="#adffb5d532acabefc8f885da5d531907b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a52e236ff7c41d05e1b29b0dcb2b1059c">operator==</a> (const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;path) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator.  <a href="#a52e236ff7c41d05e1b29b0dcb2b1059c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#accbaa725ccfc0291695b4f47b5b58923">operator!=</a> (const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;path) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator.  <a href="#accbaa725ccfc0291695b4f47b5b58923"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a9db15664f1cea3f12a2c7ab1337a343b">closeSubPath</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the last sub path.  <a href="#a9db15664f1cea3f12a2c7ab1337a343b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a9801a3988b2a57c412ba175142d2e3ff">moveTo</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;point)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves the current position to a new location.  <a href="#a9801a3988b2a57c412ba175142d2e3ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a2cdd1952ade53cc4b2f2a0146fc8c00f">moveTo</a> (double x, double y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves the current position to a new location.  <a href="#a2cdd1952ade53cc4b2f2a0146fc8c00f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#ac52bacd9bb3b07043e56be2af56f7f66">lineTo</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;point)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a straight line.  <a href="#ac52bacd9bb3b07043e56be2af56f7f66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#aafdba97cf01c017fa9e8f18169c7a205">lineTo</a> (double x, double y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a straight line.  <a href="#aafdba97cf01c017fa9e8f18169c7a205"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#ac5a13ec3faf642cd05a57988366e005f">cubicTo</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;c1, const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;c2, const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;endPoint)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a cubic bezier curve.  <a href="#ac5a13ec3faf642cd05a57988366e005f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#ad751c7f66795ecdbe1fc7098dc11977b">cubicTo</a> (double c1x, double c1y, double c2x, double c2y, double endPointx, double endPointy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a cubic bezier curve.  <a href="#ad751c7f66795ecdbe1fc7098dc11977b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#aa32b8c9d89712a5cad37325cbba099c0">arcTo</a> (double cx, double cy, double radius, double startAngle, double spanAngle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an arc.  <a href="#aa32b8c9d89712a5cad37325cbba099c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a6e4d29695685a08198be2c2dff53e49c">arcMoveTo</a> (double cx, double cy, double radius, double angle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves to a point on an arc.  <a href="#a6e4d29695685a08198be2c2dff53e49c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a366810aa107d35409f9fbd33b8e91dbb">arcMoveTo</a> (double x, double y, double width, double height, double angle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Move to a point on an arc.  <a href="#a366810aa107d35409f9fbd33b8e91dbb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a5cf7125271a74e15a52db05876b8c878">quadTo</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;c, const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;endPoint)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a quadratic bezier curve.  <a href="#a5cf7125271a74e15a52db05876b8c878"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a2eaf3d30b6cf1590a3f368b8b94d49ca">quadTo</a> (double cx, double cy, double endPointx, double endPointy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a quadratic bezier curve.  <a href="#a2eaf3d30b6cf1590a3f368b8b94d49ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#ae8783aad1c538e0180b2323a3a926999">addEllipse</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;boundingRectangle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an ellipse.  <a href="#ae8783aad1c538e0180b2323a3a926999"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a3dadfaa8235becb01221431d1f1a97d6">addEllipse</a> (double x, double y, double width, double height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an ellipse.  <a href="#a3dadfaa8235becb01221431d1f1a97d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a52f1c2008c15cd133e8fb405d8b0466b">addRect</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;rectangle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle.  <a href="#a52f1c2008c15cd133e8fb405d8b0466b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#ab5b658698acf7a87948e7c0adf6c1151">addRect</a> (double x, double y, double width, double height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle.  <a href="#ab5b658698acf7a87948e7c0adf6c1151"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a8f2e9933f699b967fe5776c98080a410">addPath</a> (const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a path.  <a href="#a8f2e9933f699b967fe5776c98080a410"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#a7a5d7f8d62eda600ab05926c8f8014be">connectPath</a> (const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;path)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a path, connecting.  <a href="#a7a5d7f8d62eda600ab05926c8f8014be"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WRectF.html">WRectF</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPainterPath.html#af6e2a0f62de0d824fcba50cb035c9d5c">controlPointRect</a> (const <a class="el" href="classWt_1_1WTransform.html">WTransform</a> &amp;transform=<a class="el" href="classWt_1_1WTransform.html#a32281880ff4f50a1aa6b07477f779da0">WTransform::Identity</a>) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the bounding box of the control points.  <a href="#af6e2a0f62de0d824fcba50cb035c9d5c"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A path defining a shape. </p>
<p>A painter path represents a (complex) path that may be composed of lines, arcs and bezier curve segments, and painted onto a paint device using <a class="el" href="classWt_1_1WPainter.html#a2ef57868d6fbf99a901cbe1f29723b50" title="Draws a (complex) path.">WPainter::drawPath()</a>.</p>
<p>The path that is composed in a painter path may consist of multiple closed sub-paths. Only the last sub-path can be left open.</p>
<p>To compose a path, this class maintains a current position, which is the starting point for the next drawing operation. An operation may draw a line (see <a class="el" href="classWt_1_1WPainterPath.html#ac52bacd9bb3b07043e56be2af56f7f66" title="Draws a straight line.">lineTo()</a>), arc (see <a class="el" href="classWt_1_1WPainterPath.html#aa32b8c9d89712a5cad37325cbba099c0" title="Draws an arc.">arcTo()</a>), or bezier curve (see <a class="el" href="classWt_1_1WPainterPath.html#a5cf7125271a74e15a52db05876b8c878" title="Draws a quadratic bezier curve.">quadTo()</a> and <a class="el" href="classWt_1_1WPainterPath.html#ac5a13ec3faf642cd05a57988366e005f" title="Draws a cubic bezier curve.">cubicTo()</a>) from the current position to a new position. A new sub path may be started by moving the current position to a new location (see <a class="el" href="classWt_1_1WPainterPath.html#a9801a3988b2a57c412ba175142d2e3ff" title="Moves the current position to a new location.">moveTo()</a>), which automatically closes the previous sub path.</p>
<p>When sub paths overlap, the result is undefined (it is dependent on the underlying painting device).</p>
<p>Usage example: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WPainter.html" title="Vector graphics painting class.">Wt::WPainter</a> painter(...);

 <a class="code" href="classWt_1_1WPainterPath.html" title="A path defining a shape.">Wt::WPainterPath</a> path(<a class="code" href="classWt_1_1WPointF.html" title="A value class that defines a 2D point.">Wt::WPointF</a>(10, 10));
 path.lineTo(10, 20);
 path.lineTo(30, 20);
 path.closeSubPath();

 painter.setPen(<a class="code" href="group__style.html#gga9686ea88ce4db2c0a12ea84452f60133a57462cb05392ee7e39d27e5f66252c42" title="Color red.">Wt::red</a>);
 painter.setBrush(<a class="code" href="group__style.html#gga9686ea88ce4db2c0a12ea84452f60133a0cb88ce2189a8986f24a4409498e490e" title="Color blue.">Wt::blue</a>);
 painter.drawPath(path);
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainter.html#a2ef57868d6fbf99a901cbe1f29723b50" title="Draws a (complex) path.">WPainter::drawPath()</a> </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ace0add71a1ebc8b45a821aa8d70d3e3f"></a><!-- doxytag: member="Wt::WPainterPath::WPainterPath" ref="ace0add71a1ebc8b45a821aa8d70d3e3f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::WPainterPath::WPainterPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>
<p>Creates an empty path, and sets the current position to (0, 0). </p>

</div>
</div>
<a class="anchor" id="a364b46c7a45bcb18e235ec0b41268a15"></a><!-- doxytag: member="Wt::WPainterPath::WPainterPath" ref="a364b46c7a45bcb18e235ec0b41268a15" args="(const WPointF &amp;startPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::WPainterPath::WPainterPath </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>startPoint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct a new path, and set the initial position. </p>
<p>Creates an empty path, and sets the current position to <code>startPoint</code>. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae8783aad1c538e0180b2323a3a926999"></a><!-- doxytag: member="Wt::WPainterPath::addEllipse" ref="ae8783aad1c538e0180b2323a3a926999" args="(const WRectF &amp;boundingRectangle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::addEllipse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;&#160;</td>
          <td class="paramname"><em>boundingRectangle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an ellipse. </p>
<p>This method closes the current sub path, and adds an ellipse that is bounded by the rectangle <code>boundingRectangle</code>.</p>
<p><code>Note:</code> some renderers only support circles (width == height)</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a3dadfaa8235becb01221431d1f1a97d6" title="Draws an ellipse.">addEllipse(double, double, double, double)</a>, <a class="el" href="classWt_1_1WPainterPath.html#aa32b8c9d89712a5cad37325cbba099c0" title="Draws an arc.">arcTo()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3dadfaa8235becb01221431d1f1a97d6"></a><!-- doxytag: member="Wt::WPainterPath::addEllipse" ref="a3dadfaa8235becb01221431d1f1a97d6" args="(double x, double y, double width, double height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::addEllipse </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an ellipse. </p>
<p>This method closes the current sub path, and adds an ellipse that is bounded by the rectangle defined by top left position (<code>x</code>, <em>y</em>), and size <em>width</em> x <code>height</code>.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>Some renderers only support circles (width == height)</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#ae8783aad1c538e0180b2323a3a926999" title="Draws an ellipse.">addEllipse(const WRectF&amp;)</a>, <a class="el" href="classWt_1_1WPainterPath.html#aa32b8c9d89712a5cad37325cbba099c0" title="Draws an arc.">arcTo()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8f2e9933f699b967fe5776c98080a410"></a><!-- doxytag: member="Wt::WPainterPath::addPath" ref="a8f2e9933f699b967fe5776c98080a410" args="(const WPainterPath &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::addPath </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a path. </p>
<p>Adds an entire <code>path</code> to the current path. If the path's begin position is different from the current position, the last sub path is first closed, otherwise the last sub path is extended with the path's first sub path.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a7a5d7f8d62eda600ab05926c8f8014be" title="Adds a path, connecting.">connectPath(const WPainterPath&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a52f1c2008c15cd133e8fb405d8b0466b"></a><!-- doxytag: member="Wt::WPainterPath::addRect" ref="a52f1c2008c15cd133e8fb405d8b0466b" args="(const WRectF &amp;rectangle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::addRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;&#160;</td>
          <td class="paramname"><em>rectangle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a rectangle. </p>
<p>This method closes the current sub path, and adds a rectangle that is defined by <code>rectangle</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#ab5b658698acf7a87948e7c0adf6c1151" title="Draws a rectangle.">addRect(double, double, double, double)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab5b658698acf7a87948e7c0adf6c1151"></a><!-- doxytag: member="Wt::WPainterPath::addRect" ref="ab5b658698acf7a87948e7c0adf6c1151" args="(double x, double y, double width, double height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::addRect </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a rectangle. </p>
<p>This method closes the current sub path, and adds a rectangle that is defined by top left position (<em>x</em>, <code>y</code>), and size <em>width</em> x <code>height</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a52f1c2008c15cd133e8fb405d8b0466b" title="Draws a rectangle.">addRect(const WRectF&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6e4d29695685a08198be2c2dff53e49c"></a><!-- doxytag: member="Wt::WPainterPath::arcMoveTo" ref="a6e4d29695685a08198be2c2dff53e49c" args="(double cx, double cy, double radius, double angle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::arcMoveTo </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Moves to a point on an arc. </p>
<p>Moves to a point on a circle. The circle is defined with center (<em>cx</em>, <em>cy</em>) and <code>radius</code>, and the point is at <code>angle</code> degrees measured counter-clockwise starting from the 3 o'clock position.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#aa32b8c9d89712a5cad37325cbba099c0" title="Draws an arc.">arcTo()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a366810aa107d35409f9fbd33b8e91dbb"></a><!-- doxytag: member="Wt::WPainterPath::arcMoveTo" ref="a366810aa107d35409f9fbd33b8e91dbb" args="(double x, double y, double width, double height, double angle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::arcMoveTo </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Move to a point on an arc. </p>
<p>Moves to a point on an ellipse. The ellipse fits in the rectangle defined by top left position (<code>x</code>, <em>y</em>), and size <em>width</em> x <code>height</code>, and the point is at <code>angle</code> degrees measured counter-clockwise starting from the 3 o'clock position.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#aa32b8c9d89712a5cad37325cbba099c0" title="Draws an arc.">arcTo()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa32b8c9d89712a5cad37325cbba099c0"></a><!-- doxytag: member="Wt::WPainterPath::arcTo" ref="aa32b8c9d89712a5cad37325cbba099c0" args="(double cx, double cy, double radius, double startAngle, double spanAngle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::arcTo </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>startAngle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>spanAngle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an arc. </p>
<p>Draws an arc which is a segment of a circle. The circle is defined with center (<em>cx</em>, <em>cy</em>) and <code>radius</code>. The segment starts at <code>startAngle</code>, and spans an angle given by <code>spanAngle</code>. These angles are expressed in degrees, and are measured counter-clockwise starting from the 3 o'clock position.</p>
<p>Implicitly draws a line from the current position to the start of the arc, if the current position is different from the start.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a6e4d29695685a08198be2c2dff53e49c" title="Moves to a point on an arc.">arcMoveTo()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9db15664f1cea3f12a2c7ab1337a343b"></a><!-- doxytag: member="Wt::WPainterPath::closeSubPath" ref="a9db15664f1cea3f12a2c7ab1337a343b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::closeSubPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Closes the last sub path. </p>
<p>Draws a line from the current position to the start position of the last sub path (which is the end point of the last move operation), and sets the current position to (0, 0). </p>

</div>
</div>
<a class="anchor" id="a7a5d7f8d62eda600ab05926c8f8014be"></a><!-- doxytag: member="Wt::WPainterPath::connectPath" ref="a7a5d7f8d62eda600ab05926c8f8014be" args="(const WPainterPath &amp;path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::connectPath </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a path, connecting. </p>
<p>Adds an entire <code>path</code> to the current path. If the path's begin position is different from the current position, the last sub path is first closed, otherwise the last sub path is extended with the path's first sub path.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a7a5d7f8d62eda600ab05926c8f8014be" title="Adds a path, connecting.">connectPath(const WPainterPath&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af6e2a0f62de0d824fcba50cb035c9d5c"></a><!-- doxytag: member="Wt::WPainterPath::controlPointRect" ref="af6e2a0f62de0d824fcba50cb035c9d5c" args="(const WTransform &amp;transform=WTransform::Identity) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WRectF.html">WRectF</a> Wt::WPainterPath::controlPointRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WTransform.html">WTransform</a> &amp;&#160;</td>
          <td class="paramname"><em>transform</em> = <code><a class="el" href="classWt_1_1WTransform.html#a32281880ff4f50a1aa6b07477f779da0">WTransform::Identity</a></code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the bounding box of the control points. </p>
<p>Returns the bounding box of all control points. This is guaranteed to be a superset of the actual bounding box.</p>
<p>The <code>transform</code> is applied to the path first. </p>

</div>
</div>
<a class="anchor" id="ac5a13ec3faf642cd05a57988366e005f"></a><!-- doxytag: member="Wt::WPainterPath::cubicTo" ref="ac5a13ec3faf642cd05a57988366e005f" args="(const WPointF &amp;c1, const WPointF &amp;c2, const WPointF &amp;endPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::cubicTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>c2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>endPoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a cubic bezier curve. </p>
<p>Draws a cubic bezier curve from the current position to <code>endPoint</code>, which becomes the new current position. The bezier curve uses the two control points <em>c1</em> and <code>c2</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#ad751c7f66795ecdbe1fc7098dc11977b" title="Draws a cubic bezier curve.">cubicTo(double, double, double, double, double, double)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad751c7f66795ecdbe1fc7098dc11977b"></a><!-- doxytag: member="Wt::WPainterPath::cubicTo" ref="ad751c7f66795ecdbe1fc7098dc11977b" args="(double c1x, double c1y, double c2x, double c2y, double endPointx, double endPointy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::cubicTo </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>c1x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>c1y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>c2x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>c2y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>endPointx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>endPointy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a cubic bezier curve. </p>
<p>This is an overloaded method provided for convenience.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#ac5a13ec3faf642cd05a57988366e005f" title="Draws a cubic bezier curve.">cubicTo(const WPointF&amp;, const WPointF&amp;, const WPointF&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7022e9937045d3da2b5e54a875b33003"></a><!-- doxytag: member="Wt::WPainterPath::currentPosition" ref="a7022e9937045d3da2b5e54a875b33003" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> Wt::WPainterPath::currentPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current position. </p>
<p>Returns the current position, which is the end point of the last move or draw operation, and which well be the start point of the next draw operation. </p>

</div>
</div>
<a class="anchor" id="adffb5d532acabefc8f885da5d531907b"></a><!-- doxytag: member="Wt::WPainterPath::isEmpty" ref="adffb5d532acabefc8f885da5d531907b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WPainterPath::isEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the path is empty. </p>
<p>Returns <code>true</code> if the path contains no drawing operations. Note that move operations are not considered drawing operations. </p>

</div>
</div>
<a class="anchor" id="ac52bacd9bb3b07043e56be2af56f7f66"></a><!-- doxytag: member="Wt::WPainterPath::lineTo" ref="ac52bacd9bb3b07043e56be2af56f7f66" args="(const WPointF &amp;point)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::lineTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a straight line. </p>
<p>Draws a straight line from the current position to <code>point</code>, which becomes the new current position.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#aafdba97cf01c017fa9e8f18169c7a205" title="Draws a straight line.">lineTo(double, double)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aafdba97cf01c017fa9e8f18169c7a205"></a><!-- doxytag: member="Wt::WPainterPath::lineTo" ref="aafdba97cf01c017fa9e8f18169c7a205" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::lineTo </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a straight line. </p>
<p>Draws a straight line from the current position to (<code>x</code>, <code>y</code>), which becomes the new current position.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#ac52bacd9bb3b07043e56be2af56f7f66" title="Draws a straight line.">lineTo(const WPointF&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9801a3988b2a57c412ba175142d2e3ff"></a><!-- doxytag: member="Wt::WPainterPath::moveTo" ref="a9801a3988b2a57c412ba175142d2e3ff" args="(const WPointF &amp;point)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::moveTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Moves the current position to a new location. </p>
<p>Moves the current position to a new point, implicitly closing the last sub path.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a9db15664f1cea3f12a2c7ab1337a343b" title="Closes the last sub path.">closeSubPath()</a>, <a class="el" href="classWt_1_1WPainterPath.html#a2cdd1952ade53cc4b2f2a0146fc8c00f" title="Moves the current position to a new location.">moveTo(double, double)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2cdd1952ade53cc4b2f2a0146fc8c00f"></a><!-- doxytag: member="Wt::WPainterPath::moveTo" ref="a2cdd1952ade53cc4b2f2a0146fc8c00f" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::moveTo </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Moves the current position to a new location. </p>
<p>Moves the current position to a new point, implicitly closing the last sub path.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a9db15664f1cea3f12a2c7ab1337a343b" title="Closes the last sub path.">closeSubPath()</a>, <a class="el" href="classWt_1_1WPainterPath.html#a9801a3988b2a57c412ba175142d2e3ff" title="Moves the current position to a new location.">moveTo(const WPointF&amp;)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="accbaa725ccfc0291695b4f47b5b58923"></a><!-- doxytag: member="Wt::WPainterPath::operator!=" ref="accbaa725ccfc0291695b4f47b5b58923" args="(const WPainterPath &amp;path) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WPainterPath::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Comparison operator. </p>
<p>Returns <code>true</code> if the paths are different. </p>

</div>
</div>
<a class="anchor" id="a52e236ff7c41d05e1b29b0dcb2b1059c"></a><!-- doxytag: member="Wt::WPainterPath::operator==" ref="a52e236ff7c41d05e1b29b0dcb2b1059c" args="(const WPainterPath &amp;path) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WPainterPath::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Comparison operator. </p>
<p>Returns <code>true</code> if the paths are exactly the same. </p>

</div>
</div>
<a class="anchor" id="a5cf7125271a74e15a52db05876b8c878"></a><!-- doxytag: member="Wt::WPainterPath::quadTo" ref="a5cf7125271a74e15a52db05876b8c878" args="(const WPointF &amp;c, const WPointF &amp;endPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::quadTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;&#160;</td>
          <td class="paramname"><em>endPoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a quadratic bezier curve. </p>
<p>Draws a quadratic bezier curve from the current position to <code>endPoint</code>, which becomes the new current position. The bezier curve uses the single control point <code>c</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a2eaf3d30b6cf1590a3f368b8b94d49ca" title="Draws a quadratic bezier curve.">quadTo(double, double, double, double)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2eaf3d30b6cf1590a3f368b8b94d49ca"></a><!-- doxytag: member="Wt::WPainterPath::quadTo" ref="a2eaf3d30b6cf1590a3f368b8b94d49ca" args="(double cx, double cy, double endPointx, double endPointy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WPainterPath::quadTo </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>endPointx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>endPointy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a quadratic bezier curve. </p>
<p>This is an overloaded method provided for convenience.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainterPath.html#a5cf7125271a74e15a52db05876b8c878" title="Draws a quadratic bezier curve.">quadTo(const WPointF&amp;, const WPointF&amp;)</a> </dd></dl>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>