Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 76bdad05b5dca2a491582dbec0713d55 > files > 500

libqwt-devel-6.0.1-2.i586.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>Qwt User&#39;s Guide: QwtPlotDirectPainter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Qwt User's Guide&#160;<span id="projectnumber">6.0.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></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="classes.html"><span>Class&#160;Index</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>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtPlotDirectPainter Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtPlotDirectPainter" -->
<p>Painter object trying to paint incrementally.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__plot__directpainter_8h_source.html">qwt_plot_directpainter.h</a>&gt;</code></p>

<p><a href="class_qwt_plot_direct_painter-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="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">Attribute</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934a95bfb017daa98b23665c1de06e8bd8e5">AtomicPainter</a> =  0x01, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934a133cb5ae512ffa0f0633c9d7bd423ff4">FullRepaint</a> =  0x02, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934a8b04f057d6223852a87bdd319dcf4711">CopyBackingStore</a> =  0x04
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef QFlags&lt; <a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">Attribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#a26a66587377067b3bc0539274370693f">Attributes</a></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">QRegion&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#a62f4330f5be1386ef69ed5754aa16678">clipRegion</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#a8db6c5b50478f4e2627f51135486ae40">drawSeries</a> (<a class="el" href="class_qwt_plot_abstract_series_item.html">QwtPlotAbstractSeriesItem</a> *, int from, int to)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#ab421bd757679b61f1dcfde2991500ab2">eventFilter</a> (QObject *, QEvent *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#a8d6b8b273b4e74181cd7ed5fdaf0bb7e">hasClipping</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#af9e6e2056afd4db4c081e4b04d5c9a85">QwtPlotDirectPainter</a> (QObject *parent=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#a895bf1ebfd772a2200dc09bed596cf4d">reset</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#a498b9857a09e399010a3f8bc9c235a8d">setAttribute</a> (<a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">Attribute</a>, bool on)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#ac3d406aada74b7d9202c1017d8347708">setClipping</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#a0c97174b06957f9b20ea295ff403a557">setClipRegion</a> (const QRegion &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#ad48b7706cbba44f91fb9f770e10bcc93">testAttribute</a> (<a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">Attribute</a>) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_direct_painter.html#aab96bfd08e9041c2552210bbd3ee5ad0">~QwtPlotDirectPainter</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Painter object trying to paint incrementally. </p>
<p>Often applications want to display samples while they are collected. When there are too many samples complete replots will be expensive to be processed in a collection cycle.</p>
<p><a class="el" href="class_qwt_plot_direct_painter.html" title="Painter object trying to paint incrementally.">QwtPlotDirectPainter</a> offers an API to paint subsets ( f.e all additions points ) without erasing/repainting the plot canvas.</p>
<p>On certain environments it might be important to calculate a proper clip region before painting. F.e. for Qt Embedded only the clipped part of the backing store will be copied to a ( maybe unaccelerated ) frame buffer.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>Incremental painting will only help when no replot is triggered by another operation ( like changing scales ) and nothing needs to be erased. </dd></dl>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a26a66587377067b3bc0539274370693f"></a><!-- doxytag: member="QwtPlotDirectPainter::Attributes" ref="a26a66587377067b3bc0539274370693f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QFlags&lt;<a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">Attribute</a>&gt; <a class="el" href="class_qwt_plot_direct_painter.html#a26a66587377067b3bc0539274370693f">QwtPlotDirectPainter::Attributes</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Paint attributes. </p>

