Sophie

Sophie

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

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::WPaintDevice 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_1WPaintDevice.html">WPaintDevice</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WPaintDevice 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::WPaintDevice" -->
<p>The abstract base class for a paint device.  
 <a href="classWt_1_1WPaintDevice.html#details">More...</a></p>

<p><code>#include &lt;Wt/WPaintDevice&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WPaintDevice:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WPaintDevice__inherit__graph.png" border="0" usemap="#Wt_1_1WPaintDevice_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WPaintDevice_inherit__map" id="Wt_1_1WPaintDevice_inherit__map">
<area shape="rect" href="classWt_1_1WCanvasPaintDevice.html" title="A paint device for rendering using the HTML 5 &lt;canvas&gt; element." alt="" coords="5,80,173,107"/><area shape="rect" href="classWt_1_1WPdfImage.html" title="A paint device for rendering to a PDF." alt="" coords="197,80,309,107"/><area shape="rect" href="classWt_1_1WRasterImage.html" title="A paint device for rendering to a raster image." alt="" coords="333,80,464,107"/><area shape="rect" href="classWt_1_1WVectorImage.html" title="An abstract paint device for rendering using native vector graphics." alt="" coords="488,80,619,107"/><area shape="rect" href="classWt_1_1WSvgImage.html" title="A paint device for rendering using Scalable Vector Graphics (SVG)." alt="" coords="425,155,540,181"/><area shape="rect" href="classWt_1_1WVmlImage.html" title="A paint device for rendering using the VML pseudo&#45;standard." alt="" coords="564,155,681,181"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WPaintDevice-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1">ChangeFlag</a> { <br/>
&#160;&#160;<a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1a5115beca6c99c7926b34aa1497ee7ccb">Pen</a> =  0x1, 
<a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1a794b5f529f07d07aeda7d3efcf0d2a3c">Brush</a> =  0x2, 
<a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1a6fbbb5b0f6fd27292f8c9f6205551a03">Font</a> =  0x4, 
<a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1aedd545e238e65eb64dd635e04a964876">Hints</a> =  0x8, 
<br/>
&#160;&#160;<a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1a9e4822cf50f25dac9f08bbc6c87ed794">Transform</a> =  0x10, 
<a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1a5c823e2787166e516c3def8821a42936">Clipping</a> =  0x20, 
<a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1afb1b79f7df6cc8b064a3ff29833215e2">Shadow</a> =  0x40
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration to communicate painter state changes.  <a href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a03b5b2abb109568cc60b2d6ec595ad0b">FeatureFlag</a> { <a class="el" href="classWt_1_1WPaintDevice.html#a03b5b2abb109568cc60b2d6ec595ad0ba30d3e6a00426a99694cbfd91a0d79b7a">CanWordWrap</a> =  0x1, 
<a class="el" href="classWt_1_1WPaintDevice.html#a03b5b2abb109568cc60b2d6ec595ad0ba1282d32fe34ffb78a244f4817cdc7c76">HasFontMetrics</a> =  0x2
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration to indicate paint device features.  <a href="classWt_1_1WPaintDevice.html#a03b5b2abb109568cc60b2d6ec595ad0b">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">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a239035e9459e17407da0c8e2d28715bd">~WPaintDevice</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a239035e9459e17407da0c8e2d28715bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6707a455925867af81393e8307f0879d"></a><!-- doxytag: member="Wt::WPaintDevice::features" ref="a6707a455925867af81393e8307f0879d" args="() const =0" -->
virtual WFlags&lt; <a class="el" href="classWt_1_1WPaintDevice.html#a03b5b2abb109568cc60b2d6ec595ad0b">FeatureFlag</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a6707a455925867af81393e8307f0879d">features</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns device features. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a9a0d38acb408d4520d0dd520c93d47e0">width</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the device width.  <a href="#a9a0d38acb408d4520d0dd520c93d47e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a24c7e1363440e6994b44381ebf443157">height</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the device height.  <a href="#a24c7e1363440e6994b44381ebf443157"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#ab3a4c9799e46ab66c0f6cb4182e9cb72">setChanged</a> (WFlags&lt; <a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1">ChangeFlag</a> &gt; flags)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates changes in painter state.  <a href="#ab3a4c9799e46ab66c0f6cb4182e9cb72"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a605316797b1aa4be60c24d95fc5a1ab4">drawArc</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;rect, double startAngle, double spanAngle)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an arc.  <a href="#a605316797b1aa4be60c24d95fc5a1ab4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#af92ff3c6d2f5c351c6931306d9cc1162">drawImage</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;rect, const std::string &amp;imageUri, int imgWidth, int imgHeight, const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;sourceRect)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an image.  <a href="#af92ff3c6d2f5c351c6931306d9cc1162"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#abd267ca3adb6c394079042810864ac9a">drawLine</a> (double x1, double y1, double x2, double y2)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line.  <a href="#abd267ca3adb6c394079042810864ac9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#ab3c368b79fef8bc53681821610dd2077">drawPath</a> (const <a class="el" href="classWt_1_1WPainterPath.html">WPainterPath</a> &amp;path)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a path.  <a href="#ab3c368b79fef8bc53681821610dd2077"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#adfcb1566a4c765d0ff1575cc3f6be31d">drawText</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;rect, WFlags&lt; <a class="el" href="namespaceWt.html#ab8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> &gt; alignmentFlags, <a class="el" href="namespaceWt.html#a3bf85f6b385349dadfa7e205a39ec419">TextFlag</a> textFlag, const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws text.  <a href="#adfcb1566a4c765d0ff1575cc3f6be31d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WTextItem.html">WTextItem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a21d005287f1973348357e089d6d18df1">measureText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text, double maxWidth=-1, bool wordWrap=false)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Measures rendered text size.  <a href="#a21d005287f1973348357e089d6d18df1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WFontMetrics.html">WFontMetrics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a468ec8684106f8e24b3c46876ee86ff7">fontMetrics</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns font metrics.  <a href="#a468ec8684106f8e24b3c46876ee86ff7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a04d6f9e0653a9785662c1e987b597cc6">init</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the device for painting.  <a href="#a04d6f9e0653a9785662c1e987b597cc6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a75827be2076716985533dbc75dfdc512">done</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finishes painting on the device.  <a href="#a75827be2076716985533dbc75dfdc512"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a7dc74a2c7c98e38c7851277313d313f6">paintActive</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether painting is active.  <a href="#a7dc74a2c7c98e38c7851277313d313f6"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WPainter.html">WPainter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#ae1c75c6bc0e5a2d6322b176f6f13403c">painter</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the painter that is currently painting on the device.  <a href="#ae1c75c6bc0e5a2d6322b176f6f13403c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ac85385056ee15548f50f0ba4f94837"></a><!-- doxytag: member="Wt::WPaintDevice::setPainter" ref="a8ac85385056ee15548f50f0ba4f94837" args="(WPainter *painter)=0" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPaintDevice.html#a8ac85385056ee15548f50f0ba4f94837">setPainter</a> (<a class="el" href="classWt_1_1WPainter.html">WPainter</a> *painter)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the painter. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The abstract base class for a paint device. </p>
<p>A WPaintDevice is a device on which may be painted using a <a class="el" href="classWt_1_1WPainter.html" title="Vector graphics painting class.">WPainter</a>. You should never paint directly on a paint device.</p>
<p>The device defines the size of the drawing area, using <a class="el" href="classWt_1_1WPaintDevice.html#a9a0d38acb408d4520d0dd520c93d47e0" title="Returns the device width.">width()</a> and <a class="el" href="classWt_1_1WPaintDevice.html#a24c7e1363440e6994b44381ebf443157" title="Returns the device height.">height()</a>. These dimensions must be defined in pixel units. In the future, additional information will be included to convert these pixel units to lengths (using DPI information).</p>
<p>You should reimplement this class if you wish to extend the Wt paint system to paint on other devices than the ones provided by the library.</p>
<p><em>Note: this interface is subject to changes to increase optimization possibilities for the painting using different devices.</em></p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainter.html" title="Vector graphics painting class.">WPainter</a> </dd></dl>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1"></a><!-- doxytag: member="Wt::WPaintDevice::ChangeFlag" ref="a1a2feafa01212eba9ad6c7b484ad8da1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1">Wt::WPaintDevice::ChangeFlag</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumeration to communicate painter state changes. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPaintDevice.html#ab3a4c9799e46ab66c0f6cb4182e9cb72" title="Indicates changes in painter state.">setChanged(WFlags&lt;ChangeFlag&gt;)</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1a5115beca6c99c7926b34aa1497ee7ccb"></a><!-- doxytag: member="Pen" ref="a1a2feafa01212eba9ad6c7b484ad8da1a5115beca6c99c7926b34aa1497ee7ccb" args="" -->Pen</em>&nbsp;</td><td>
<p>Properties of the pen have changed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1a794b5f529f07d07aeda7d3efcf0d2a3c"></a><!-- doxytag: member="Brush" ref="a1a2feafa01212eba9ad6c7b484ad8da1a794b5f529f07d07aeda7d3efcf0d2a3c" args="" -->Brush</em>&nbsp;</td><td>
<p>Properties of the brush have changed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1a6fbbb5b0f6fd27292f8c9f6205551a03"></a><!-- doxytag: member="Font" ref="a1a2feafa01212eba9ad6c7b484ad8da1a6fbbb5b0f6fd27292f8c9f6205551a03" args="" -->Font</em>&nbsp;</td><td>
<p>Properties of the font have changed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1aedd545e238e65eb64dd635e04a964876"></a><!-- doxytag: member="Hints" ref="a1a2feafa01212eba9ad6c7b484ad8da1aedd545e238e65eb64dd635e04a964876" args="" -->Hints</em>&nbsp;</td><td>
<p>Some render hints have changed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1a9e4822cf50f25dac9f08bbc6c87ed794"></a><!-- doxytag: member="Transform" ref="a1a2feafa01212eba9ad6c7b484ad8da1a9e4822cf50f25dac9f08bbc6c87ed794" args="" -->Transform</em>&nbsp;</td><td>
<p>The transformation has changed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1a5c823e2787166e516c3def8821a42936"></a><!-- doxytag: member="Clipping" ref="a1a2feafa01212eba9ad6c7b484ad8da1a5c823e2787166e516c3def8821a42936" args="" -->Clipping</em>&nbsp;</td><td>
<p>The clipping has changed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1a2feafa01212eba9ad6c7b484ad8da1afb1b79f7df6cc8b064a3ff29833215e2"></a><!-- doxytag: member="Shadow" ref="a1a2feafa01212eba9ad6c7b484ad8da1afb1b79f7df6cc8b064a3ff29833215e2" args="" -->Shadow</em>&nbsp;</td><td>
<p>Properties of the shadow have changed. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a03b5b2abb109568cc60b2d6ec595ad0b"></a><!-- doxytag: member="Wt::WPaintDevice::FeatureFlag" ref="a03b5b2abb109568cc60b2d6ec595ad0b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classWt_1_1WPaintDevice.html#a03b5b2abb109568cc60b2d6ec595ad0b">Wt::WPaintDevice::FeatureFlag</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumeration to indicate paint device features. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPaintDevice.html#a6707a455925867af81393e8307f0879d" title="Returns device features.">features()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a03b5b2abb109568cc60b2d6ec595ad0ba30d3e6a00426a99694cbfd91a0d79b7a"></a><!-- doxytag: member="CanWordWrap" ref="a03b5b2abb109568cc60b2d6ec595ad0ba30d3e6a00426a99694cbfd91a0d79b7a" args="" -->CanWordWrap</em>&nbsp;</td><td>
<p>Implements <a class="el" href="classWt_1_1WPaintDevice.html#adfcb1566a4c765d0ff1575cc3f6be31d" title="Draws text.">drawText()</a> with <a class="el" href="namespaceWt.html#a3bf85f6b385349dadfa7e205a39ec419a36912d9e100603a94461d4b3b8ac9e85" title="Lines will break at word boundaries.">Wt::TextWordWrap</a>. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a03b5b2abb109568cc60b2d6ec595ad0ba1282d32fe34ffb78a244f4817cdc7c76"></a><!-- doxytag: member="HasFontMetrics" ref="a03b5b2abb109568cc60b2d6ec595ad0ba1282d32fe34ffb78a244f4817cdc7c76" args="" -->HasFontMetrics</em>&nbsp;</td><td>
<p>Implements <a class="el" href="classWt_1_1WPaintDevice.html#a468ec8684106f8e24b3c46876ee86ff7" title="Returns font metrics.">fontMetrics()</a> and <a class="el" href="classWt_1_1WPaintDevice.html#a21d005287f1973348357e089d6d18df1" title="Measures rendered text size.">measureText()</a> </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a239035e9459e17407da0c8e2d28715bd"></a><!-- doxytag: member="Wt::WPaintDevice::~WPaintDevice" ref="a239035e9459e17407da0c8e2d28715bd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::WPaintDevice::~WPaintDevice </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>Frees all resources associated with this device. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a75827be2076716985533dbc75dfdc512"></a><!-- doxytag: member="Wt::WPaintDevice::done" ref="a75827be2076716985533dbc75dfdc512" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::done </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finishes painting on the device. </p>
<p>This method is called when a <a class="el" href="classWt_1_1WPainter.html" title="Vector graphics painting class.">WPainter</a> stopped painting.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainter.html#a50beb0c8cb77c12e2dee807e4fe4bcb4" title="Ends painting.">WPainter::end()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a0b90c88a78d6b5aca5bcae704564a1bd">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a9b460b1dbf35675a4a43c377682f4989">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a9dac09bd538e107a2808effbdd42a0c2">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#af5d71bb7c6dd867a94ecf5f4b745998d">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#aca56f985764bb1329194fca36fe7d9d7">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="a605316797b1aa4be60c24d95fc5a1ab4"></a><!-- doxytag: member="Wt::WPaintDevice::drawArc" ref="a605316797b1aa4be60c24d95fc5a1ab4" args="(const WRectF &amp;rect, double startAngle, double spanAngle)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::drawArc </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</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><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an arc. </p>
<p>The arc is defined as in <a class="el" href="classWt_1_1WPainter.html#aa79220ed9456f67a393009e5c5eea27e" title="Draws an arc.">WPainter::drawArc(const WRectF&amp; rectangle, int startAngle, int spanAngle)</a></p>
<p>The arc must be stroked, filled, and transformed using the current painter settings. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a478e01406f34497731a24a5f173be340">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#af3663ee7373f3be11fdcb5a991bfdad8">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#afd7b970580c7433fe58ec157d273d824">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#a5ce1b5b6b4c2607c0d461c4347e1f373">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#ab05d4750a70245abd57e8445ba60be87">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="af92ff3c6d2f5c351c6931306d9cc1162"></a><!-- doxytag: member="Wt::WPaintDevice::drawImage" ref="af92ff3c6d2f5c351c6931306d9cc1162" args="(const WRectF &amp;rect, const std::string &amp;imageUri, int imgWidth, int imgHeight, const WRectF &amp;sourceRect)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::drawImage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>imageUri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>imgWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>imgHeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;&#160;</td>
          <td class="paramname"><em>sourceRect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an image. </p>
