<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>mpInfoLegend Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <div class="title">mpInfoLegend Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="mpInfoLegend" --><!-- doxytag: inherits="mpInfoLayer" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Implements the legend to be added to the plot This layer allows you to add a legend to describe the plots in the window. </p> <p>The legend uses the layer name as a label, and displays only layers of type mpLAYER_PLOT. </p> </div> <p><code>#include <<a class="el" href="mathplot_8h_source.html">mrpt/otherlibs/mathplot/mathplot.h</a>></code></p> <div class="dynheader"> Inheritance diagram for mpInfoLegend:</div> <div class="dyncontent"> <div class="center"><img src="classmp_info_legend__inherit__graph.png" border="0" usemap="#mp_info_legend_inherit__map" alt="Inheritance graph"/></div> <map name="mp_info_legend_inherit__map" id="mp_info_legend_inherit__map"> <area shape="rect" id="node2" href="classmp_info_layer.html" title="Base class to create small rectangular info boxes mpInfoLayer is the base class to create a small rec..." alt="" coords="10,80,104,107"/><area shape="rect" id="node4" href="classmp_layer.html" title="Plot layer, abstract base class." alt="" coords="21,5,93,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classmp_info_legend-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_legend.html#a27f70621765009a356fc2c932bc7aaac">mpInfoLegend</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a27f70621765009a356fc2c932bc7aaac"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_legend.html#aedc4ee7d12379426ac80e6ad3fd89c12">mpInfoLegend</a> (wxRect rect, const wxBrush *brush=wxTRANSPARENT_BRUSH)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Complete constructor, setting initial rectangle and background brush. <a href="#aedc4ee7d12379426ac80e6ad3fd89c12"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_legend.html#afce2b5f3c6e411ddf472393c6d8121d9">~mpInfoLegend</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#afce2b5f3c6e411ddf472393c6d8121d9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_legend.html#a6e72254cc2552a761f84b8ad4497d4af">UpdateInfo</a> (<a class="el" href="classmp_window.html">mpWindow</a> &w, wxEvent &event)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the content of the info box. <a href="#a6e72254cc2552a761f84b8ad4497d4af"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_legend.html#a5444471c50faf04a952d7f1a91806546">Plot</a> (wxDC &dc, <a class="el" href="classmp_window.html">mpWindow</a> &w)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Plot method. <a href="#a5444471c50faf04a952d7f1a91806546"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a54711e4b80bb20b5cd80aab0e0a34f8e">HasBBox</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classmp_info_layer.html" title="Base class to create small rectangular info boxes mpInfoLayer is the base class to create a small rec...">mpInfoLayer</a> has not bounding box. <a href="#a54711e4b80bb20b5cd80aab0e0a34f8e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a58e554ec2cf13f4ed73e75bd79c221e2">IsInfo</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies that this is an Info box layer. <a href="#a58e554ec2cf13f4ed73e75bd79c221e2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a5e0b7615735297350267a848968dc5a9">Inside</a> (wxPoint &point)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether a point is inside the info box rectangle. <a href="#a5e0b7615735297350267a848968dc5a9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#ae98146fdfd322247e43809a3cd1877ae">Move</a> (wxPoint delta)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves the layer rectangle of given pixel deltas. <a href="#ae98146fdfd322247e43809a3cd1877ae"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#ab3ae71a7227f7367016f398d5a20ee85">UpdateReference</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the rectangle reference point. <a href="#ab3ae71a7227f7367016f398d5a20ee85"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a6f91037d0b38d893491b45804ccbaeea">GetPosition</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the position of the upper left corner of the box (in pixels) <a href="#a6f91037d0b38d893491b45804ccbaeea"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a6b793d80140932dbd536f2365e72faaf">GetSize</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the box (in pixels) <a href="#a6b793d80140932dbd536f2365e72faaf"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const wxRect & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#aa5f5a19aa74c66e93f48feea5be4b156">GetRectangle</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current rectangle coordinates. <a href="#aa5f5a19aa74c66e93f48feea5be4b156"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#adf8df2da43c1dc3f0e382f0ae3698b5a">GetMinX</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get inclusive left border of bounding box. <a href="#adf8df2da43c1dc3f0e382f0ae3698b5a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ad3f65fde6150433717e3d2eb387ab88f">GetMaxX</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get inclusive right border of bounding box. <a href="#ad3f65fde6150433717e3d2eb387ab88f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ae3dbe3838f6494bb1395f486e2c766af">GetMinY</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get inclusive bottom border of bounding box. <a href="#ae3dbe3838f6494bb1395f486e2c766af"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ae30ffdb060c11c9a88be5a3cd718f750">GetMaxY</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get inclusive top border of bounding box. <a href="#ae30ffdb060c11c9a88be5a3cd718f750"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxString </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a463e8f75a2c19fb710078d436ee94f5d">GetName</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get layer name. <a href="#a463e8f75a2c19fb710078d436ee94f5d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const wxFont & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#af13bd4b41d687aca653b85132a08f101">GetFont</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get font set for this layer. <a href="#af13bd4b41d687aca653b85132a08f101"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const wxPen & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ae9520bcefffcc18a948fac21d817a391">GetPen</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get pen set for this layer. <a href="#ae9520bcefffcc18a948fac21d817a391"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a7f07b31cca9bc30591f98fa739a9c3df">SetContinuity</a> (bool continuity)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the 'continuity' property of the layer (true:draws a continuous line, false:draws separate points). <a href="#a7f07b31cca9bc30591f98fa739a9c3df"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#adeab23218fa3f473429ccbd7b40a3f1d">GetContinuity</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the 'continuity' property of the layer. <a href="#adeab23218fa3f473429ccbd7b40a3f1d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a83d3d0e46f840b23eb23630bccf1a3dc">ShowName</a> (bool show)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Shows or hides the text label with the name of the layer (default is visible). <a href="#a83d3d0e46f840b23eb23630bccf1a3dc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#adfeb5ca318a709902e485969f7964caa">SetName</a> (wxString name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set layer name. <a href="#adfeb5ca318a709902e485969f7964caa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a83ea2ceefa0c955e18a2972a066d4f7f">SetFont</a> (wxFont &font)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set layer font. <a href="#a83ea2ceefa0c955e18a2972a066d4f7f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a62bf0a870e470d274dd373bd5f87f94b">SetPen</a> (wxPen pen)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set layer pen. <a href="#a62bf0a870e470d274dd373bd5f87f94b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#afc08c8f852363550e5714959d71806a7">SetDrawOutsideMargins</a> (bool drawModeOutside)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set Draw mode: inside or outside margins. <a href="#afc08c8f852363550e5714959d71806a7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a68faceee0b732f4271e9a9320a218d1d">GetDrawOutsideMargins</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get Draw mode: inside or outside margins. <a href="#a68faceee0b732f4271e9a9320a218d1d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxBitmap </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a513a1d20cc7e3927b2415382737c577c">GetColourSquare</a> (int side=16)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a small square bitmap filled with the colour of the pen used in the layer. <a href="#a513a1d20cc7e3927b2415382737c577c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="mathplot_8h.html#acf8b83e86e129762abc1b70e84db342c">mpLayerType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#aebff4fbed09cc38e04f758c5e6f03a15">GetLayerType</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get layer type: a Layer can be of different types: plot lines, axis, info boxes, etc, this method returns the right value. <a href="#aebff4fbed09cc38e04f758c5e6f03a15"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a22f21390e1bad50af27487c8b48dd494">IsVisible</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Checks whether the layer is visible or not. <a href="#a22f21390e1bad50af27487c8b48dd494"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ab972a81522238b708573cd0b2bbc2578">SetVisible</a> (bool show)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets layer visibility. <a href="#ab972a81522238b708573cd0b2bbc2578"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const wxBrush & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ac27b14f700e6193a936834e3994813c3">GetBrush</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get brush set for this layer. <a href="#ac27b14f700e6193a936834e3994813c3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#abc07f029f172cab8ab80e0bc9b036dfb">SetBrush</a> (wxBrush brush)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set layer brush. <a href="#abc07f029f172cab8ab80e0bc9b036dfb"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a607ac77f719d43452db8956bad419b6d">m_dim</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The bounding rectangle of the box. It may be resized dynamically by the Plot method. <a href="#a607ac77f719d43452db8956bad419b6d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a42beeefd80979bb5abf1cb36f40f459a">m_reference</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the reference point for movements. <a href="#a42beeefd80979bb5abf1cb36f40f459a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxBrush </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#af3366ac05d6f5f15831f380bdcf29ea2">m_brush</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The brush to be used for the background. <a href="#af3366ac05d6f5f15831f380bdcf29ea2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#afce033d2a15c83672c1a5c1e3f69bf18">m_winX</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_info_layer.html#a692d54d636387abc00406de46c744ae3">m_winY</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the <a class="el" href="classmp_window.html" title="Canvas for plotting mpLayer implementations.">mpWindow</a> size. Used to rescale position when window is resized. <a href="#a692d54d636387abc00406de46c744ae3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxFont </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a1b6acab5d04921f905df4bcdbfd334e1">m_font</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Layer's font. <a href="#a1b6acab5d04921f905df4bcdbfd334e1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxPen </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ad24283efc41df6b8f0d80030f0e6a56d">m_pen</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Layer's pen. <a href="#ad24283efc41df6b8f0d80030f0e6a56d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">wxString </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ac0894b3ff9ce5a82524256497599636c">m_name</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Layer's name. <a href="#ac0894b3ff9ce5a82524256497599636c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a59361dc98bdf0cdb1f279f5d86b6b9f5">m_continuous</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Specify if the layer will be plotted as a continuous line or a set of points. <a href="#a59361dc98bdf0cdb1f279f5d86b6b9f5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a634c0423aad7ce8b908b9122952e5d5d">m_showName</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">States whether the name of the layer must be shown (default is true). <a href="#a634c0423aad7ce8b908b9122952e5d5d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a2254c13cc469d401eaa0833a3d4a4034">m_drawOutsideMargins</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">select if the layer should draw only inside margins or over all DC <a href="#a2254c13cc469d401eaa0833a3d4a4034"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="mathplot_8h.html#acf8b83e86e129762abc1b70e84db342c">mpLayerType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#ab84741fba387364a0508e957b2350f57">m_type</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Define layer type, which is assigned by constructor. <a href="#ab84741fba387364a0508e957b2350f57"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmp_layer.html#a6388b1d9d1480546c27d00eb989fe818">m_visible</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Toggles layer visibility. <a href="#a6388b1d9d1480546c27d00eb989fe818"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a27f70621765009a356fc2c932bc7aaac"></a><!-- doxytag: member="mpInfoLegend::mpInfoLegend" ref="a27f70621765009a356fc2c932bc7aaac" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mpInfoLegend::mpInfoLegend </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Default constructor. </p> </div> </div> <a class="anchor" id="aedc4ee7d12379426ac80e6ad3fd89c12"></a><!-- doxytag: member="mpInfoLegend::mpInfoLegend" ref="aedc4ee7d12379426ac80e6ad3fd89c12" args="(wxRect rect, const wxBrush *brush=wxTRANSPARENT_BRUSH)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mpInfoLegend::mpInfoLegend </td> <td>(</td> <td class="paramtype">wxRect </td> <td class="paramname"><em>rect</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const wxBrush * </td> <td class="paramname"><em>brush</em> = <code>wxTRANSPARENT_BRUSH</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Complete constructor, setting initial rectangle and background brush. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">rect</td><td>The initial bounding rectangle. </td></tr> <tr><td class="paramname">brush</td><td>The wxBrush to be used for box background: default is transparent </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmp_info_layer.html#a62253cb9e5aee039c1600ae35d27468d" title="Default constructor.">mpInfoLayer::mpInfoLayer</a> </dd></dl> </div> </div> <a class="anchor" id="afce2b5f3c6e411ddf472393c6d8121d9"></a><!-- doxytag: member="mpInfoLegend::~mpInfoLegend" ref="afce2b5f3c6e411ddf472393c6d8121d9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mpInfoLegend::~mpInfoLegend </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Default destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ac27b14f700e6193a936834e3994813c3"></a><!-- doxytag: member="mpInfoLegend::GetBrush" ref="ac27b14f700e6193a936834e3994813c3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const wxBrush& mpLayer::GetBrush </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get brush set for this layer. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>brush. </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00314">314</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a513a1d20cc7e3927b2415382737c577c"></a><!-- doxytag: member="mpInfoLegend::GetColourSquare" ref="a513a1d20cc7e3927b2415382737c577c" args="(int side=16)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxBitmap mpLayer::GetColourSquare </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>side</em> = <code>16</code></td><td>)</td> <td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get a small square bitmap filled with the colour of the pen used in the layer. </p> <p>Useful to create legends or similar reference to the layers. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">side</td><td>side length in pixels </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>a wxBitmap filled with layer's colour </dd></dl> </div> </div> <a class="anchor" id="adeab23218fa3f473429ccbd7b40a3f1d"></a><!-- doxytag: member="mpInfoLegend::GetContinuity" ref="adeab23218fa3f473429ccbd7b40a3f1d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mpLayer::GetContinuity </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the 'continuity' property of the layer. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmp_layer.html#a7f07b31cca9bc30591f98fa739a9c3df" title="Set the 'continuity' property of the layer (true:draws a continuous line, false:draws separate points...">SetContinuity</a> </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00266">266</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a68faceee0b732f4271e9a9320a218d1d"></a><!-- doxytag: member="mpInfoLegend::GetDrawOutsideMargins" ref="a68faceee0b732f4271e9a9320a218d1d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mpLayer::GetDrawOutsideMargins </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get Draw mode: inside or outside margins. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The draw mode </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00293">293</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="af13bd4b41d687aca653b85132a08f101"></a><!-- doxytag: member="mpInfoLegend::GetFont" ref="af13bd4b41d687aca653b85132a08f101" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const wxFont& mpLayer::GetFont </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get font set for this layer. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Font </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00251">251</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="aebff4fbed09cc38e04f758c5e6f03a15"></a><!-- doxytag: member="mpInfoLegend::GetLayerType" ref="aebff4fbed09cc38e04f758c5e6f03a15" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="mathplot_8h.html#acf8b83e86e129762abc1b70e84db342c">mpLayerType</a> mpLayer::GetLayerType </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get layer type: a Layer can be of different types: plot lines, axis, info boxes, etc, this method returns the right value. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>An integer indicating layer type </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00302">302</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ad3f65fde6150433717e3d2eb387ab88f"></a><!-- doxytag: member="mpInfoLegend::GetMaxX" ref="ad3f65fde6150433717e3d2eb387ab88f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double mpLayer::GetMaxX </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get inclusive right border of bounding box. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Value </dd></dl> <p>Reimplemented in <a class="el" href="classmp_bitmap_layer.html#a6d594813500cabd412d9a466b2e9095f">mpBitmapLayer</a>, <a class="el" href="classmp_movable_object.html#ac72a01f0fb133d40784e6e073d106ef4">mpMovableObject</a>, and <a class="el" href="classmp_f_x_y_vector.html#a1f04de4dfc2f87c0b29f0afcf7132271">mpFXYVector</a>.</p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00188">188</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ae30ffdb060c11c9a88be5a3cd718f750"></a><!-- doxytag: member="mpInfoLegend::GetMaxY" ref="ae30ffdb060c11c9a88be5a3cd718f750" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double mpLayer::GetMaxY </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get inclusive top border of bounding box. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Value </dd></dl> <p>Reimplemented in <a class="el" href="classmp_bitmap_layer.html#afe0a3f0072c582db4de9dcc20000fa77">mpBitmapLayer</a>, <a class="el" href="classmp_movable_object.html#a5311360e42735073340d6b137330d361">mpMovableObject</a>, and <a class="el" href="classmp_f_x_y_vector.html#aeabbeed556f96689f79e451780636ac5">mpFXYVector</a>.</p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00198">198</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="adf8df2da43c1dc3f0e382f0ae3698b5a"></a><!-- doxytag: member="mpInfoLegend::GetMinX" ref="adf8df2da43c1dc3f0e382f0ae3698b5a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double mpLayer::GetMinX </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get inclusive left border of bounding box. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Value </dd></dl> <p>Reimplemented in <a class="el" href="classmp_bitmap_layer.html#a9d75d9e2046dd95f17487647c8c20472">mpBitmapLayer</a>, <a class="el" href="classmp_movable_object.html#a2547ff2de6ff9b9193d66b48dcde131e">mpMovableObject</a>, and <a class="el" href="classmp_f_x_y_vector.html#a0efea77c24defb8c30fc1b6a868bd665">mpFXYVector</a>.</p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00183">183</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ae3dbe3838f6494bb1395f486e2c766af"></a><!-- doxytag: member="mpInfoLegend::GetMinY" ref="ae3dbe3838f6494bb1395f486e2c766af" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double mpLayer::GetMinY </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get inclusive bottom border of bounding box. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Value </dd></dl> <p>Reimplemented in <a class="el" href="classmp_bitmap_layer.html#a06b6b2b66bd116b07340511c2785ddec">mpBitmapLayer</a>, <a class="el" href="classmp_movable_object.html#a540e68e52321a089cec559b79bef167c">mpMovableObject</a>, and <a class="el" href="classmp_f_x_y_vector.html#a16e6eaba8664ccc285c10f86fb941797">mpFXYVector</a>.</p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00193">193</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a463e8f75a2c19fb710078d436ee94f5d"></a><!-- doxytag: member="mpInfoLegend::GetName" ref="a463e8f75a2c19fb710078d436ee94f5d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxString mpLayer::GetName </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get layer name. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Name </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00246">246</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ae9520bcefffcc18a948fac21d817a391"></a><!-- doxytag: member="mpInfoLegend::GetPen" ref="ae9520bcefffcc18a948fac21d817a391" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const wxPen& mpLayer::GetPen </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get pen set for this layer. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Pen </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00256">256</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a6f91037d0b38d893491b45804ccbaeea"></a><!-- doxytag: member="mpInfoLegend::GetPosition" ref="a6f91037d0b38d893491b45804ccbaeea" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxPoint mpInfoLayer::GetPosition </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the position of the upper left corner of the box (in pixels) </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The rectangle position </dd></dl> </div> </div> <a class="anchor" id="aa5f5a19aa74c66e93f48feea5be4b156"></a><!-- doxytag: member="mpInfoLegend::GetRectangle" ref="aa5f5a19aa74c66e93f48feea5be4b156" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const wxRect& mpInfoLayer::GetRectangle </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the current rectangle coordinates. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The info layer rectangle </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00399">399</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a6b793d80140932dbd536f2365e72faaf"></a><!-- doxytag: member="mpInfoLegend::GetSize" ref="a6b793d80140932dbd536f2365e72faaf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxSize mpInfoLayer::GetSize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the size of the box (in pixels) </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The rectangle size </dd></dl> </div> </div> <a class="anchor" id="a54711e4b80bb20b5cd80aab0e0a34f8e"></a><!-- doxytag: member="mpInfoLegend::HasBBox" ref="a54711e4b80bb20b5cd80aab0e0a34f8e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool mpInfoLayer::HasBBox </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classmp_info_layer.html" title="Base class to create small rectangular info boxes mpInfoLayer is the base class to create a small rec...">mpInfoLayer</a> has not bounding box. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmp_layer.html#accf17c5510e6d2fb21974b1cb8a0455e" title="Check whether this layer has a bounding box.">mpLayer::HasBBox</a> </dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd>always <em>FALSE</em> </dd></dl> <p>Reimplemented from <a class="el" href="classmp_layer.html#accf17c5510e6d2fb21974b1cb8a0455e">mpLayer</a>.</p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00364">364</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a5e0b7615735297350267a848968dc5a9"></a><!-- doxytag: member="mpInfoLegend::Inside" ref="a5e0b7615735297350267a848968dc5a9" args="(wxPoint &point)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool mpInfoLayer::Inside </td> <td>(</td> <td class="paramtype">wxPoint & </td> <td class="paramname"><em>point</em></td><td>)</td> <td><code> [virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether a point is inside the info box rectangle. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">point</td><td>The point to be checked </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><em>true</em> if the point is inside the bounding box </dd></dl> </div> </div> <a class="anchor" id="a58e554ec2cf13f4ed73e75bd79c221e2"></a><!-- doxytag: member="mpInfoLegend::IsInfo" ref="a58e554ec2cf13f4ed73e75bd79c221e2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool mpInfoLayer::IsInfo </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Specifies that this is an Info box layer. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>always <em>TRUE</em> </dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmp_layer.html#a10235d5fa7f3a61bb63dd307a6caf0df" title="Check whether the layer is an info box.">mpLayer::IsInfo</a> </dd></dl> <p>Reimplemented from <a class="el" href="classmp_layer.html#a10235d5fa7f3a61bb63dd307a6caf0df">mpLayer</a>.</p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00375">375</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a22f21390e1bad50af27487c8b48dd494"></a><!-- doxytag: member="mpInfoLegend::IsVisible" ref="a22f21390e1bad50af27487c8b48dd494" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mpLayer::IsVisible </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Checks whether the layer is visible or not. </p> <dl class="return"><dt><b>Returns:</b></dt><dd><em>true</em> if visible </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00306">306</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ae98146fdfd322247e43809a3cd1877ae"></a><!-- doxytag: member="mpInfoLegend::Move" ref="ae98146fdfd322247e43809a3cd1877ae" args="(wxPoint delta)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void mpInfoLayer::Move </td> <td>(</td> <td class="paramtype">wxPoint </td> <td class="paramname"><em>delta</em></td><td>)</td> <td><code> [virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Moves the layer rectangle of given pixel deltas. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">delta</td><td>The wxPoint container for delta coordinates along x and y. Units are in pixels. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a5444471c50faf04a952d7f1a91806546"></a><!-- doxytag: member="mpInfoLegend::Plot" ref="a5444471c50faf04a952d7f1a91806546" args="(wxDC &dc, mpWindow &w)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void mpInfoLegend::Plot </td> <td>(</td> <td class="paramtype">wxDC & </td> <td class="paramname"><em>dc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classmp_window.html">mpWindow</a> & </td> <td class="paramname"><em>w</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Plot method. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">dc</td><td>the device content where to plot </td></tr> <tr><td class="paramname">w</td><td>the window to plot </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmp_layer.html#a0c62e377dbdba1956b02bda3a5ac88b4" title="Plot given view of layer to the given device context.">mpLayer::Plot</a> </dd></dl> <p>Reimplemented from <a class="el" href="classmp_info_layer.html#a8153371e97c6073cc4a2df9ccf2e16f5">mpInfoLayer</a>.</p> </div> </div> <a class="anchor" id="abc07f029f172cab8ab80e0bc9b036dfb"></a><!-- doxytag: member="mpInfoLegend::SetBrush" ref="abc07f029f172cab8ab80e0bc9b036dfb" args="(wxBrush brush)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::SetBrush </td> <td>(</td> <td class="paramtype">wxBrush </td> <td class="paramname"><em>brush</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set layer brush. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">brush</td><td>brush, will be copied to internal class member </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00318">318</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a7f07b31cca9bc30591f98fa739a9c3df"></a><!-- doxytag: member="mpInfoLegend::SetContinuity" ref="a7f07b31cca9bc30591f98fa739a9c3df" args="(bool continuity)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::SetContinuity </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>continuity</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set the 'continuity' property of the layer (true:draws a continuous line, false:draws separate points). </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmp_layer.html#adeab23218fa3f473429ccbd7b40a3f1d" title="Gets the 'continuity' property of the layer.">GetContinuity</a> </dd></dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00261">261</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="afc08c8f852363550e5714959d71806a7"></a><!-- doxytag: member="mpInfoLegend::SetDrawOutsideMargins" ref="afc08c8f852363550e5714959d71806a7" args="(bool drawModeOutside)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::SetDrawOutsideMargins </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>drawModeOutside</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set Draw mode: inside or outside margins. </p> <p>Default is outside, which allows the layer to draw up to the <a class="el" href="classmp_window.html" title="Canvas for plotting mpLayer implementations.">mpWindow</a> border. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">drawModeOutside</td><td>The draw mode to be set </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00289">289</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a83ea2ceefa0c955e18a2972a066d4f7f"></a><!-- doxytag: member="mpInfoLegend::SetFont" ref="a83ea2ceefa0c955e18a2972a066d4f7f" args="(wxFont &font)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::SetFont </td> <td>(</td> <td class="paramtype">wxFont & </td> <td class="paramname"><em>font</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set layer font. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">font</td><td>Font, will be copied to internal class member </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00280">280</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="adfeb5ca318a709902e485969f7964caa"></a><!-- doxytag: member="mpInfoLegend::SetName" ref="adfeb5ca318a709902e485969f7964caa" args="(wxString name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::SetName </td> <td>(</td> <td class="paramtype">wxString </td> <td class="paramname"><em>name</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set layer name. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>Name, will be copied to internal class member </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00275">275</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a62bf0a870e470d274dd373bd5f87f94b"></a><!-- doxytag: member="mpInfoLegend::SetPen" ref="a62bf0a870e470d274dd373bd5f87f94b" args="(wxPen pen)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::SetPen </td> <td>(</td> <td class="paramtype">wxPen </td> <td class="paramname"><em>pen</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set layer pen. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">pen</td><td>Pen, will be copied to internal class member </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00285">285</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ab972a81522238b708573cd0b2bbc2578"></a><!-- doxytag: member="mpInfoLegend::SetVisible" ref="ab972a81522238b708573cd0b2bbc2578" args="(bool show)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::SetVisible </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>show</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Sets layer visibility. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">show</td><td>visibility bool. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00310">310</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a83d3d0e46f840b23eb23630bccf1a3dc"></a><!-- doxytag: member="mpInfoLegend::ShowName" ref="a83d3d0e46f840b23eb23630bccf1a3dc" args="(bool show)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mpLayer::ShowName </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>show</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Shows or hides the text label with the name of the layer (default is visible). </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00270">270</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a6e72254cc2552a761f84b8ad4497d4af"></a><!-- doxytag: member="mpInfoLegend::UpdateInfo" ref="a6e72254cc2552a761f84b8ad4497d4af" args="(mpWindow &w, wxEvent &event)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void mpInfoLegend::UpdateInfo </td> <td>(</td> <td class="paramtype"><a class="el" href="classmp_window.html">mpWindow</a> & </td> <td class="paramname"><em>w</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">wxEvent & </td> <td class="paramname"><em>event</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Updates the content of the info box. </p> <p>Unused in this class. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">w</td><td>parent <a class="el" href="classmp_window.html" title="Canvas for plotting mpLayer implementations.">mpWindow</a> from which to obtain information </td></tr> <tr><td class="paramname">event</td><td>The event which called the update. </td></tr> </table> </dd> </dl> <p>Reimplemented from <a class="el" href="classmp_info_layer.html#a47f7ab1cb0ea49e83ce6e6df518011d3">mpInfoLayer</a>.</p> </div> </div> <a class="anchor" id="ab3ae71a7227f7367016f398d5a20ee85"></a><!-- doxytag: member="mpInfoLegend::UpdateReference" ref="ab3ae71a7227f7367016f398d5a20ee85" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void mpInfoLayer::UpdateReference </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Updates the rectangle reference point. </p> <p>Used by internal methods of <a class="el" href="classmp_window.html" title="Canvas for plotting mpLayer implementations.">mpWindow</a> to correctly move mpInfoLayers. </p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="af3366ac05d6f5f15831f380bdcf29ea2"></a><!-- doxytag: member="mpInfoLegend::m_brush" ref="af3366ac05d6f5f15831f380bdcf29ea2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxBrush <a class="el" href="classmp_info_layer.html#af3366ac05d6f5f15831f380bdcf29ea2">mpInfoLayer::m_brush</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The brush to be used for the background. </p> <p>Reimplemented from <a class="el" href="classmp_layer.html#ac3d0ae222700628378471709bc62f76c">mpLayer</a>.</p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00404">404</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a59361dc98bdf0cdb1f279f5d86b6b9f5"></a><!-- doxytag: member="mpInfoLegend::m_continuous" ref="a59361dc98bdf0cdb1f279f5d86b6b9f5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classmp_layer.html#a59361dc98bdf0cdb1f279f5d86b6b9f5">mpLayer::m_continuous</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Specify if the layer will be plotted as a continuous line or a set of points. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00325">325</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a607ac77f719d43452db8956bad419b6d"></a><!-- doxytag: member="mpInfoLegend::m_dim" ref="a607ac77f719d43452db8956bad419b6d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxRect <a class="el" href="classmp_info_layer.html#a607ac77f719d43452db8956bad419b6d">mpInfoLayer::m_dim</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>The bounding rectangle of the box. It may be resized dynamically by the Plot method. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00399">399</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a2254c13cc469d401eaa0833a3d4a4034"></a><!-- doxytag: member="mpInfoLegend::m_drawOutsideMargins" ref="a2254c13cc469d401eaa0833a3d4a4034" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classmp_layer.html#a2254c13cc469d401eaa0833a3d4a4034">mpLayer::m_drawOutsideMargins</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>select if the layer should draw only inside margins or over all DC </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00327">327</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a1b6acab5d04921f905df4bcdbfd334e1"></a><!-- doxytag: member="mpInfoLegend::m_font" ref="a1b6acab5d04921f905df4bcdbfd334e1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxFont <a class="el" href="classmp_layer.html#a1b6acab5d04921f905df4bcdbfd334e1">mpLayer::m_font</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Layer's font. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00318">318</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ac0894b3ff9ce5a82524256497599636c"></a><!-- doxytag: member="mpInfoLegend::m_name" ref="ac0894b3ff9ce5a82524256497599636c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxString <a class="el" href="classmp_layer.html#ac0894b3ff9ce5a82524256497599636c">mpLayer::m_name</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Layer's name. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00324">324</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ad24283efc41df6b8f0d80030f0e6a56d"></a><!-- doxytag: member="mpInfoLegend::m_pen" ref="ad24283efc41df6b8f0d80030f0e6a56d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxPen <a class="el" href="classmp_layer.html#ad24283efc41df6b8f0d80030f0e6a56d">mpLayer::m_pen</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Layer's pen. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00322">322</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a42beeefd80979bb5abf1cb36f40f459a"></a><!-- doxytag: member="mpInfoLegend::m_reference" ref="a42beeefd80979bb5abf1cb36f40f459a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">wxPoint <a class="el" href="classmp_info_layer.html#a42beeefd80979bb5abf1cb36f40f459a">mpInfoLayer::m_reference</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Holds the reference point for movements. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00403">403</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a634c0423aad7ce8b908b9122952e5d5d"></a><!-- doxytag: member="mpInfoLegend::m_showName" ref="a634c0423aad7ce8b908b9122952e5d5d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classmp_layer.html#a634c0423aad7ce8b908b9122952e5d5d">mpLayer::m_showName</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>States whether the name of the layer must be shown (default is true). </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00326">326</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="ab84741fba387364a0508e957b2350f57"></a><!-- doxytag: member="mpInfoLegend::m_type" ref="ab84741fba387364a0508e957b2350f57" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="mathplot_8h.html#acf8b83e86e129762abc1b70e84db342c">mpLayerType</a> <a class="el" href="classmp_layer.html#ab84741fba387364a0508e957b2350f57">mpLayer::m_type</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Define layer type, which is assigned by constructor. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00328">328</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a6388b1d9d1480546c27d00eb989fe818"></a><!-- doxytag: member="mpInfoLegend::m_visible" ref="a6388b1d9d1480546c27d00eb989fe818" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classmp_layer.html#a6388b1d9d1480546c27d00eb989fe818">mpLayer::m_visible</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Toggles layer visibility. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00329">329</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="afce033d2a15c83672c1a5c1e3f69bf18"></a><!-- doxytag: member="mpInfoLegend::m_winX" ref="afce033d2a15c83672c1a5c1e3f69bf18" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="classmp_info_layer.html#afce033d2a15c83672c1a5c1e3f69bf18">mpInfoLayer::m_winX</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00405">405</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> <a class="anchor" id="a692d54d636387abc00406de46c744ae3"></a><!-- doxytag: member="mpInfoLegend::m_winY" ref="a692d54d636387abc00406de46c744ae3" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="classmp_info_layer.html#a692d54d636387abc00406de46c744ae3">mpInfoLayer::m_winY</a><code> [protected, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Holds the <a class="el" href="classmp_window.html" title="Canvas for plotting mpLayer implementations.">mpWindow</a> size. Used to rescale position when window is resized. </p> <p>Definition at line <a class="el" href="mathplot_8h_source.html#l00405">405</a> of file <a class="el" href="mathplot_8h_source.html">mathplot.h</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>