📄 class_qwt_scale_map.html
字号:
Definition at line <a class="el" href="qwt__scale__map_8cpp-source.html#l00194">194</a> of file <a class="el" href="qwt__scale__map_8cpp-source.html">qwt_scale_map.cpp</a>.<p>References <a class="el" href="qwt__scale__map_8h-source.html#l00038">QwtScaleTransformation::type()</a>. </td> </tr></table><a class="anchor" name="aa33bc8e1aed7aa17d345053194e7094"></a><!-- doxytag: member="QwtScaleMap::setScaleInterval" ref="aa33bc8e1aed7aa17d345053194e7094" args="(double s1, double s2)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtScaleMap::setScaleInterval </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>s1</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>s2</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the borders of the scale interval. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>s1</em> </td><td>first border </td></tr> <tr><td valign="top"></td><td valign="top"><em>s2</em> </td><td>second border </td></tr> </table></dl><dl compact><dt><b>Warning:</b></dt><dd>logarithmic scales might be aligned to [LogMin, LogMax] </dd></dl><p>Definition at line <a class="el" href="qwt__scale__map_8cpp-source.html#l00153">153</a> of file <a class="el" href="qwt__scale__map_8cpp-source.html">qwt_scale_map.cpp</a>.<p>References <a class="el" href="qwt__scale__map_8h-source.html#l00087">LogMax</a>, <a class="el" href="qwt__scale__map_8h-source.html#l00086">LogMin</a>, and <a class="el" href="qwt__scale__map_8h-source.html#l00038">QwtScaleTransformation::type()</a>.<p>Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00626">QwtPlot::canvasMap()</a>, <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00400">QwtPlotSpectrogram::renderImage()</a>, <a class="el" href="qwt__scale__map_8cpp-source.html#l00130">setTransformation()</a>, and <a class="el" href="qwt__plot__svgitem_8cpp-source.html#l00254">QwtPlotSvgItem::viewBox()</a>. </td> </tr></table><a class="anchor" name="37edc7ef45ce0958927f17ca96f91dde"></a><!-- doxytag: member="QwtScaleMap::setTransformation" ref="37edc7ef45ce0958927f17ca96f91dde" args="(QwtScaleTransformation *)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtScaleMap::setTransformation </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_scale_transformation.html">QwtScaleTransformation</a> * </td> <td class="mdname1" valign="top" nowrap> <em>transformation</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Initialize the map with a transformation <p>Definition at line <a class="el" href="qwt__scale__map_8cpp-source.html#l00130">130</a> of file <a class="el" href="qwt__scale__map_8cpp-source.html">qwt_scale_map.cpp</a>.<p>References <a class="el" href="qwt__scale__map_8cpp-source.html#l00153">setScaleInterval()</a>, and <a class="el" href="qwt__scale__map_8cpp-source.html#l00142">transformation()</a>.<p>Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00626">QwtPlot::canvasMap()</a>. </td> </tr></table><a class="anchor" name="1ddda39f41e137560e625a8c66c1d2e1"></a><!-- doxytag: member="QwtScaleMap::transform" ref="1ddda39f41e137560e625a8c66c1d2e1" args="(double x) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int QwtScaleMap::transform </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>s</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Transform a point related to the scale interval into an point related to the interval of the paint device and round it to an integer. (In Qt <= 3.x paint devices are integer based. )<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_map.html#053cad00dd463f45c7e1591c9f2d8296">QwtScaleMap::xTransform</a> </dd></dl><p>Definition at line <a class="el" href="qwt__scale__map_8h-source.html#l00175">175</a> of file <a class="el" href="qwt__scale__map_8h-source.html">qwt_scale_map.h</a>.<p>References <a class="el" href="qwt__scale__map_8h-source.html#l00146">xTransform()</a>.<p>Referenced by <a class="el" href="qwt__plot__curve_8cpp-source.html#l01091">QwtPlotCurve::closePolyline()</a>, <a class="el" href="qwt__plot__marker_8cpp-source.html#l00120">QwtPlotMarker::draw()</a>, <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00566">QwtPlotSpectrogram::drawContourLines()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l00818">QwtPlotCurve::drawDots()</a>, <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00162">QwtRoundScaleDraw::drawLabel()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l00914">QwtPlotCurve::drawSteps()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l00788">QwtPlotCurve::drawSticks()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l01128">QwtPlotCurve::drawSymbols()</a>, <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00207">QwtRoundScaleDraw::drawTick()</a>, <a class="el" href="qwt__round__scale__draw_8cpp-source.html#l00269">QwtRoundScaleDraw::extent()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00356">QwtScaleDraw::labelPosition()</a>, <a class="el" href="qwt__plot__panner_8cpp-source.html#l00130">QwtPlotPanner::moveCanvas()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00351">QwtPlotPicker::transform()</a>, and <a class="el" href="qwt__plot__item_8cpp-source.html#l00501">QwtPlotItem::transform()</a>. </td> </tr></table><a class="anchor" name="67bd65d38340ccf2c7e7623cf9bbc0e5"></a><!-- doxytag: member="QwtScaleMap::transformation" ref="67bd65d38340ccf2c7e7623cf9bbc0e5" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const <a class="el" href="class_qwt_scale_transformation.html">QwtScaleTransformation</a> * QwtScaleMap::transformation </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Get the transformation. <p><p>Definition at line <a class="el" href="qwt__scale__map_8cpp-source.html#l00142">142</a> of file <a class="el" href="qwt__scale__map_8cpp-source.html">qwt_scale_map.cpp</a>.<p>Referenced by <a class="el" href="qwt__scale__widget_8cpp-source.html#l00840">QwtScaleWidget::setScaleDiv()</a>, and <a class="el" href="qwt__scale__map_8cpp-source.html#l00130">setTransformation()</a>. </td> </tr></table><a class="anchor" name="053cad00dd463f45c7e1591c9f2d8296"></a><!-- doxytag: member="QwtScaleMap::xTransform" ref="053cad00dd463f45c7e1591c9f2d8296" args="(double x) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">double QwtScaleMap::xTransform </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>s</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Transform a point related to the scale interval into an point related to the interval of the paint device <p>Definition at line <a class="el" href="qwt__scale__map_8h-source.html#l00146">146</a> of file <a class="el" href="qwt__scale__map_8h-source.html">qwt_scale_map.h</a>.<p>References <a class="el" href="qwt__scale__map_8h-source.html#l00038">QwtScaleTransformation::type()</a>, and <a class="el" href="qwt__scale__map_8cpp-source.html#l00047">QwtScaleTransformation::xForm()</a>.<p>Referenced by <a class="el" href="qwt__plot__curve_8cpp-source.html#l01211">QwtPlotCurve::closestPoint()</a>, <a class="el" href="qwt__plot__curve_8cpp-source.html#l00659">QwtPlotCurve::drawLines()</a>, <a class="el" href="qwt__scale__map_8h-source.html#l00175">transform()</a>, and <a class="el" href="qwt__plot__svgitem_8cpp-source.html#l00254">QwtPlotSvgItem::viewBox()</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:25:54 2007 for Qwt User's Guide by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -