Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 865

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_dd37c879693a21e1d65a2840272c12ab.html">graphics</a>
  </div>
</div>
<div class="contents">
<h1>DataView.h</h1><a href="DataView_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span>
<a name="l00002"></a>00002 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef _DataView_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _DataView_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="ViewBase_8h.html" title="hippodraw::ViewBase class interface">ViewBase.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">namespace </span>hippodraw {
<a name="l00022"></a>00022 
<a name="l00030"></a><a class="code" href="classhippodraw_1_1DataView.html">00030</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1DataView.html" title="The abstract base class for views that have a region for drawing data points with...">DataView</a> : <span class="keyword">virtual</span> <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a>
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="keyword">private</span>:
<a name="l00034"></a>00034 
<a name="l00036"></a>00036   <a class="code" href="classhippodraw_1_1DataView.html" title="The abstract base class for views that have a region for drawing data points with...">DataView</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataView.html" title="The abstract base class for views that have a region for drawing data points with...">DataView</a> &amp; );
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="keyword">protected</span>:
<a name="l00039"></a>00039 
<a name="l00041"></a>00041   <a class="code" href="classhippodraw_1_1DataView.html" title="The abstract base class for views that have a region for drawing data points with...">DataView</a>();
<a name="l00042"></a>00042 
<a name="l00048"></a><a class="code" href="classhippodraw_1_1DataView.html#a5e8a764f031ecf7ec2a55dfa69a29a4c">00048</a>   <a class="code" href="classhippodraw_1_1Rect.html" title="Class representing a rectangle.">Rect</a>    m_margin_rect; 
<a name="l00049"></a>00049 
<a name="l00052"></a>00052   <a class="code" href="classhippodraw_1_1DataView.html" title="The abstract base class for views that have a region for drawing data points with...">DataView</a> ( <a class="code" href="classhippodraw_1_1PlotterBase.html" title="The base class for the PlotterBase hierarchy.">PlotterBase</a> * plotter );
<a name="l00053"></a>00053 
<a name="l00055"></a>00055   <span class="keyword">virtual</span> ~<a class="code" href="classhippodraw_1_1DataView.html" title="The abstract base class for views that have a region for drawing data points with...">DataView</a>();
<a name="l00056"></a>00056 
<a name="l00059"></a>00059   <span class="keywordtype">void</span> prepareMarginRect ( );
<a name="l00060"></a>00060 
<a name="l00063"></a>00063   <span class="keyword">virtual</span> <span class="keywordtype">float</span> userToMarginX ( <span class="keywordtype">double</span> x ) <span class="keyword">const</span>;
<a name="l00064"></a>00064 
<a name="l00067"></a>00067   <span class="keyword">virtual</span> <span class="keywordtype">float</span> userToInvertedMarginX ( <span class="keywordtype">double</span> x ) <span class="keyword">const</span>;
<a name="l00068"></a>00068 
<a name="l00071"></a>00071   <span class="keyword">virtual</span> <span class="keywordtype">float</span> userToMarginY ( <span class="keywordtype">double</span> y ) <span class="keyword">const</span>;
<a name="l00072"></a>00072 
<a name="l00076"></a>00076   <span class="keyword">virtual</span> <span class="keywordtype">float</span> userToInvertedMarginY ( <span class="keywordtype">double</span> y ) <span class="keyword">const</span>;
<a name="l00077"></a>00077 
<a name="l00080"></a>00080   <span class="keyword">virtual</span> <span class="keywordtype">float</span> userToMarginColor ( <span class="keywordtype">double</span> c ) <span class="keyword">const</span>;
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 
<a name="l00086"></a>00086   <span class="keyword">virtual</span> <span class="keywordtype">double</span> marginToUserX ( <span class="keywordtype">double</span> x ) <span class="keyword">const</span>;
<a name="l00087"></a>00087 
<a name="l00091"></a>00091   <span class="keyword">virtual</span> <span class="keywordtype">double</span> marginToInvertedUserX ( <span class="keywordtype">double</span> x ) <span class="keyword">const</span>;
<a name="l00092"></a>00092 
<a name="l00096"></a>00096   <span class="keyword">virtual</span> <span class="keywordtype">double</span> marginToUserY ( <span class="keywordtype">double</span> y ) <span class="keyword">const</span>;
<a name="l00097"></a>00097 
<a name="l00101"></a>00101   <span class="keyword">virtual</span> <span class="keywordtype">double</span> marginToInvertedUserY ( <span class="keywordtype">double</span> y ) <span class="keyword">const</span>;
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 
<a name="l00104"></a>00104  <span class="keyword">public</span>:
<a name="l00105"></a>00105 
<a name="l00108"></a>00108   <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Rect.html" title="Class representing a rectangle.">Rect</a> &amp; getMarginRect () <span class="keyword">const</span>;
<a name="l00109"></a>00109 
<a name="l00114"></a>00114   <span class="keywordtype">void</span> setMarginRect ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Rect.html" title="Class representing a rectangle.">Rect</a> &amp; );
<a name="l00115"></a>00115 
<a name="l00116"></a>00116 };
<a name="l00117"></a>00117 
<a name="l00118"></a>00118 } <span class="comment">// namespace hippodraw</span>
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="preprocessor">#endif // _DataView_H_</span>
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>