<p>Draws <em>sourceRect</em> from the image with URL <code>imageUri</code> and original dimensions <em>imgWidth</em> and <code>imgHeight</code> to the location, into the rectangle defined by <code>rect</code>.</p>
<p>The image is transformed using the current painter settings. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#ac3bc4dd8a8085c2d85113a90a59a1774">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a4d87e6c8d6132a9b4a077d171b8bdeb4">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a856da1392335f90675d3d110c90a8e02">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#a011ff1caec6097d318a05c7153c3440b">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#aa39e9778fd0fa5590cf260a2c05f2bc1">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="abd267ca3adb6c394079042810864ac9a"></a><!-- doxytag: member="Wt::WPaintDevice::drawLine" ref="abd267ca3adb6c394079042810864ac9a" args="(double x1, double y1, double x2, double y2)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::drawLine </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a line. </p>
<p>The line must be stroked and transformed using the current painter settings. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a4d350a7e2c59500222cdf782f3bb4042">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a6ae45a8f4d44be9d935a9ae4b9c7ec3a">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#adaeba36845c9772efc195a88a53584a6">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#ae10a371dd76345d825fc4d48fc85a4fd">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#a5b9e6dd443df585739e592d9c44c33a7">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="ab3c368b79fef8bc53681821610dd2077"></a><!-- doxytag: member="Wt::WPaintDevice::drawPath" ref="ab3c368b79fef8bc53681821610dd2077" args="(const WPainterPath &amp;path)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::drawPath </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><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a path. </p>
<p>The path must be stroked, filled, and transformed using the current painter settings. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#adca51e1ebd4dc3b2a2acbe40b439caa7">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#ad90e19e0dd8ead44c0a43c136b8b5a47">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a7f76614002d01f2fce87b9fd5097009e">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#a79b27f0948676ac4045ecbabf4f9e9c1">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#abac40c8efa9451f316dbb8833ccd4fe6">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="adfcb1566a4c765d0ff1575cc3f6be31d"></a><!-- doxytag: member="Wt::WPaintDevice::drawText" ref="adfcb1566a4c765d0ff1575cc3f6be31d" args="(const WRectF &amp;rect, WFlags&lt; AlignmentFlag &gt; alignmentFlags, TextFlag textFlag, const WString &amp;text)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::drawText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&lt; <a class="el" href="namespaceWt.html#ab8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> &gt;&#160;</td>
          <td class="paramname"><em>alignmentFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a3bf85f6b385349dadfa7e205a39ec419">TextFlag</a>&#160;</td>
          <td class="paramname"><em>textFlag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws text. </p>
