<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.12"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Engauge Digitizer: Ghosts/GhostPath.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="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">Engauge Digitizer  <span id="projectnumber">2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.12 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> <!-- 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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_e79d424bc8b8e7294ba69d7d9ed7d78c.html">Ghosts</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">GhostPath.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">/******************************************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *</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> </div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#ifndef GHOST_PATH_H</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#define GHOST_PATH_H</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">#include <QBrush></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <QPainterPath></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <QPen></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classGhostPath.html"> 15</a></span> <span class="keyword">class </span><a class="code" href="classGhostPath.html">GhostPath</a></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <a class="code" href="classGhostPath.html">GhostPath</a>(<span class="keyword">const</span> QPainterPath &<a class="code" href="classGhostPath.html#a2c2503b44d38ad37ac67144a5687a3d4">path</a>,</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">const</span> QPen &<a class="code" href="classGhostPath.html#af59462df8c5831d82773c4f8c4bcf4ae">pen</a>,</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">const</span> QBrush &<a class="code" href="classGhostPath.html#af2bb43e2fef6a737ec9d64de1f209e04">brush</a>);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  ~<a class="code" href="classGhostPath.html">GhostPath</a>();</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="classGhostPath.html">GhostPath</a>(<span class="keyword">const</span> <a class="code" href="classGhostPath.html">GhostPath</a> &other);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="classGhostPath.html">GhostPath</a> &<a class="code" href="classGhostPath.html#a88ae061bfad5f765020ca0a0bbf87826">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGhostPath.html">GhostPath</a> &other);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  QBrush <a class="code" href="classGhostPath.html#af2bb43e2fef6a737ec9d64de1f209e04">brush</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  QPainterPath <a class="code" href="classGhostPath.html#a2c2503b44d38ad37ac67144a5687a3d4">path</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  QPen <a class="code" href="classGhostPath.html#af59462df8c5831d82773c4f8c4bcf4ae">pen</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="classGhostPath.html">GhostPath</a>();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  QPainterPath m_path;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  QPen m_pen;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  QBrush m_brush;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> };</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#endif // GHOST_PATH_H</span></div><div class="ttc" id="classGhostPath_html_af2bb43e2fef6a737ec9d64de1f209e04"><div class="ttname"><a href="classGhostPath.html#af2bb43e2fef6a737ec9d64de1f209e04">GhostPath::brush</a></div><div class="ttdeci">QBrush brush() const</div><div class="ttdoc">Get method for brush. </div><div class="ttdef"><b>Definition:</b> <a href="GhostPath_8cpp_source.html#l00038">GhostPath.cpp:38</a></div></div> <div class="ttc" id="classGhostPath_html"><div class="ttname"><a href="classGhostPath.html">GhostPath</a></div><div class="ttdoc">Ghost for a QGraphicsPathItem. </div><div class="ttdef"><b>Definition:</b> <a href="GhostPath_8h_source.html#l00015">GhostPath.h:15</a></div></div> <div class="ttc" id="classGhostPath_html_a2c2503b44d38ad37ac67144a5687a3d4"><div class="ttname"><a href="classGhostPath.html#a2c2503b44d38ad37ac67144a5687a3d4">GhostPath::path</a></div><div class="ttdeci">QPainterPath path() const</div><div class="ttdoc">Get method for path. </div><div class="ttdef"><b>Definition:</b> <a href="GhostPath_8cpp_source.html#l00043">GhostPath.cpp:43</a></div></div> <div class="ttc" id="classGhostPath_html_af59462df8c5831d82773c4f8c4bcf4ae"><div class="ttname"><a href="classGhostPath.html#af59462df8c5831d82773c4f8c4bcf4ae">GhostPath::pen</a></div><div class="ttdeci">QPen pen() const</div><div class="ttdoc">Get method for pen. </div><div class="ttdef"><b>Definition:</b> <a href="GhostPath_8cpp_source.html#l00048">GhostPath.cpp:48</a></div></div> <div class="ttc" id="classGhostPath_html_a88ae061bfad5f765020ca0a0bbf87826"><div class="ttname"><a href="classGhostPath.html#a88ae061bfad5f765020ca0a0bbf87826">GhostPath::operator=</a></div><div class="ttdeci">GhostPath & operator=(const GhostPath &other)</div><div class="ttdoc">Assignment operator. </div><div class="ttdef"><b>Definition:</b> <a href="GhostPath_8cpp_source.html#l00025">GhostPath.cpp:25</a></div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Dec 25 2016 20:54:09 for Engauge Digitizer by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.12 </small></address> </body> </html>