</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a38f72175526a1a748d311763707cf934"></a><!-- doxytag: member="QwtPlotDirectPainter::Attribute" ref="a38f72175526a1a748d311763707cf934" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">QwtPlotDirectPainter::Attribute</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Paint attributes. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_direct_painter.html#a498b9857a09e399010a3f8bc9c235a8d">setAttribute()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#ad48b7706cbba44f91fb9f770e10bcc93">testAttribute()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a8db6c5b50478f4e2627f51135486ae40" title="Draw a set of points of a seriesItem.">drawSeries()</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="a38f72175526a1a748d311763707cf934a95bfb017daa98b23665c1de06e8bd8e5"></a><!-- doxytag: member="AtomicPainter" ref="a38f72175526a1a748d311763707cf934a95bfb017daa98b23665c1de06e8bd8e5" args="" -->AtomicPainter</em>&nbsp;</td><td>
<p>Initializing a QPainter is an expensive operation. When AtomicPainter is set each call of <a class="el" href="class_qwt_plot_direct_painter.html#a8db6c5b50478f4e2627f51135486ae40" title="Draw a set of points of a seriesItem.">drawSeries()</a> opens/closes a temporary QPainter. Otherwise <a class="el" href="class_qwt_plot_direct_painter.html" title="Painter object trying to paint incrementally.">QwtPlotDirectPainter</a> tries to use the same QPainter as long as possible. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a38f72175526a1a748d311763707cf934a133cb5ae512ffa0f0633c9d7bd423ff4"></a><!-- doxytag: member="FullRepaint" ref="a38f72175526a1a748d311763707cf934a133cb5ae512ffa0f0633c9d7bd423ff4" args="" -->FullRepaint</em>&nbsp;</td><td>
<p>When FullRepaint is set the plot canvas is explicitely repainted after the samples have been rendered. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a38f72175526a1a748d311763707cf934a8b04f057d6223852a87bdd319dcf4711"></a><!-- doxytag: member="CopyBackingStore" ref="a38f72175526a1a748d311763707cf934a8b04f057d6223852a87bdd319dcf4711" args="" -->CopyBackingStore</em>&nbsp;</td><td>
<p>When <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3" title="Paint double buffered reusing the content of the pixmap buffer when possible.">QwtPlotCanvas::BackingStore</a> is enabled the painter has to paint to the backing store and the widget. In certain situations/environments it might be faster to paint to the backing store only and then copy the backingstore to the canvas. This flag can also be useful for settings, where Qt fills the the clip region with the widget background. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af9e6e2056afd4db4c081e4b04d5c9a85"></a><!-- doxytag: member="QwtPlotDirectPainter::QwtPlotDirectPainter" ref="af9e6e2056afd4db4c081e4b04d5c9a85" args="(QObject *parent=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotDirectPainter::QwtPlotDirectPainter </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a class="anchor" id="aab96bfd08e9041c2552210bbd3ee5ad0"></a><!-- doxytag: member="QwtPlotDirectPainter::~QwtPlotDirectPainter" ref="aab96bfd08e9041c2552210bbd3ee5ad0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotDirectPainter::~QwtPlotDirectPainter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a62f4330f5be1386ef69ed5754aa16678"></a><!-- doxytag: member="QwtPlotDirectPainter::clipRegion" ref="a62f4330f5be1386ef69ed5754aa16678" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRegion QwtPlotDirectPainter::clipRegion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Currently set clip region. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_direct_painter.html#a0c97174b06957f9b20ea295ff403a557" title="Assign a clip region and enable clipping.">setClipRegion()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#ac3d406aada74b7d9202c1017d8347708">setClipping()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a8d6b8b273b4e74181cd7ed5fdaf0bb7e">hasClipping()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8db6c5b50478f4e2627f51135486ae40"></a><!-- doxytag: member="QwtPlotDirectPainter::drawSeries" ref="a8db6c5b50478f4e2627f51135486ae40" args="(QwtPlotAbstractSeriesItem *, int from, int to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotDirectPainter::drawSeries </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_abstract_series_item.html">QwtPlotAbstractSeriesItem</a> *&#160;</td>
          <td class="paramname"><em>seriesItem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw a set of points of a seriesItem. </p>