<p>The text must be rendered, stroked and transformed using the current painter settings. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#adbe686c93ef3ae59159826a10e17b2ba">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#ad4f444094781864473dcc1c8fe1970c7">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a5a650e6997b4bc04e76c48c804b9b1b1">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#a5a88f4dc2f02a5e2be4e7aa5866c647b">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#ac90f382c6b58f1f062617cc4b6148b98">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="a468ec8684106f8e24b3c46876ee86ff7"></a><!-- doxytag: member="Wt::WPaintDevice::fontMetrics" ref="a468ec8684106f8e24b3c46876ee86ff7" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WFontMetrics.html">WFontMetrics</a> Wt::WPaintDevice::fontMetrics </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns font metrics. </p>
<p>This returns font metrics for the current font.</p>
<p>Throws a std::logic_error if the underlying device does not provide font metrics. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a6da04f3125bee877b11286620e04c94d">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a283cc4dc160b404c051e48e2b8c89f2b">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a10e130d629f8a46f3245aaa89d3d2005">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#af66299905a91b247702f4dfc8ddace01">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#ae733ead18d338b78e8a0abaddcd11200">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="a24c7e1363440e6994b44381ebf443157"></a><!-- doxytag: member="Wt::WPaintDevice::height" ref="a24c7e1363440e6994b44381ebf443157" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WPaintDevice::height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the device height. </p>
<p>The device height, in pixels, establishes the height of the device coordinate system. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a172fc6977e598044e9bbc263b6599c81">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#aa04944c08a0995ff2eaa42c5bd431de6">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#af8655b3ac955b1e87e64a4db7912a03b">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#a7ff7e0a42f773b43f7160f3c7abbee6f">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#a22c372a363aaa329cf27c55fcc45ce5f">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="a04d6f9e0653a9785662c1e987b597cc6"></a><!-- doxytag: member="Wt::WPaintDevice::init" ref="a04d6f9e0653a9785662c1e987b597cc6" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes the device for painting. </p>
<p>This method is called when a <a class="el" href="classWt_1_1WPainter.html" title="Vector graphics painting class.">WPainter</a> starts painting.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPainter.html#a6b81663b5599f0736ae5099ac7325d44" title="Begins painting on a paint device.">WPainter::begin(WPaintDevice *)</a>, <a class="el" href="classWt_1_1WPaintDevice.html#ae1c75c6bc0e5a2d6322b176f6f13403c" title="Returns the painter that is currently painting on the device.">painter()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a0ff5e4c7ce2c9baea108d4f728099672">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a8b04b69af81e9f8e6294ac52612aa2e0">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#ad0333d7b9933ced6929d1482f8320fb5">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#abf398b5c8a8ae39af1368c647d58d37c">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#aeac96ec7f8cc39297a742f6ec27cdcbc">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="a21d005287f1973348357e089d6d18df1"></a><!-- doxytag: member="Wt::WPaintDevice::measureText" ref="a21d005287f1973348357e089d6d18df1" args="(const WString &amp;text, double maxWidth=&#45;1, bool wordWrap=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WTextItem.html">WTextItem</a> Wt::WPaintDevice::measureText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxWidth</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>wordWrap</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Measures rendered text size. </p>
<p>Returns the bounding rect of the given text when rendered using the current font.</p>
<p>If <code>maxWidth</code> != -1, then the text is truncated to fit in the width.</p>
<p>If <code>wordWrap</code> = <code>true</code> then text is truncated only at word boundaries. Note that in this case the whitespace at the truncated position is included in the text but not accounted for by the returned width (since usually you will not render the whitespace at the end of a line).</p>
<p>Throws a std::logic_error if the underlying device does not provide font metrics. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a3a2028ecbc36e14670f2f467e97822e0">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#ad4255009a186572744ee9ac9a5fba1c2">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a3a3a5bdf8997895db4703213b40bf7ff">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#af2303384f7b6c0347e605ad29d5d60df">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#a73b7c31cdae30c63ccadf30f3207f33d">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="a7dc74a2c7c98e38c7851277313d313f6"></a><!-- doxytag: member="Wt::WPaintDevice::paintActive" ref="a7dc74a2c7c98e38c7851277313d313f6" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WPaintDevice::paintActive </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether painting is active. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPaintDevice.html#a04d6f9e0653a9785662c1e987b597cc6" title="Initializes the device for painting.">init()</a>, <a class="el" href="classWt_1_1WPaintDevice.html#ae1c75c6bc0e5a2d6322b176f6f13403c" title="Returns the painter that is currently painting on the device.">painter()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a289544df08b2d7164a4d968e9804bc89">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#acf75d51af5965dfa9f06c8bdab084c5a">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#aeadc4934d16507d660ad8b95e4ad407a">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#ac8d01132ac5c9f4c64199f9090198bb3">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#a0dd0860fb63b4595d29a6762bf6b9495">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="ae1c75c6bc0e5a2d6322b176f6f13403c"></a><!-- doxytag: member="Wt::WPaintDevice::painter" ref="ae1c75c6bc0e5a2d6322b176f6f13403c" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WPainter.html">WPainter</a>* Wt::WPaintDevice::painter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the painter that is currently painting on the device. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPaintDevice.html#a04d6f9e0653a9785662c1e987b597cc6" title="Initializes the device for painting.">init()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a0ccbbad3ceaad9c0cfd9abcb32ee0b64">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a626f46e6b7cac223224c72bf3684b61d">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a674990e3990d86462436b2ac01df6baf">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#a3ab402eb63ef076141bf6e84a7bccffe">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#abc195c5bedbfda6102c4c894dce4b506">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="ab3a4c9799e46ab66c0f6cb4182e9cb72"></a><!-- doxytag: member="Wt::WPaintDevice::setChanged" ref="ab3a4c9799e46ab66c0f6cb4182e9cb72" args="(WFlags&lt; ChangeFlag &gt; flags)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WPaintDevice::setChanged </td>
          <td>(</td>
          <td class="paramtype">WFlags&lt; <a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1">ChangeFlag</a> &gt;&#160;</td>
          <td class="paramname"><em>flags</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indicates changes in painter state. </p>
<p>The <code>flags</code> argument is the logical OR of one or more change flags.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WPaintDevice.html#a1a2feafa01212eba9ad6c7b484ad8da1" title="Enumeration to communicate painter state changes.">ChangeFlag</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a6d17905ce2d0d0930d6597f7c5ab050e">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a7d61c2108242fc61ecdc14c42a50443f">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#a9716e255c443f13d4845799f2ddadf67">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#ae4e57cdf94ce6f26b95650bd6170d540">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#aa8c6031722369b629abaed4833640960">Wt::WVmlImage</a>.</p>

</div>
</div>
<a class="anchor" id="a9a0d38acb408d4520d0dd520c93d47e0"></a><!-- doxytag: member="Wt::WPaintDevice::width" ref="a9a0d38acb408d4520d0dd520c93d47e0" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WPaintDevice::width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the device width. </p>
<p>The device width, in pixels, establishes the width of the device coordinate system. </p>

<p>Implemented in <a class="el" href="classWt_1_1WPdfImage.html#a3f035d8dbf510e084bf68e49d8e73bff">Wt::WPdfImage</a>, <a class="el" href="classWt_1_1WRasterImage.html#a007f7f513d23ffe9c24947462780dcc5">Wt::WRasterImage</a>, <a class="el" href="classWt_1_1WSvgImage.html#aee03b670ef9fb624e4393a9ef55005d3">Wt::WSvgImage</a>, <a class="el" href="classWt_1_1WCanvasPaintDevice.html#ac4842f320acd9eaf7b6335e95b41e8d7">Wt::WCanvasPaintDevice</a>, and <a class="el" href="classWt_1_1WVmlImage.html#ab0f915f7ee84ab54ddbaba46988195ed">Wt::WVmlImage</a>.</p>

</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>