123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <!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: qwt_symbol.h Source File</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('qwt__symbol_8h_source.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="headertitle">
- <div class="title">qwt_symbol.h</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************</span></div>
- <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Qwt Widget Library</span></div>
- <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 1997 Josef Wilgen</span></div>
- <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (C) 2002 Uwe Rathmann</span></div>
- <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
- <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
- <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *****************************************************************************/</span></div>
- <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div>
- <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifndef QWT_SYMBOL_H</span></div>
- <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#define QWT_SYMBOL_H</span></div>
- <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
- <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "qwt_global.h"</span></div>
- <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <qpolygon.h></span></div>
- <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
- <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">class </span>QPainter;</div>
- <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">class </span>QRect;</div>
- <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">class </span>QSize;</div>
- <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>QBrush;</div>
- <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">class </span>QPen;</div>
- <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">class </span>QColor;</div>
- <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span>QPointF;</div>
- <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">class </span>QPolygonF;</div>
- <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">class </span>QPainterPath;</div>
- <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span>QPixmap;</div>
- <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">class </span>QByteArray;</div>
- <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="class_qwt_graphic.html">QwtGraphic</a>;</div>
- <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
- <div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html"> 30</a></span> <span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_symbol.html">QwtSymbol</a></div>
- <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div>
- <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2f"> 37</a></span>  <span class="keyword">enum</span> <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2f">Style</a></div>
- <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div>
- <div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fac3089b3993834683204a7bda52e763d3"> 40</a></span>  NoSymbol = -1,</div>
- <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
- <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa09e1d50ec759311a76c158f69149fa44"> 43</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa09e1d50ec759311a76c158f69149fa44">Ellipse</a>,</div>
- <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
- <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa3c5d3b8c39e11cc10c6f0c8176bbd235"> 46</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa3c5d3b8c39e11cc10c6f0c8176bbd235">Rect</a>,</div>
- <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
- <div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa952136b2f18abfe1b4712ce9de84dbf4"> 49</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa952136b2f18abfe1b4712ce9de84dbf4">Diamond</a>,</div>
- <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
- <div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa559fad30c36d3e3e2ecad4a21122be79"> 52</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa559fad30c36d3e3e2ecad4a21122be79">Triangle</a>,</div>
- <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
- <div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fad8ea4408d80512825a2700b4968f1715"> 55</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fad8ea4408d80512825a2700b4968f1715">DTriangle</a>,</div>
- <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
- <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fabf99d9afabd98be69e2ee377bbfa85bf"> 58</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fabf99d9afabd98be69e2ee377bbfa85bf">UTriangle</a>,</div>
- <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
- <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa228f6d48261e8b6bc9981370ae65f5e5"> 61</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa228f6d48261e8b6bc9981370ae65f5e5">LTriangle</a>,</div>
- <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
- <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faeb6111f6fc1813efb466687309c873bd"> 64</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faeb6111f6fc1813efb466687309c873bd">RTriangle</a>,</div>
- <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
- <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fab75eff873d34264d84a55cb94b603fef"> 67</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fab75eff873d34264d84a55cb94b603fef">Cross</a>,</div>
- <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
- <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa734e8b9433131230af5d8c319b5529e"> 70</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa734e8b9433131230af5d8c319b5529e">XCross</a>,</div>
- <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
- <div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa3bc949e0e38ccaf908bb58c7c177f7f6"> 73</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa3bc949e0e38ccaf908bb58c7c177f7f6">HLine</a>,</div>
- <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
- <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa041fb14668884dd95527a34beab22fd8"> 76</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa041fb14668884dd95527a34beab22fd8">VLine</a>,</div>
- <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
- <div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa358acf734d29ba274e9f08fa555d8bf5"> 79</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa358acf734d29ba274e9f08fa555d8bf5">Star1</a>,</div>
- <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
- <div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faee962f0906b5571b20737d8aee796f80"> 82</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faee962f0906b5571b20737d8aee796f80">Star2</a>,</div>
- <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
- <div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa8bf81a46e1ee93ea3d8d8c8990b72f36"> 85</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa8bf81a46e1ee93ea3d8d8c8990b72f36">Hexagon</a>,</div>
- <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
- <div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa3cc8fec7843b850f3cde81a6b04394c"> 94</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa3cc8fec7843b850f3cde81a6b04394c">Path</a>,</div>
- <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
- <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa45c8273247748316e5dd359b2d00216c"> 102</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa45c8273247748316e5dd359b2d00216c">Pixmap</a>,</div>
- <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
- <div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa24a49671ffa302f19f28a5c56c6ec0e"> 110</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa24a49671ffa302f19f28a5c56c6ec0e">Graphic</a>,</div>
- <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
- <div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa6e9400c5e295122c0fa825d40d13bb73"> 118</a></span>  <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa6e9400c5e295122c0fa825d40d13bb73">SvgDocument</a>,</div>
- <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
- <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  UserStyle = 1000</div>
- <div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faed4c49ccbda1c85bdc6ea399e8d8cca8"> 126</a></span>  };</div>
- <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
- <div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549"> 149</a></span>  <span class="keyword">enum</span> <a class="code" href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549">CachePolicy</a></div>
- <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  {</div>
- <div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549ac0f276939fbf44c89e93b3a3870abb18"> 152</a></span>  <a class="code" href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549ac0f276939fbf44c89e93b3a3870abb18">NoCache</a>,</div>
- <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
- <div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549af9c909c7a68dd83785c85a0083dcf796"> 155</a></span>  <a class="code" href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549af9c909c7a68dd83785c85a0083dcf796">Cache</a>,</div>
- <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
- <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  AutoCache</div>
- <div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549acaa219da83872a5ea6bec535667037b5"> 164</a></span>  };</div>
- <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
- <div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">public</span>:</div>
- <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>( Style = NoSymbol );</div>
- <div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>( Style, <span class="keyword">const</span> QBrush &, <span class="keyword">const</span> QPen &, <span class="keyword">const</span> QSize & );</div>
- <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>( <span class="keyword">const</span> QPainterPath &, <span class="keyword">const</span> QBrush &, <span class="keyword">const</span> QPen & );</div>
- <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  </div>
- <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_symbol.html">QwtSymbol</a>();</div>
- <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
- <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">void</span> setCachePolicy( CachePolicy );</div>
- <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  CachePolicy cachePolicy() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div>
- <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">void</span> setSize( <span class="keyword">const</span> QSize & );</div>
- <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordtype">void</span> setSize( <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height = -1 );</div>
- <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">const</span> QSize &size() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
- <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">void</span> setPinPoint( <span class="keyword">const</span> QPointF &pos, <span class="keywordtype">bool</span> enable = <span class="keyword">true</span> );</div>
- <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  QPointF pinPoint() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  </div>
- <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordtype">void</span> setPinPointEnabled( <span class="keywordtype">bool</span> );</div>
- <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">bool</span> isPinPointEnabled() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
- <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setColor( <span class="keyword">const</span> QColor & );</div>
- <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  </div>
- <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordtype">void</span> setBrush( <span class="keyword">const</span> QBrush & );</div>
- <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keyword">const</span> QBrush &brush() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  </div>
- <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordtype">void</span> setPen( <span class="keyword">const</span> QColor &, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );</div>
- <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">void</span> setPen( <span class="keyword">const</span> QPen & );</div>
- <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">const</span> QPen &pen() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
- <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">void</span> setStyle( Style );</div>
- <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  Style style() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
- <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">void</span> setPath( <span class="keyword">const</span> QPainterPath & );</div>
- <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">const</span> QPainterPath &path() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
- <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordtype">void</span> setPixmap( <span class="keyword">const</span> QPixmap & );</div>
- <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keyword">const</span> QPixmap &pixmap() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
- <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordtype">void</span> setGraphic( <span class="keyword">const</span> <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> & );</div>
- <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">const</span> <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> &graphic() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
- <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="preprocessor">#ifndef QWT_NO_SVG</span></div>
- <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordtype">void</span> setSvgDocument( <span class="keyword">const</span> QByteArray & );</div>
- <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="preprocessor">#endif</span></div>
- <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  </div>
- <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">void</span> drawSymbol( QPainter *, <span class="keyword">const</span> QRectF & ) <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">void</span> drawSymbol( QPainter *, <span class="keyword">const</span> QPointF & ) <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">void</span> drawSymbols( QPainter *, <span class="keyword">const</span> QPolygonF & ) <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordtype">void</span> drawSymbols( QPainter *,</div>
- <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keyword">const</span> QPointF *, <span class="keywordtype">int</span> numPoints ) <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
- <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">virtual</span> QRect boundingRect() <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordtype">void</span> invalidateCache();</div>
- <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div>
- <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="keyword">protected</span>:</div>
- <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> renderSymbols( QPainter *,</div>
- <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keyword">const</span> QPointF *, <span class="keywordtype">int</span> numPoints ) <span class="keyword">const</span>;</div>
- <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  </div>
- <div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="keyword">private</span>:</div>
- <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="comment">// Disabled copy constructor and operator=</span></div>
- <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_symbol.html">QwtSymbol</a> & );</div>
- <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="class_qwt_symbol.html">QwtSymbol</a> &operator=( <span class="keyword">const</span> <a class="code" href="class_qwt_symbol.html">QwtSymbol</a> & );</div>
- <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  </div>
- <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keyword">class </span>PrivateData;</div>
- <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  PrivateData *d_data;</div>
- <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> };</div>
- <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  </div>
- <div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a112bda84ffbfcbf526613cda04054484"> 239</a></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_symbol.html#a39d74c66ffeeac05e34b6a8be4dca95e">QwtSymbol::drawSymbol</a>(</div>
- <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  QPainter *painter, <span class="keyword">const</span> QPointF &pos )<span class="keyword"> const</span></div>
- <div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="keyword"></span>{</div>
- <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="code" href="class_qwt_symbol.html#a623997cd980c29e7d9cac3718e21cefc">drawSymbols</a>( painter, &pos, 1 );</div>
- <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> }</div>
- <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div>
- <div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="class_qwt_symbol.html#a623997cd980c29e7d9cac3718e21cefc"> 252</a></span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_symbol.html#a623997cd980c29e7d9cac3718e21cefc">QwtSymbol::drawSymbols</a>(</div>
- <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  QPainter *painter, <span class="keyword">const</span> QPolygonF &points )<span class="keyword"> const</span></div>
- <div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="keyword"></span>{</div>
- <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="class_qwt_symbol.html#a623997cd980c29e7d9cac3718e21cefc">drawSymbols</a>( painter, points.data(), points.size() );</div>
- <div class="line"><a name="l00256"></a><span class="lineno"> 256</span> }</div>
- <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
- <div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="preprocessor">#endif</span></div>
- </div><!-- fragment --></div><!-- contents -->
- </div><!-- doc-content -->
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2faa3cc8fec7843b850f3cde81a6b04394c"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa3cc8fec7843b850f3cde81a6b04394c">QwtSymbol::Path</a></div><div class="ttdeci">@ Path</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:94</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa8bf81a46e1ee93ea3d8d8c8990b72f36"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa8bf81a46e1ee93ea3d8d8c8990b72f36">QwtSymbol::Hexagon</a></div><div class="ttdeci">@ Hexagon</div><div class="ttdoc">Hexagon.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:85</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa228f6d48261e8b6bc9981370ae65f5e5"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa228f6d48261e8b6bc9981370ae65f5e5">QwtSymbol::LTriangle</a></div><div class="ttdeci">@ LTriangle</div><div class="ttdoc">Triangle pointing left.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:61</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa3bc949e0e38ccaf908bb58c7c177f7f6"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa3bc949e0e38ccaf908bb58c7c177f7f6">QwtSymbol::HLine</a></div><div class="ttdeci">@ HLine</div><div class="ttdoc">Horizontal line.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:73</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2faa734e8b9433131230af5d8c319b5529e"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa734e8b9433131230af5d8c319b5529e">QwtSymbol::XCross</a></div><div class="ttdeci">@ XCross</div><div class="ttdoc">Diagonal cross (X)</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:70</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa3c5d3b8c39e11cc10c6f0c8176bbd235"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa3c5d3b8c39e11cc10c6f0c8176bbd235">QwtSymbol::Rect</a></div><div class="ttdeci">@ Rect</div><div class="ttdoc">Rectangle.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:46</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa041fb14668884dd95527a34beab22fd8"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa041fb14668884dd95527a34beab22fd8">QwtSymbol::VLine</a></div><div class="ttdeci">@ VLine</div><div class="ttdoc">Vertical line.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:76</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa6e9400c5e295122c0fa825d40d13bb73"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa6e9400c5e295122c0fa825d40d13bb73">QwtSymbol::SvgDocument</a></div><div class="ttdeci">@ SvgDocument</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:118</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fab75eff873d34264d84a55cb94b603fef"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fab75eff873d34264d84a55cb94b603fef">QwtSymbol::Cross</a></div><div class="ttdeci">@ Cross</div><div class="ttdoc">Cross (+)</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:67</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a623997cd980c29e7d9cac3718e21cefc"><div class="ttname"><a href="class_qwt_symbol.html#a623997cd980c29e7d9cac3718e21cefc">QwtSymbol::drawSymbols</a></div><div class="ttdeci">void drawSymbols(QPainter *, const QPolygonF &) const</div><div class="ttdoc">Draw symbols at the specified points.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:252</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa559fad30c36d3e3e2ecad4a21122be79"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa559fad30c36d3e3e2ecad4a21122be79">QwtSymbol::Triangle</a></div><div class="ttdeci">@ Triangle</div><div class="ttdoc">Triangle pointing upwards.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:52</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a39d74c66ffeeac05e34b6a8be4dca95e"><div class="ttname"><a href="class_qwt_symbol.html#a39d74c66ffeeac05e34b6a8be4dca95e">QwtSymbol::drawSymbol</a></div><div class="ttdeci">void drawSymbol(QPainter *, const QRectF &) const</div><div class="ttdoc">Draw the symbol into a rectangle.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.cpp:1406</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_adda2e2c0e5234692adbc530552efd549ac0f276939fbf44c89e93b3a3870abb18"><div class="ttname"><a href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549ac0f276939fbf44c89e93b3a3870abb18">QwtSymbol::NoCache</a></div><div class="ttdeci">@ NoCache</div><div class="ttdoc">Don't use a pixmap cache.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:152</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa09e1d50ec759311a76c158f69149fa44"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa09e1d50ec759311a76c158f69149fa44">QwtSymbol::Ellipse</a></div><div class="ttdeci">@ Ellipse</div><div class="ttdoc">Ellipse or circle.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:43</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_adda2e2c0e5234692adbc530552efd549"><div class="ttname"><a href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549">QwtSymbol::CachePolicy</a></div><div class="ttdeci">CachePolicy</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:150</div></div>
- <div class="ttc" id="aclass_qwt_graphic_html"><div class="ttname"><a href="class_qwt_graphic.html">QwtGraphic</a></div><div class="ttdoc">A paint device for scalable graphics.</div><div class="ttdef"><b>Definition:</b> qwt_graphic.h:75</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fabf99d9afabd98be69e2ee377bbfa85bf"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fabf99d9afabd98be69e2ee377bbfa85bf">QwtSymbol::UTriangle</a></div><div class="ttdeci">@ UTriangle</div><div class="ttdoc">Triangle pointing upwards.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:58</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2faa24a49671ffa302f19f28a5c56c6ec0e"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faa24a49671ffa302f19f28a5c56c6ec0e">QwtSymbol::Graphic</a></div><div class="ttdeci">@ Graphic</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:110</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2faee962f0906b5571b20737d8aee796f80"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faee962f0906b5571b20737d8aee796f80">QwtSymbol::Star2</a></div><div class="ttdeci">@ Star2</div><div class="ttdoc">Six-pointed star.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:82</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html"><div class="ttname"><a href="class_qwt_symbol.html">QwtSymbol</a></div><div class="ttdoc">A class for drawing symbols.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:31</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fad8ea4408d80512825a2700b4968f1715"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fad8ea4408d80512825a2700b4968f1715">QwtSymbol::DTriangle</a></div><div class="ttdeci">@ DTriangle</div><div class="ttdoc">Triangle pointing downwards.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:55</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2faeb6111f6fc1813efb466687309c873bd"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2faeb6111f6fc1813efb466687309c873bd">QwtSymbol::RTriangle</a></div><div class="ttdeci">@ RTriangle</div><div class="ttdoc">Triangle pointing right.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:64</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2f"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2f">QwtSymbol::Style</a></div><div class="ttdeci">Style</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:38</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_adda2e2c0e5234692adbc530552efd549af9c909c7a68dd83785c85a0083dcf796"><div class="ttname"><a href="class_qwt_symbol.html#adda2e2c0e5234692adbc530552efd549af9c909c7a68dd83785c85a0083dcf796">QwtSymbol::Cache</a></div><div class="ttdeci">@ Cache</div><div class="ttdoc">Always use a pixmap cache.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:155</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa45c8273247748316e5dd359b2d00216c"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa45c8273247748316e5dd359b2d00216c">QwtSymbol::Pixmap</a></div><div class="ttdeci">@ Pixmap</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:102</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa952136b2f18abfe1b4712ce9de84dbf4"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa952136b2f18abfe1b4712ce9de84dbf4">QwtSymbol::Diamond</a></div><div class="ttdeci">@ Diamond</div><div class="ttdoc">Diamond.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:49</div></div>
- <div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fa358acf734d29ba274e9f08fa555d8bf5"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fa358acf734d29ba274e9f08fa555d8bf5">QwtSymbol::Star1</a></div><div class="ttdeci">@ Star1</div><div class="ttdoc">X combined with +.</div><div class="ttdef"><b>Definition:</b> qwt_symbol.h:79</div></div>
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_symbol.h</b></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>
|