<p>When observing an measurement while it is running, new points have to be added to an existing seriesItem. drawSeries can be used to display them avoiding a complete redraw of the canvas.</p>
<p>Setting plot()-&gt;canvas()-&gt;setAttribute(Qt::WA_PaintOutsidePaintEvent, true); will result in faster painting, if the paint engine of the canvas widget supports this feature.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">seriesItem</td><td>Item to be painted </td></tr>
    <tr><td class="paramname">from</td><td>Index of the first point to be painted </td></tr>
    <tr><td class="paramname">to</td><td>Index of the last point to be painted. If to &lt; 0 the series will be painted to its last point. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab421bd757679b61f1dcfde2991500ab2"></a><!-- doxytag: member="QwtPlotDirectPainter::eventFilter" ref="ab421bd757679b61f1dcfde2991500ab2" args="(QObject *, QEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotDirectPainter::eventFilter </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Event filter. </p>

</div>
</div>
<a class="anchor" id="a8d6b8b273b4e74181cd7ed5fdaf0bb7e"></a><!-- doxytag: member="QwtPlotDirectPainter::hasClipping" ref="a8d6b8b273b4e74181cd7ed5fdaf0bb7e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotDirectPainter::hasClipping </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true, when clipping is enabled </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_direct_painter.html#ac3d406aada74b7d9202c1017d8347708">setClipping()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a62f4330f5be1386ef69ed5754aa16678">clipRegion()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a0c97174b06957f9b20ea295ff403a557" title="Assign a clip region and enable clipping.">setClipRegion()</a> </dd></dl>

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

<p>Close the internal QPainter. </p>

</div>
</div>
<a class="anchor" id="a498b9857a09e399010a3f8bc9c235a8d"></a><!-- doxytag: member="QwtPlotDirectPainter::setAttribute" ref="a498b9857a09e399010a3f8bc9c235a8d" args="(Attribute, bool on)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotDirectPainter::setAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">Attribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change an attribute</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>Attribute to change </td></tr>
    <tr><td class="paramname">on</td><td>On/Off</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934" title="Paint attributes.">Attribute</a>, <a class="el" href="class_qwt_plot_direct_painter.html#ad48b7706cbba44f91fb9f770e10bcc93">testAttribute()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac3d406aada74b7d9202c1017d8347708"></a><!-- doxytag: member="QwtPlotDirectPainter::setClipping" ref="ac3d406aada74b7d9202c1017d8347708" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotDirectPainter::setClipping </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>En/Disables clipping</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>Enables clipping is true, disable it otherwise </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_direct_painter.html#a8d6b8b273b4e74181cd7ed5fdaf0bb7e">hasClipping()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a62f4330f5be1386ef69ed5754aa16678">clipRegion()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a0c97174b06957f9b20ea295ff403a557" title="Assign a clip region and enable clipping.">setClipRegion()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0c97174b06957f9b20ea295ff403a557"></a><!-- doxytag: member="QwtPlotDirectPainter::setClipRegion" ref="a0c97174b06957f9b20ea295ff403a557" args="(const QRegion &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotDirectPainter::setClipRegion </td>
          <td>(</td>
          <td class="paramtype">const QRegion &amp;&#160;</td>
          <td class="paramname"><em>region</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a clip region and enable clipping. </p>
<p>Depending on the environment setting a proper clip region might improve the performance heavily. F.e. on Qt embedded only the clipped part of the backing store will be copied to a ( maybe unaccelerated ) frame buffer device.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">region</td><td>Clip region </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_direct_painter.html#a62f4330f5be1386ef69ed5754aa16678">clipRegion()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a8d6b8b273b4e74181cd7ed5fdaf0bb7e">hasClipping()</a>, <a class="el" href="class_qwt_plot_direct_painter.html#ac3d406aada74b7d9202c1017d8347708">setClipping()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad48b7706cbba44f91fb9f770e10bcc93"></a><!-- doxytag: member="QwtPlotDirectPainter::testAttribute" ref="ad48b7706cbba44f91fb9f770e10bcc93" args="(Attribute) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotDirectPainter::testAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934">Attribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if a attribute is set.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>Attribute to be tested </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_direct_painter.html#a38f72175526a1a748d311763707cf934" title="Paint attributes.">Attribute</a>, <a class="el" href="class_qwt_plot_direct_painter.html#a498b9857a09e399010a3f8bc9c235a8d">setAttribute()</a> </dd></dl>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>