123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Qwt User's Guide: QwtPainter 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>
- <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>
- <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's Guide
-  <span id="projectnumber">6.1.6</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.20 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></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">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('class_qwt_painter.html',''); initResizable(); });
- /* @license-end */
- </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-static-methods">Static Public Member Functions</a> |
- <a href="class_qwt_painter-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">QwtPainter Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p>A collection of QPainter workarounds.
- <a href="class_qwt_painter.html#details">More...</a></p>
- <p><code>#include <<a class="el" href="qwt__painter_8h_source.html">qwt_painter.h</a>></code></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
- Static Public Member Functions</h2></td></tr>
- <tr class="memitem:a174bca411198c64dfff828a15d80ddfb"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a174bca411198c64dfff828a15d80ddfb">setPolylineSplitting</a> (bool)</td></tr>
- <tr class="memdesc:a174bca411198c64dfff828a15d80ddfb"><td class="mdescLeft"> </td><td class="mdescRight">En/Disable line splitting for the raster paint engine. <a href="class_qwt_painter.html#a174bca411198c64dfff828a15d80ddfb">More...</a><br /></td></tr>
- <tr class="separator:a174bca411198c64dfff828a15d80ddfb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a831cf0efa8a0869ab79307495d7e4590"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a831cf0efa8a0869ab79307495d7e4590">polylineSplitting</a> ()</td></tr>
- <tr class="separator:a831cf0efa8a0869ab79307495d7e4590"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a49581f980f2c761852cda08502c96abb"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a49581f980f2c761852cda08502c96abb">setRoundingAlignment</a> (bool)</td></tr>
- <tr class="separator:a49581f980f2c761852cda08502c96abb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae9af230df7bb8d40b802d4f3205a8631"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">roundingAlignment</a> ()</td></tr>
- <tr class="separator:ae9af230df7bb8d40b802d4f3205a8631"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab11788d777ce54a1959bf8387dba6ad9"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#ab11788d777ce54a1959bf8387dba6ad9">roundingAlignment</a> (QPainter *)</td></tr>
- <tr class="separator:ab11788d777ce54a1959bf8387dba6ad9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7b32c7e2937f7beea38728b9ce445860"><td class="memItemLeft" align="right" valign="top"><a id="a7b32c7e2937f7beea38728b9ce445860"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a7b32c7e2937f7beea38728b9ce445860">drawText</a> (QPainter *, double x, double y, const QString &)</td></tr>
- <tr class="memdesc:a7b32c7e2937f7beea38728b9ce445860"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawText() <br /></td></tr>
- <tr class="separator:a7b32c7e2937f7beea38728b9ce445860"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a60048491773b3eb7aac5b984a4bd9730"><td class="memItemLeft" align="right" valign="top"><a id="a60048491773b3eb7aac5b984a4bd9730"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a60048491773b3eb7aac5b984a4bd9730">drawText</a> (QPainter *, const QPointF &, const QString &)</td></tr>
- <tr class="memdesc:a60048491773b3eb7aac5b984a4bd9730"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawText() <br /></td></tr>
- <tr class="separator:a60048491773b3eb7aac5b984a4bd9730"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a90fd62c3862e9f4543eda02279f75f10"><td class="memItemLeft" align="right" valign="top"><a id="a90fd62c3862e9f4543eda02279f75f10"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a90fd62c3862e9f4543eda02279f75f10">drawText</a> (QPainter *, double x, double y, double w, double h, int flags, const QString &)</td></tr>
- <tr class="memdesc:a90fd62c3862e9f4543eda02279f75f10"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawText() <br /></td></tr>
- <tr class="separator:a90fd62c3862e9f4543eda02279f75f10"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2866de24c2d7ddb88ee5919d09cad03f"><td class="memItemLeft" align="right" valign="top"><a id="a2866de24c2d7ddb88ee5919d09cad03f"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a2866de24c2d7ddb88ee5919d09cad03f">drawText</a> (QPainter *, const QRectF &, int flags, const QString &)</td></tr>
- <tr class="memdesc:a2866de24c2d7ddb88ee5919d09cad03f"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawText() <br /></td></tr>
- <tr class="separator:a2866de24c2d7ddb88ee5919d09cad03f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1a44fdbb66452b38d57369a485da3971"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a1a44fdbb66452b38d57369a485da3971">drawSimpleRichText</a> (QPainter *, const QRectF &, int flags, const QTextDocument &)</td></tr>
- <tr class="separator:a1a44fdbb66452b38d57369a485da3971"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0779e2b85c7d04547933574fd2021193"><td class="memItemLeft" align="right" valign="top"><a id="a0779e2b85c7d04547933574fd2021193"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a0779e2b85c7d04547933574fd2021193">drawRect</a> (QPainter *, double x, double y, double w, double h)</td></tr>
- <tr class="memdesc:a0779e2b85c7d04547933574fd2021193"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawRect() <br /></td></tr>
- <tr class="separator:a0779e2b85c7d04547933574fd2021193"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a838b9cc65ae98ecb40d62ed4281a37b7"><td class="memItemLeft" align="right" valign="top"><a id="a838b9cc65ae98ecb40d62ed4281a37b7"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a838b9cc65ae98ecb40d62ed4281a37b7">drawRect</a> (QPainter *, const QRectF &rect)</td></tr>
- <tr class="memdesc:a838b9cc65ae98ecb40d62ed4281a37b7"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawRect() <br /></td></tr>
- <tr class="separator:a838b9cc65ae98ecb40d62ed4281a37b7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8f5561421bf2d1c1093059f1b7bba7ba"><td class="memItemLeft" align="right" valign="top"><a id="a8f5561421bf2d1c1093059f1b7bba7ba"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a8f5561421bf2d1c1093059f1b7bba7ba">fillRect</a> (QPainter *, const QRectF &, const QBrush &)</td></tr>
- <tr class="memdesc:a8f5561421bf2d1c1093059f1b7bba7ba"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::fillRect() <br /></td></tr>
- <tr class="separator:a8f5561421bf2d1c1093059f1b7bba7ba"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0cce52b66d249859ff71e41edb3637ad"><td class="memItemLeft" align="right" valign="top"><a id="a0cce52b66d249859ff71e41edb3637ad"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a0cce52b66d249859ff71e41edb3637ad">drawEllipse</a> (QPainter *, const QRectF &)</td></tr>
- <tr class="memdesc:a0cce52b66d249859ff71e41edb3637ad"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawEllipse() <br /></td></tr>
- <tr class="separator:a0cce52b66d249859ff71e41edb3637ad"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a359c30354ddaa5603d3e4367855271b1"><td class="memItemLeft" align="right" valign="top"><a id="a359c30354ddaa5603d3e4367855271b1"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a359c30354ddaa5603d3e4367855271b1">drawPie</a> (QPainter *, const QRectF &, int a, int alen)</td></tr>
- <tr class="memdesc:a359c30354ddaa5603d3e4367855271b1"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPie() <br /></td></tr>
- <tr class="separator:a359c30354ddaa5603d3e4367855271b1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad90ed35a673adb9767046c05b605bcf5"><td class="memItemLeft" align="right" valign="top"><a id="ad90ed35a673adb9767046c05b605bcf5"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#ad90ed35a673adb9767046c05b605bcf5">drawLine</a> (QPainter *, double x1, double y1, double x2, double y2)</td></tr>
- <tr class="memdesc:ad90ed35a673adb9767046c05b605bcf5"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawLine() <br /></td></tr>
- <tr class="separator:ad90ed35a673adb9767046c05b605bcf5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8f4ebba74be8858ca43e50fac363468c"><td class="memItemLeft" align="right" valign="top"><a id="a8f4ebba74be8858ca43e50fac363468c"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a8f4ebba74be8858ca43e50fac363468c">drawLine</a> (QPainter *, const QPointF &p1, const QPointF &p2)</td></tr>
- <tr class="memdesc:a8f4ebba74be8858ca43e50fac363468c"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawLine() <br /></td></tr>
- <tr class="separator:a8f4ebba74be8858ca43e50fac363468c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af31427d37c1cfd4ddc84e013086a77e1"><td class="memItemLeft" align="right" valign="top"><a id="af31427d37c1cfd4ddc84e013086a77e1"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#af31427d37c1cfd4ddc84e013086a77e1">drawLine</a> (QPainter *, const QLineF &)</td></tr>
- <tr class="memdesc:af31427d37c1cfd4ddc84e013086a77e1"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawLine() <br /></td></tr>
- <tr class="separator:af31427d37c1cfd4ddc84e013086a77e1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2fff1088059c230864ac1eff90d8e975"><td class="memItemLeft" align="right" valign="top"><a id="a2fff1088059c230864ac1eff90d8e975"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a2fff1088059c230864ac1eff90d8e975">drawPolygon</a> (QPainter *, const QPolygonF &)</td></tr>
- <tr class="memdesc:a2fff1088059c230864ac1eff90d8e975"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPolygon() <br /></td></tr>
- <tr class="separator:a2fff1088059c230864ac1eff90d8e975"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a60ab9909e9eac196c022b1ec6200d198"><td class="memItemLeft" align="right" valign="top"><a id="a60ab9909e9eac196c022b1ec6200d198"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a60ab9909e9eac196c022b1ec6200d198">drawPolyline</a> (QPainter *, const QPolygonF &)</td></tr>
- <tr class="memdesc:a60ab9909e9eac196c022b1ec6200d198"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPolyline() <br /></td></tr>
- <tr class="separator:a60ab9909e9eac196c022b1ec6200d198"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2aac8306cd6863887db1f2987eb0eced"><td class="memItemLeft" align="right" valign="top"><a id="a2aac8306cd6863887db1f2987eb0eced"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a2aac8306cd6863887db1f2987eb0eced">drawPolyline</a> (QPainter *, const QPointF *, int pointCount)</td></tr>
- <tr class="memdesc:a2aac8306cd6863887db1f2987eb0eced"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPolyline() <br /></td></tr>
- <tr class="separator:a2aac8306cd6863887db1f2987eb0eced"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a67bd336cc96329e2d0e717574892c84c"><td class="memItemLeft" align="right" valign="top"><a id="a67bd336cc96329e2d0e717574892c84c"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a67bd336cc96329e2d0e717574892c84c">drawPolygon</a> (QPainter *, const QPolygon &)</td></tr>
- <tr class="memdesc:a67bd336cc96329e2d0e717574892c84c"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPolygon() <br /></td></tr>
- <tr class="separator:a67bd336cc96329e2d0e717574892c84c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4846eb8406cc49435013e41e4debacdc"><td class="memItemLeft" align="right" valign="top"><a id="a4846eb8406cc49435013e41e4debacdc"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a4846eb8406cc49435013e41e4debacdc">drawPolyline</a> (QPainter *, const QPolygon &)</td></tr>
- <tr class="memdesc:a4846eb8406cc49435013e41e4debacdc"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPolyline() <br /></td></tr>
- <tr class="separator:a4846eb8406cc49435013e41e4debacdc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a479d20a9aed2dee2ccdd735c6e77bc58"><td class="memItemLeft" align="right" valign="top"><a id="a479d20a9aed2dee2ccdd735c6e77bc58"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a479d20a9aed2dee2ccdd735c6e77bc58">drawPolyline</a> (QPainter *, const QPoint *, int pointCount)</td></tr>
- <tr class="memdesc:a479d20a9aed2dee2ccdd735c6e77bc58"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPolyline() <br /></td></tr>
- <tr class="separator:a479d20a9aed2dee2ccdd735c6e77bc58"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2e88f78d51387c661a9e10352ab945c"><td class="memItemLeft" align="right" valign="top"><a id="ab2e88f78d51387c661a9e10352ab945c"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#ab2e88f78d51387c661a9e10352ab945c">drawPoint</a> (QPainter *, const QPoint &)</td></tr>
- <tr class="memdesc:ab2e88f78d51387c661a9e10352ab945c"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPoint() <br /></td></tr>
- <tr class="separator:ab2e88f78d51387c661a9e10352ab945c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0e1bddfd725ea95f628c491149c2deba"><td class="memItemLeft" align="right" valign="top"><a id="a0e1bddfd725ea95f628c491149c2deba"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a0e1bddfd725ea95f628c491149c2deba">drawPoints</a> (QPainter *, const QPolygon &)</td></tr>
- <tr class="memdesc:a0e1bddfd725ea95f628c491149c2deba"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPoints() <br /></td></tr>
- <tr class="separator:a0e1bddfd725ea95f628c491149c2deba"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1f268ec257dbd52a7aca59c5c2ea3f98"><td class="memItemLeft" align="right" valign="top"><a id="a1f268ec257dbd52a7aca59c5c2ea3f98"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a1f268ec257dbd52a7aca59c5c2ea3f98">drawPoints</a> (QPainter *, const QPoint *, int pointCount)</td></tr>
- <tr class="memdesc:a1f268ec257dbd52a7aca59c5c2ea3f98"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPoints() <br /></td></tr>
- <tr class="separator:a1f268ec257dbd52a7aca59c5c2ea3f98"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1e65c0e2436e253de937e164d365aa5f"><td class="memItemLeft" align="right" valign="top"><a id="a1e65c0e2436e253de937e164d365aa5f"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a1e65c0e2436e253de937e164d365aa5f">drawPoint</a> (QPainter *, double x, double y)</td></tr>
- <tr class="memdesc:a1e65c0e2436e253de937e164d365aa5f"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPoint() <br /></td></tr>
- <tr class="separator:a1e65c0e2436e253de937e164d365aa5f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9b0ef616fc27c84dc7ee3cab5449a313"><td class="memItemLeft" align="right" valign="top"><a id="a9b0ef616fc27c84dc7ee3cab5449a313"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a9b0ef616fc27c84dc7ee3cab5449a313">drawPoint</a> (QPainter *, const QPointF &)</td></tr>
- <tr class="memdesc:a9b0ef616fc27c84dc7ee3cab5449a313"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPoint() <br /></td></tr>
- <tr class="separator:a9b0ef616fc27c84dc7ee3cab5449a313"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1a854725b6ff657557e678575dc56357"><td class="memItemLeft" align="right" valign="top"><a id="a1a854725b6ff657557e678575dc56357"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a1a854725b6ff657557e678575dc56357">drawPoints</a> (QPainter *, const QPolygonF &)</td></tr>
- <tr class="memdesc:a1a854725b6ff657557e678575dc56357"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPoints() <br /></td></tr>
- <tr class="separator:a1a854725b6ff657557e678575dc56357"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af5fa718b25a9b4df10ddb7e1270a4289"><td class="memItemLeft" align="right" valign="top"><a id="af5fa718b25a9b4df10ddb7e1270a4289"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#af5fa718b25a9b4df10ddb7e1270a4289">drawPoints</a> (QPainter *, const QPointF *, int pointCount)</td></tr>
- <tr class="memdesc:af5fa718b25a9b4df10ddb7e1270a4289"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPoints() <br /></td></tr>
- <tr class="separator:af5fa718b25a9b4df10ddb7e1270a4289"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a22cff4eba018aee6680c43347e92238d"><td class="memItemLeft" align="right" valign="top"><a id="a22cff4eba018aee6680c43347e92238d"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a22cff4eba018aee6680c43347e92238d">drawPath</a> (QPainter *, const QPainterPath &)</td></tr>
- <tr class="memdesc:a22cff4eba018aee6680c43347e92238d"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPath() <br /></td></tr>
- <tr class="separator:a22cff4eba018aee6680c43347e92238d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2825f068a54e21e885235235daac3ec7"><td class="memItemLeft" align="right" valign="top"><a id="a2825f068a54e21e885235235daac3ec7"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a2825f068a54e21e885235235daac3ec7">drawImage</a> (QPainter *, const QRectF &, const QImage &)</td></tr>
- <tr class="memdesc:a2825f068a54e21e885235235daac3ec7"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawImage() <br /></td></tr>
- <tr class="separator:a2825f068a54e21e885235235daac3ec7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aec25b066b31a967de60d645c58ed7557"><td class="memItemLeft" align="right" valign="top"><a id="aec25b066b31a967de60d645c58ed7557"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#aec25b066b31a967de60d645c58ed7557">drawPixmap</a> (QPainter *, const QRectF &, const QPixmap &)</td></tr>
- <tr class="memdesc:aec25b066b31a967de60d645c58ed7557"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for QPainter::drawPixmap() <br /></td></tr>
- <tr class="separator:aec25b066b31a967de60d645c58ed7557"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a388f68022ef77dbdae9d700e104f0976"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a388f68022ef77dbdae9d700e104f0976">drawRoundFrame</a> (QPainter *, const QRectF &, const QPalette &, int lineWidth, int frameStyle)</td></tr>
- <tr class="separator:a388f68022ef77dbdae9d700e104f0976"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a00b91696b5dc3264b54c99e436616804"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a00b91696b5dc3264b54c99e436616804">drawRoundedFrame</a> (QPainter *, const QRectF &, double xRadius, double yRadius, const QPalette &, int lineWidth, int frameStyle)</td></tr>
- <tr class="separator:a00b91696b5dc3264b54c99e436616804"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a31a3aed24cb13cd2ab3ad5f4cbde4b0f"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a31a3aed24cb13cd2ab3ad5f4cbde4b0f">drawFrame</a> (QPainter *, const QRectF &rect, const QPalette &palette, QPalette::ColorRole foregroundRole, int frameWidth, int midLineWidth, int frameStyle)</td></tr>
- <tr class="separator:a31a3aed24cb13cd2ab3ad5f4cbde4b0f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aad72e955692b37a06547a6c0d62817b0"><td class="memItemLeft" align="right" valign="top"><a id="aad72e955692b37a06547a6c0d62817b0"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#aad72e955692b37a06547a6c0d62817b0">drawFocusRect</a> (QPainter *, const QWidget *)</td></tr>
- <tr class="memdesc:aad72e955692b37a06547a6c0d62817b0"><td class="mdescLeft"> </td><td class="mdescRight">Draw a focus rectangle on a widget using its style. <br /></td></tr>
- <tr class="separator:aad72e955692b37a06547a6c0d62817b0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3f6b853fa4a54712ea2ca20a9aa2f106"><td class="memItemLeft" align="right" valign="top"><a id="a3f6b853fa4a54712ea2ca20a9aa2f106"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a3f6b853fa4a54712ea2ca20a9aa2f106">drawFocusRect</a> (QPainter *, const QWidget *, const QRect &)</td></tr>
- <tr class="memdesc:a3f6b853fa4a54712ea2ca20a9aa2f106"><td class="mdescLeft"> </td><td class="mdescRight">Draw a focus rectangle on a widget using its style. <br /></td></tr>
- <tr class="separator:a3f6b853fa4a54712ea2ca20a9aa2f106"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae1009209978e5bb3f390905b81fb699f"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#ae1009209978e5bb3f390905b81fb699f">drawColorBar</a> (QPainter *painter, const <a class="el" href="class_qwt_color_map.html">QwtColorMap</a> &, const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &, Qt::Orientation, const QRectF &)</td></tr>
- <tr class="separator:ae1009209978e5bb3f390905b81fb699f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5d62fd1bd470fa0d42b7b2e06504a581"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a5d62fd1bd470fa0d42b7b2e06504a581">isAligning</a> (QPainter *painter)</td></tr>
- <tr class="separator:a5d62fd1bd470fa0d42b7b2e06504a581"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af352ad92f1c1dc8cfee0f3d799e2e26e"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#af352ad92f1c1dc8cfee0f3d799e2e26e">isX11GraphicsSystem</a> ()</td></tr>
- <tr class="separator:af352ad92f1c1dc8cfee0f3d799e2e26e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab3207c4d8ee4ce7fd472f8faefb93657"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#ab3207c4d8ee4ce7fd472f8faefb93657">fillPixmap</a> (const QWidget *, QPixmap &, const QPoint &offset=QPoint())</td></tr>
- <tr class="separator:ab3207c4d8ee4ce7fd472f8faefb93657"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a726b908df4fd65a15e0d7ec3862947bc"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#a726b908df4fd65a15e0d7ec3862947bc">drawBackgound</a> (QPainter *painter, const QRectF &rect, const QWidget *widget)</td></tr>
- <tr class="separator:a726b908df4fd65a15e0d7ec3862947bc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad1acc33fc6d94791852d9c07d7e1e94e"><td class="memItemLeft" align="right" valign="top">static QPixmap </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_painter.html#ad1acc33fc6d94791852d9c07d7e1e94e">backingStore</a> (QWidget *, const QSize &)</td></tr>
- <tr class="separator:ad1acc33fc6d94791852d9c07d7e1e94e"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>A collection of QPainter workarounds. </p>
- </div><h2 class="groupheader">Member Function Documentation</h2>
- <a id="ad1acc33fc6d94791852d9c07d7e1e94e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad1acc33fc6d94791852d9c07d7e1e94e">◆ </a></span>backingStore()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QPixmap QwtPainter::backingStore </td>
- <td>(</td>
- <td class="paramtype">QWidget * </td>
- <td class="paramname"><em>widget</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QSize & </td>
- <td class="paramname"><em>size</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>A pixmap that can be used as backing store</dd></dl>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">widget</td><td>Widget, for which the backingstore is intended </td></tr>
- <tr><td class="paramname">size</td><td>Size of the pixmap </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a726b908df4fd65a15e0d7ec3862947bc"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a726b908df4fd65a15e0d7ec3862947bc">◆ </a></span>drawBackgound()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::drawBackgound </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QWidget * </td>
- <td class="paramname"><em>widget</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Fill rect with the background of a widget</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- <tr><td class="paramname">rect</td><td>Rectangle to be filled </td></tr>
- <tr><td class="paramname">widget</td><td>Widget</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section see"><dt>See also</dt><dd>QStyle::PE_Widget, QWidget::backgroundRole() </dd></dl>
- </div>
- </div>
- <a id="ae1009209978e5bb3f390905b81fb699f"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae1009209978e5bb3f390905b81fb699f">◆ </a></span>drawColorBar()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::drawColorBar </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="class_qwt_color_map.html">QwtColorMap</a> & </td>
- <td class="paramname"><em>colorMap</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> & </td>
- <td class="paramname"><em>interval</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> & </td>
- <td class="paramname"><em>scaleMap</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">Qt::Orientation </td>
- <td class="paramname"><em>orientation</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Draw a color bar into a rectangle</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- <tr><td class="paramname">colorMap</td><td>Color map </td></tr>
- <tr><td class="paramname">interval</td><td>Value range </td></tr>
- <tr><td class="paramname">scaleMap</td><td>Scale map </td></tr>
- <tr><td class="paramname">orientation</td><td>Orientation </td></tr>
- <tr><td class="paramname">rect</td><td>Traget rectangle </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a31a3aed24cb13cd2ab3ad5f4cbde4b0f"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a31a3aed24cb13cd2ab3ad5f4cbde4b0f">◆ </a></span>drawFrame()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::drawFrame </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QPalette & </td>
- <td class="paramname"><em>palette</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QPalette::ColorRole </td>
- <td class="paramname"><em>foregroundRole</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>frameWidth</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>midLineWidth</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>frameStyle</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Draw a rectangular frame</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- <tr><td class="paramname">rect</td><td>Frame rectangle </td></tr>
- <tr><td class="paramname">palette</td><td>Palette </td></tr>
- <tr><td class="paramname">foregroundRole</td><td>Foreground role used for QFrame::Plain </td></tr>
- <tr><td class="paramname">frameWidth</td><td>Frame width </td></tr>
- <tr><td class="paramname">midLineWidth</td><td>Used for QFrame::Box </td></tr>
- <tr><td class="paramname">frameStyle</td><td>bitwise OR´ed value of QFrame::Shape and QFrame::Shadow </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a00b91696b5dc3264b54c99e436616804"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a00b91696b5dc3264b54c99e436616804">◆ </a></span>drawRoundedFrame()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::drawRoundedFrame </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>xRadius</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>yRadius</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QPalette & </td>
- <td class="paramname"><em>palette</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>lineWidth</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>frameStyle</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Draw a rectangular frame with rounded borders</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- <tr><td class="paramname">rect</td><td>Frame rectangle </td></tr>
- <tr><td class="paramname">xRadius</td><td>x-radius of the ellipses defining the corners </td></tr>
- <tr><td class="paramname">yRadius</td><td>y-radius of the ellipses defining the corners </td></tr>
- <tr><td class="paramname">palette</td><td>QPalette::WindowText is used for plain borders QPalette::Dark and QPalette::Light for raised or sunken borders </td></tr>
- <tr><td class="paramname">lineWidth</td><td>Line width </td></tr>
- <tr><td class="paramname">frameStyle</td><td>bitwise OR´ed value of QFrame::Shape and QFrame::Shadow </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a388f68022ef77dbdae9d700e104f0976"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a388f68022ef77dbdae9d700e104f0976">◆ </a></span>drawRoundFrame()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::drawRoundFrame </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QPalette & </td>
- <td class="paramname"><em>palette</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>lineWidth</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>frameStyle</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Draw a round frame</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- <tr><td class="paramname">rect</td><td>Frame rectangle </td></tr>
- <tr><td class="paramname">palette</td><td>QPalette::WindowText is used for plain borders QPalette::Dark and QPalette::Light for raised or sunken borders </td></tr>
- <tr><td class="paramname">lineWidth</td><td>Line width </td></tr>
- <tr><td class="paramname">frameStyle</td><td>bitwise OR´ed value of QFrame::Shape and QFrame::Shadow </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a1a44fdbb66452b38d57369a485da3971"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1a44fdbb66452b38d57369a485da3971">◆ </a></span>drawSimpleRichText()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::drawSimpleRichText </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QRectF & </td>
- <td class="paramname"><em>rect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>flags</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QTextDocument & </td>
- <td class="paramname"><em>text</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Draw a text document into a rectangle</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- <tr><td class="paramname">rect</td><td>Traget rectangle </td></tr>
- <tr><td class="paramname">flags</td><td>Alignments/Text flags, see QPainter::drawText() </td></tr>
- <tr><td class="paramname">text</td><td>Text document </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="ab3207c4d8ee4ce7fd472f8faefb93657"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab3207c4d8ee4ce7fd472f8faefb93657">◆ </a></span>fillPixmap()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::fillPixmap </td>
- <td>(</td>
- <td class="paramtype">const QWidget * </td>
- <td class="paramname"><em>widget</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QPixmap & </td>
- <td class="paramname"><em>pixmap</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const QPoint & </td>
- <td class="paramname"><em>offset</em> = <code>QPoint()</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Fill a pixmap with the content of a widget</p>
- <p>In Qt >= 5.0 QPixmap::fill() is a nop, in Qt 4.x it is buggy for backgrounds with gradients. Thus <a class="el" href="class_qwt_painter.html#ab3207c4d8ee4ce7fd472f8faefb93657">fillPixmap()</a> offers an alternative implementation.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">widget</td><td>Widget </td></tr>
- <tr><td class="paramname">pixmap</td><td>Pixmap to be filled </td></tr>
- <tr><td class="paramname">offset</td><td>Offset</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section see"><dt>See also</dt><dd>QPixmap::fill() </dd></dl>
- </div>
- </div>
- <a id="a5d62fd1bd470fa0d42b7b2e06504a581"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a5d62fd1bd470fa0d42b7b2e06504a581">◆ </a></span>isAligning()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool QwtPainter::isAligning </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Check if the painter is using a paint engine, that aligns coordinates to integers. Today these are all paint engines beside QPaintEngine::Pdf and QPaintEngine::SVG.</p>
- <p>If we have an integer based paint engine it is also checked if the painter has a transformation matrix, that rotates or scales.</p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>true, when the painter is aligning</dd></dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_painter.html#a49581f980f2c761852cda08502c96abb">setRoundingAlignment()</a> </dd></dl>
- </div>
- </div>
- <a id="af352ad92f1c1dc8cfee0f3d799e2e26e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af352ad92f1c1dc8cfee0f3d799e2e26e">◆ </a></span>isX11GraphicsSystem()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool QwtPainter::isX11GraphicsSystem </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Check is the application is running with the X11 graphics system that has some special capabilities that can be used for incremental painting to a widget.</p>
- <dl class="section return"><dt>Returns</dt><dd>True, when the graphics system is X11 </dd></dl>
- </div>
- </div>
- <a id="a831cf0efa8a0869ab79307495d7e4590"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a831cf0efa8a0869ab79307495d7e4590">◆ </a></span>polylineSplitting()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool QwtPainter::polylineSplitting </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>True, when line splitting for the raster paint engine is enabled. </dd></dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_painter.html#a174bca411198c64dfff828a15d80ddfb" title="En/Disable line splitting for the raster paint engine.">setPolylineSplitting()</a> </dd></dl>
- </div>
- </div>
- <a id="ae9af230df7bb8d40b802d4f3205a8631"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae9af230df7bb8d40b802d4f3205a8631">◆ </a></span>roundingAlignment() <span class="overload">[1/2]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool QwtPainter::roundingAlignment </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Check whether coordinates should be rounded, before they are painted to a paint engine that rounds to integer values. For other paint engines ( PDF, SVG ), this flag has no effect.</p>
- <dl class="section return"><dt>Returns</dt><dd>True, when rounding is enabled </dd></dl>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_painter.html#a49581f980f2c761852cda08502c96abb">setRoundingAlignment()</a>, <a class="el" href="class_qwt_painter.html#a5d62fd1bd470fa0d42b7b2e06504a581">isAligning()</a> </dd></dl>
- </div>
- </div>
- <a id="ab11788d777ce54a1959bf8387dba6ad9"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab11788d777ce54a1959bf8387dba6ad9">◆ </a></span>roundingAlignment() <span class="overload">[2/2]</span></h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool QwtPainter::roundingAlignment </td>
- <td>(</td>
- <td class="paramtype">QPainter * </td>
- <td class="paramname"><em>painter</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">roundingAlignment()</a> && isAligning(painter); </dd></dl>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">painter</td><td>Painter </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a id="a174bca411198c64dfff828a15d80ddfb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a174bca411198c64dfff828a15d80ddfb">◆ </a></span>setPolylineSplitting()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::setPolylineSplitting </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enable</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>En/Disable line splitting for the raster paint engine. </p>
- <p>In some Qt versions the raster paint engine paints polylines of many points much faster when they are split in smaller chunks: f.e all supported Qt versions >= Qt 5.0 when drawing an antialiased polyline with a pen width >=2.</p>
- <p>Also the raster paint engine has a nasty bug in many versions ( Qt 4.8 - ... ) for short lines ( <a href="https://codereview.qt-project.org/#/c/99456">https://codereview.qt-project.org/#/c/99456</a> ), that is worked around in this mode.</p>
- <p>The default setting is true.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_painter.html#a831cf0efa8a0869ab79307495d7e4590">polylineSplitting()</a> </dd></dl>
- </div>
- </div>
- <a id="a49581f980f2c761852cda08502c96abb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a49581f980f2c761852cda08502c96abb">◆ </a></span>setRoundingAlignment()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QwtPainter::setRoundingAlignment </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enable</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Enable whether coordinates should be rounded, before they are painted to a paint engine that floors to integer values. For other paint engines ( PDF, SVG ) this flag has no effect. <a class="el" href="class_qwt_painter.html" title="A collection of QPainter workarounds.">QwtPainter</a> stores this flag only, the rounding itself is done in the painting code ( f.e the plot items ).</p>
- <p>The default setting is true.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">roundingAlignment()</a>, <a class="el" href="class_qwt_painter.html#a5d62fd1bd470fa0d42b7b2e06504a581">isAligning()</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_painter.html">QwtPainter</a></li>
- <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
- </ul>
- </div>
- </body>
- </html>
|