qwt-cmake/doc/html/class_qwt_plot_renderer.html
2018-08-02 11:01:31 -04:00

1089 lines
56 KiB
HTML

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Qwt User&#39;s Guide: QwtPlotRenderer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Qwt User&#39;s Guide
&#160;<span id="projectnumber">6.1.3</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<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 class="current"><a href="annotated.html"><span>Classes</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="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><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_qwt_plot_renderer.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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>
<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="class_qwt_plot_renderer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">QwtPlotRenderer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Renderer for exporting a plot to a document, a printer or anything else, that is supported by QPainter/QPaintDevice.
<a href="class_qwt_plot_renderer.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="qwt__plot__renderer_8h_source.html">qwt_plot_renderer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotRenderer:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_plot_renderer__inherit__graph.png" border="0" usemap="#_qwt_plot_renderer_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_plot_renderer_inherit__map" id="_qwt_plot_renderer_inherit__map">
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a34d2aa9911e93cb7871e6ce4210e41cd"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">DiscardFlag</a> { <br />
&#160;&#160;<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cdaf2b5ab01146a2e3f85454741465f1f16">DiscardNone</a> = 0x00,
<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cda8520c4587d5b11708b5b314936a07288">DiscardBackground</a> = 0x01,
<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cda2866f5a7d38cbfb34431b95c8dc952e1">DiscardTitle</a> = 0x02,
<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cdac20500aed74824fbea6c3b0d057a482a">DiscardLegend</a> = 0x04,
<br />
&#160;&#160;<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cdab9bb1a51c26e57f6c2b7e650c6edab03">DiscardCanvasBackground</a> = 0x08,
<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cda1c61c6c040ce707dcf1cd51f92040d1e">DiscardFooter</a> = 0x10,
<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cda081e5228ec807e75df243a8ad31f2871">DiscardCanvasFrame</a> = 0x20
<br />
}<tr class="memdesc:a34d2aa9911e93cb7871e6ce4210e41cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disard flags. <a href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a34d2aa9911e93cb7871e6ce4210e41cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a111b4db55d3f620a33e75f6b398e4b4a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">LayoutFlag</a> { <a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4aa7aeaacf4750595de6774ad45ba170c5d">DefaultLayout</a> = 0x00,
<a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4aac81f7d56880ac4c03aaeab489c863a63">FrameWithScales</a> = 0x01
}<tr class="memdesc:a111b4db55d3f620a33e75f6b398e4b4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layout flags. <a href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a111b4db55d3f620a33e75f6b398e4b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa61638c08ef926c0148dd12c9f830b2d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa61638c08ef926c0148dd12c9f830b2d"></a>
typedef QFlags&lt; <a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">DiscardFlag</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#aa61638c08ef926c0148dd12c9f830b2d">DiscardFlags</a></td></tr>
<tr class="memdesc:aa61638c08ef926c0148dd12c9f830b2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disard flags. <br /></td></tr>
<tr class="separator:aa61638c08ef926c0148dd12c9f830b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20cf36bbea6b03a023d34c25b8b4b295"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20cf36bbea6b03a023d34c25b8b4b295"></a>
typedef QFlags&lt; <a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">LayoutFlag</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a20cf36bbea6b03a023d34c25b8b4b295">LayoutFlags</a></td></tr>
<tr class="memdesc:a20cf36bbea6b03a023d34c25b8b4b295"><td class="mdescLeft">&#160;</td><td class="mdescRight">Layout flags. <br /></td></tr>
<tr class="separator:a20cf36bbea6b03a023d34c25b8b4b295"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa265be7e2873a28dbb4f1788020cebe6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#aa265be7e2873a28dbb4f1788020cebe6">QwtPlotRenderer</a> (QObject *=NULL)</td></tr>
<tr class="separator:aa265be7e2873a28dbb4f1788020cebe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a572bea1c8400ba75c01d0bb8bdf391c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a572bea1c8400ba75c01d0bb8bdf391c3"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a572bea1c8400ba75c01d0bb8bdf391c3">~QwtPlotRenderer</a> ()</td></tr>
<tr class="memdesc:a572bea1c8400ba75c01d0bb8bdf391c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a572bea1c8400ba75c01d0bb8bdf391c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33439eb1407f3ba78fdd7b50461bbafc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a33439eb1407f3ba78fdd7b50461bbafc">setDiscardFlag</a> (<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">DiscardFlag</a> flag, bool on=true)</td></tr>
<tr class="separator:a33439eb1407f3ba78fdd7b50461bbafc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04fe5d9c1d81b6bfc307f8a90b4ff5c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a04fe5d9c1d81b6bfc307f8a90b4ff5c3">testDiscardFlag</a> (<a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">DiscardFlag</a> flag) const </td></tr>
<tr class="separator:a04fe5d9c1d81b6bfc307f8a90b4ff5c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac618f4d6605c2484c03140323e1bd639"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#ac618f4d6605c2484c03140323e1bd639">setDiscardFlags</a> (<a class="el" href="class_qwt_plot_renderer.html#aa61638c08ef926c0148dd12c9f830b2d">DiscardFlags</a> flags)</td></tr>
<tr class="separator:ac618f4d6605c2484c03140323e1bd639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0965a5084598e011ef1eb5c0d12347f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_renderer.html#aa61638c08ef926c0148dd12c9f830b2d">DiscardFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#ac0965a5084598e011ef1eb5c0d12347f">discardFlags</a> () const </td></tr>
<tr class="separator:ac0965a5084598e011ef1eb5c0d12347f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab06e26ebf2038b55e5f30bb14c90caec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#ab06e26ebf2038b55e5f30bb14c90caec">setLayoutFlag</a> (<a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">LayoutFlag</a> flag, bool on=true)</td></tr>
<tr class="separator:ab06e26ebf2038b55e5f30bb14c90caec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e58ce0389b485c0d1014a13c2bdd0f7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a4e58ce0389b485c0d1014a13c2bdd0f7">testLayoutFlag</a> (<a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">LayoutFlag</a> flag) const </td></tr>
<tr class="separator:a4e58ce0389b485c0d1014a13c2bdd0f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a475ee59a0a3078380b6da31567bd0a14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a475ee59a0a3078380b6da31567bd0a14">setLayoutFlags</a> (<a class="el" href="class_qwt_plot_renderer.html#a20cf36bbea6b03a023d34c25b8b4b295">LayoutFlags</a> flags)</td></tr>
<tr class="separator:a475ee59a0a3078380b6da31567bd0a14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0989c9a2b03069418d1f097d14dd1b0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_renderer.html#a20cf36bbea6b03a023d34c25b8b4b295">LayoutFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a0989c9a2b03069418d1f097d14dd1b0b">layoutFlags</a> () const </td></tr>
<tr class="separator:a0989c9a2b03069418d1f097d14dd1b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e6c72105a0a6533a1a43efea91f62d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a9e6c72105a0a6533a1a43efea91f62d9">renderDocument</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *, const QString &amp;fileName, const QSizeF &amp;sizeMM, int resolution=85)</td></tr>
<tr class="separator:a9e6c72105a0a6533a1a43efea91f62d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a983cfb85dc7896deedcda562141e8225"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a983cfb85dc7896deedcda562141e8225">renderDocument</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *, const QString &amp;fileName, const QString &amp;format, const QSizeF &amp;sizeMM, int resolution=85)</td></tr>
<tr class="separator:a983cfb85dc7896deedcda562141e8225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa913f7f77dc04ab9fe0030df79c9806"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#afa913f7f77dc04ab9fe0030df79c9806">renderTo</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPrinter &amp;) const </td></tr>
<tr class="memdesc:afa913f7f77dc04ab9fe0030df79c9806"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the plot to a QPrinter. <a href="#afa913f7f77dc04ab9fe0030df79c9806">More...</a><br /></td></tr>
<tr class="separator:afa913f7f77dc04ab9fe0030df79c9806"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1501f42510d7f5c144d67baac5d129b5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a1501f42510d7f5c144d67baac5d129b5">renderTo</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPaintDevice &amp;p) const </td></tr>
<tr class="memdesc:a1501f42510d7f5c144d67baac5d129b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the plot to a <code>QPaintDevice</code>. <a href="#a1501f42510d7f5c144d67baac5d129b5">More...</a><br /></td></tr>
<tr class="separator:a1501f42510d7f5c144d67baac5d129b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44ff336a2d3d955ac17b1daa5fca3c31"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a44ff336a2d3d955ac17b1daa5fca3c31">render</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPainter *, const QRectF &amp;rect) const </td></tr>
<tr class="separator:a44ff336a2d3d955ac17b1daa5fca3c31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af793ca09c4f337fae62bfae962c8ade2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#af793ca09c4f337fae62bfae962c8ade2">renderTitle</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPainter *, const QRectF &amp;) const </td></tr>
<tr class="separator:af793ca09c4f337fae62bfae962c8ade2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eb95db72559d1820c38fd6f772c7b4b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a9eb95db72559d1820c38fd6f772c7b4b">renderFooter</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPainter *, const QRectF &amp;) const </td></tr>
<tr class="separator:a9eb95db72559d1820c38fd6f772c7b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3242670daa59fe5ba7b8b4d60339d3a1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#a3242670daa59fe5ba7b8b4d60339d3a1">renderScale</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPainter *, int axisId, int startDist, int endDist, int baseDist, const QRectF &amp;) const </td></tr>
<tr class="memdesc:a3242670daa59fe5ba7b8b4d60339d3a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint a scale into a given rectangle. Paint the scale into a given rectangle. <a href="#a3242670daa59fe5ba7b8b4d60339d3a1">More...</a><br /></td></tr>
<tr class="separator:a3242670daa59fe5ba7b8b4d60339d3a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf07b9b77766b507dbe16791556b02c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#adbf07b9b77766b507dbe16791556b02c">renderCanvas</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPainter *, const QRectF &amp;canvasRect, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> *maps) const </td></tr>
<tr class="separator:adbf07b9b77766b507dbe16791556b02c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf1706f778a88d7db5304adde93b02a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#adbf1706f778a88d7db5304adde93b02a">renderLegend</a> (const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *, QPainter *, const QRectF &amp;) const </td></tr>
<tr class="separator:adbf1706f778a88d7db5304adde93b02a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1912ef59ba1a3085f87c0ab49cbcd8b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_renderer.html#ac1912ef59ba1a3085f87c0ab49cbcd8b">exportTo</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *, const QString &amp;documentName, const QSizeF &amp;sizeMM=QSizeF(300, 200), int resolution=85)</td></tr>
<tr class="memdesc:ac1912ef59ba1a3085f87c0ab49cbcd8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute a file dialog and render the plot to the selected file. <a href="#ac1912ef59ba1a3085f87c0ab49cbcd8b">More...</a><br /></td></tr>
<tr class="separator:ac1912ef59ba1a3085f87c0ab49cbcd8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Renderer for exporting a plot to a document, a printer or anything else, that is supported by QPainter/QPaintDevice. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">QwtPlotRenderer::DiscardFlag</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Disard flags. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cdaf2b5ab01146a2e3f85454741465f1f16"></a>DiscardNone&#160;</td><td class="fielddoc">
<p>Render all components of the plot. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cda8520c4587d5b11708b5b314936a07288"></a>DiscardBackground&#160;</td><td class="fielddoc">
<p>Don't render the background of the plot. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cda2866f5a7d38cbfb34431b95c8dc952e1"></a>DiscardTitle&#160;</td><td class="fielddoc">
<p>Don't render the title of the plot. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cdac20500aed74824fbea6c3b0d057a482a"></a>DiscardLegend&#160;</td><td class="fielddoc">
<p>Don't render the legend of the plot. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cdab9bb1a51c26e57f6c2b7e650c6edab03"></a>DiscardCanvasBackground&#160;</td><td class="fielddoc">
<p>Don't render the background of the canvas. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cda1c61c6c040ce707dcf1cd51f92040d1e"></a>DiscardFooter&#160;</td><td class="fielddoc">
<p>Don't render the footer of the plot. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a34d2aa9911e93cb7871e6ce4210e41cda081e5228ec807e75df243a8ad31f2871"></a>DiscardCanvasFrame&#160;</td><td class="fielddoc">
<p>Don't render the frame of the canvas</p>
<dl class="section note"><dt>Note</dt><dd>This flag has no effect when using style sheets, where the frame is part of the background </dd></dl>
</td></tr>
</table>
</div>
</div>
<a class="anchor" id="a111b4db55d3f620a33e75f6b398e4b4a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">QwtPlotRenderer::LayoutFlag</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Layout flags. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#ab06e26ebf2038b55e5f30bb14c90caec">setLayoutFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a4e58ce0389b485c0d1014a13c2bdd0f7">testLayoutFlag()</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a111b4db55d3f620a33e75f6b398e4b4aa7aeaacf4750595de6774ad45ba170c5d"></a>DefaultLayout&#160;</td><td class="fielddoc">
<p>Use the default layout as on screen. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a111b4db55d3f620a33e75f6b398e4b4aac81f7d56880ac4c03aaeab489c863a63"></a>FrameWithScales&#160;</td><td class="fielddoc">
<p>Instead of the scales a box is painted around the plot canvas, where the scale ticks are aligned to. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa265be7e2873a28dbb4f1788020cebe6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QwtPlotRenderer::QwtPlotRenderer </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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td>Parent object </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ac0965a5084598e011ef1eb5c0d12347f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_plot_renderer.html#aa61638c08ef926c0148dd12c9f830b2d">QwtPlotRenderer::DiscardFlags</a> QwtPlotRenderer::discardFlags </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Flags, indicating what to discard from rendering </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd" title="Disard flags. ">DiscardFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#ac618f4d6605c2484c03140323e1bd639">setDiscardFlags()</a>, <a class="el" href="class_qwt_plot_renderer.html#a33439eb1407f3ba78fdd7b50461bbafc">setDiscardFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a04fe5d9c1d81b6bfc307f8a90b4ff5c3">testDiscardFlag()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac1912ef59ba1a3085f87c0ab49cbcd8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QwtPlotRenderer::exportTo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>documentName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QSizeF &amp;&#160;</td>
<td class="paramname"><em>sizeMM</em> = <code>QSizeF(&#160;300,&#160;200&#160;)</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>resolution</em> = <code>85</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Execute a file dialog and render the plot to the selected file. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">documentName</td><td>Default document name </td></tr>
<tr><td class="paramname">sizeMM</td><td>Size for the document in millimeters. </td></tr>
<tr><td class="paramname">resolution</td><td>Resolution in dots per Inch (dpi)</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True, when exporting was successful </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a9e6c72105a0a6533a1a43efea91f62d9">renderDocument()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0989c9a2b03069418d1f097d14dd1b0b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_qwt_plot_renderer.html#a20cf36bbea6b03a023d34c25b8b4b295">QwtPlotRenderer::LayoutFlags</a> QwtPlotRenderer::layoutFlags </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Layout flags </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a" title="Layout flags. ">LayoutFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#a475ee59a0a3078380b6da31567bd0a14">setLayoutFlags()</a>, <a class="el" href="class_qwt_plot_renderer.html#ab06e26ebf2038b55e5f30bb14c90caec">setLayoutFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a4e58ce0389b485c0d1014a13c2bdd0f7">testLayoutFlag()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a44ff336a2d3d955ac17b1daa5fca3c31"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::render </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPainter *&#160;</td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>plotRect</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Paint the contents of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget. ">QwtPlot</a> instance into a given rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot to be rendered </td></tr>
<tr><td class="paramname">painter</td><td>Painter </td></tr>
<tr><td class="paramname">plotRect</td><td>Bounding rectangle</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a9e6c72105a0a6533a1a43efea91f62d9">renderDocument()</a>, <a class="el" href="class_qwt_plot_renderer.html#afa913f7f77dc04ab9fe0030df79c9806" title="Render the plot to a QPrinter. ">renderTo()</a>, <a class="el" href="class_qwt_painter.html#a49581f980f2c761852cda08502c96abb">QwtPainter::setRoundingAlignment()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="adbf07b9b77766b507dbe16791556b02c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderCanvas </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPainter *&#160;</td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>canvasRect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> *&#160;</td>
<td class="paramname"><em>map</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Render the canvas into a given rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">painter</td><td>Painter </td></tr>
<tr><td class="paramname">map</td><td>Maps mapping between plot and paint device coordinates </td></tr>
<tr><td class="paramname">canvasRect</td><td>Canvas rectangle </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9e6c72105a0a6533a1a43efea91f62d9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderDocument </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>fileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QSizeF &amp;&#160;</td>
<td class="paramname"><em>sizeMM</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>resolution</em> = <code>85</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Render a plot to a file</p>
<p>The format of the document will be auto-detected from the suffix of the file name.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">fileName</td><td>Path of the file, where the document will be stored </td></tr>
<tr><td class="paramname">sizeMM</td><td>Size for the document in millimeters. </td></tr>
<tr><td class="paramname">resolution</td><td>Resolution in dots per Inch (dpi) </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a983cfb85dc7896deedcda562141e8225"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderDocument </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>fileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>format</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QSizeF &amp;&#160;</td>
<td class="paramname"><em>sizeMM</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>resolution</em> = <code>85</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Render a plot to a file</p>
<p>Supported formats are:</p>
<ul>
<li>pdf<br />
Portable Document Format PDF</li>
<li>ps<br />
Postcript</li>
<li>svg<br />
Scalable Vector Graphics SVG</li>
<li>all image formats supported by Qt<br />
see QImageWriter::supportedImageFormats()</li>
</ul>
<p>Scalable vector graphic formats like PDF or SVG are superior to raster graphics formats.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">fileName</td><td>Path of the file, where the document will be stored </td></tr>
<tr><td class="paramname">format</td><td>Format for the document </td></tr>
<tr><td class="paramname">sizeMM</td><td>Size for the document in millimeters. </td></tr>
<tr><td class="paramname">resolution</td><td>Resolution in dots per Inch (dpi)</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#afa913f7f77dc04ab9fe0030df79c9806" title="Render the plot to a QPrinter. ">renderTo()</a>, <a class="el" href="class_qwt_plot_renderer.html#a44ff336a2d3d955ac17b1daa5fca3c31">render()</a>, <a class="el" href="class_qwt_painter.html#a49581f980f2c761852cda08502c96abb">QwtPainter::setRoundingAlignment()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9eb95db72559d1820c38fd6f772c7b4b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderFooter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPainter *&#160;</td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>rect</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Render the footer into a given rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">painter</td><td>Painter </td></tr>
<tr><td class="paramname">rect</td><td>Bounding rectangle </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="adbf1706f778a88d7db5304adde93b02a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderLegend </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPainter *&#160;</td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>rect</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Render the legend into a given rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">painter</td><td>Painter </td></tr>
<tr><td class="paramname">rect</td><td>Bounding rectangle </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3242670daa59fe5ba7b8b4d60339d3a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderScale </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPainter *&#160;</td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>axisId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>startDist</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>endDist</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>baseDist</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>rect</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Paint a scale into a given rectangle. Paint the scale into a given rectangle. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">painter</td><td>Painter </td></tr>
<tr><td class="paramname">axisId</td><td>Axis </td></tr>
<tr><td class="paramname">startDist</td><td>Start border distance </td></tr>
<tr><td class="paramname">endDist</td><td>End border distance </td></tr>
<tr><td class="paramname">baseDist</td><td>Base distance </td></tr>
<tr><td class="paramname">rect</td><td>Bounding rectangle </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af793ca09c4f337fae62bfae962c8ade2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderTitle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPainter *&#160;</td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF &amp;&#160;</td>
<td class="paramname"><em>rect</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Render the title into a given rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot widget </td></tr>
<tr><td class="paramname">painter</td><td>Painter </td></tr>
<tr><td class="paramname">rect</td><td>Bounding rectangle </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="afa913f7f77dc04ab9fe0030df79c9806"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderTo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPrinter &amp;&#160;</td>
<td class="paramname"><em>printer</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Render the plot to a QPrinter. </p>
<p>This function renders the contents of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget. ">QwtPlot</a> instance to <code>QPaintDevice</code> object. The size is derived from the printer metrics.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot to be rendered </td></tr>
<tr><td class="paramname">printer</td><td>Printer to paint on</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a9e6c72105a0a6533a1a43efea91f62d9">renderDocument()</a>, <a class="el" href="class_qwt_plot_renderer.html#a44ff336a2d3d955ac17b1daa5fca3c31">render()</a>, <a class="el" href="class_qwt_painter.html#a49581f980f2c761852cda08502c96abb">QwtPainter::setRoundingAlignment()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1501f42510d7f5c144d67baac5d129b5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::renderTo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
<td class="paramname"><em>plot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QPaintDevice &amp;&#160;</td>
<td class="paramname"><em>paintDevice</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Render the plot to a <code>QPaintDevice</code>. </p>
<p>This function renders the contents of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget. ">QwtPlot</a> instance to <code>QPaintDevice</code> object. The target rectangle is derived from its device metrics.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">plot</td><td>Plot to be rendered </td></tr>
<tr><td class="paramname">paintDevice</td><td>device to paint on, f.e a QImage</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a9e6c72105a0a6533a1a43efea91f62d9">renderDocument()</a>, <a class="el" href="class_qwt_plot_renderer.html#a44ff336a2d3d955ac17b1daa5fca3c31">render()</a>, <a class="el" href="class_qwt_painter.html#a49581f980f2c761852cda08502c96abb">QwtPainter::setRoundingAlignment()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a33439eb1407f3ba78fdd7b50461bbafc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::setDiscardFlag </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">DiscardFlag</a>&#160;</td>
<td class="paramname"><em>flag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>on</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change a flag, indicating what to discard from rendering</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flag</td><td>Flag to change </td></tr>
<tr><td class="paramname">on</td><td>On/Off</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd" title="Disard flags. ">DiscardFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#a04fe5d9c1d81b6bfc307f8a90b4ff5c3">testDiscardFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#ac618f4d6605c2484c03140323e1bd639">setDiscardFlags()</a>, <a class="el" href="class_qwt_plot_renderer.html#ac0965a5084598e011ef1eb5c0d12347f">discardFlags()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac618f4d6605c2484c03140323e1bd639"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::setDiscardFlags </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_renderer.html#aa61638c08ef926c0148dd12c9f830b2d">DiscardFlags</a>&#160;</td>
<td class="paramname"><em>flags</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the flags, indicating what to discard from rendering</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flags</td><td>Flags </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd" title="Disard flags. ">DiscardFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#a33439eb1407f3ba78fdd7b50461bbafc">setDiscardFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a04fe5d9c1d81b6bfc307f8a90b4ff5c3">testDiscardFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#ac0965a5084598e011ef1eb5c0d12347f">discardFlags()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab06e26ebf2038b55e5f30bb14c90caec"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::setLayoutFlag </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">LayoutFlag</a>&#160;</td>
<td class="paramname"><em>flag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>on</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change a layout flag</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flag</td><td>Flag to change </td></tr>
<tr><td class="paramname">on</td><td>On/Off</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a" title="Layout flags. ">LayoutFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#a4e58ce0389b485c0d1014a13c2bdd0f7">testLayoutFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a475ee59a0a3078380b6da31567bd0a14">setLayoutFlags()</a>, <a class="el" href="class_qwt_plot_renderer.html#a0989c9a2b03069418d1f097d14dd1b0b">layoutFlags()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a475ee59a0a3078380b6da31567bd0a14"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QwtPlotRenderer::setLayoutFlags </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_renderer.html#a20cf36bbea6b03a023d34c25b8b4b295">LayoutFlags</a>&#160;</td>
<td class="paramname"><em>flags</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the layout flags</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flags</td><td>Flags </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a" title="Layout flags. ">LayoutFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#ab06e26ebf2038b55e5f30bb14c90caec">setLayoutFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a4e58ce0389b485c0d1014a13c2bdd0f7">testLayoutFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a0989c9a2b03069418d1f097d14dd1b0b">layoutFlags()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a04fe5d9c1d81b6bfc307f8a90b4ff5c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QwtPlotRenderer::testDiscardFlag </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd">DiscardFlag</a>&#160;</td>
<td class="paramname"><em>flag</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>True, if flag is enabled. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flag</td><td>Flag to be tested </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a34d2aa9911e93cb7871e6ce4210e41cd" title="Disard flags. ">DiscardFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#a33439eb1407f3ba78fdd7b50461bbafc">setDiscardFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#ac618f4d6605c2484c03140323e1bd639">setDiscardFlags()</a>, <a class="el" href="class_qwt_plot_renderer.html#ac0965a5084598e011ef1eb5c0d12347f">discardFlags()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4e58ce0389b485c0d1014a13c2bdd0f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QwtPlotRenderer::testLayoutFlag </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a">LayoutFlag</a>&#160;</td>
<td class="paramname"><em>flag</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>True, if flag is enabled. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flag</td><td>Flag to be tested </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_renderer.html#a111b4db55d3f620a33e75f6b398e4b4a" title="Layout flags. ">LayoutFlag</a>, <a class="el" href="class_qwt_plot_renderer.html#ab06e26ebf2038b55e5f30bb14c90caec">setLayoutFlag()</a>, <a class="el" href="class_qwt_plot_renderer.html#a475ee59a0a3078380b6da31567bd0a14">setLayoutFlags()</a>, <a class="el" href="class_qwt_plot_renderer.html#a0989c9a2b03069418d1f097d14dd1b0b">layoutFlags()</a> </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="class_qwt_plot_renderer.html">QwtPlotRenderer</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>