改进代码

This commit is contained in:
feiyangqingyun
2021-10-08 10:52:05 +08:00
parent f6923b97a2
commit 200b7eeafb
171 changed files with 2894 additions and 1940 deletions

View File

@@ -22,14 +22,14 @@ class QPolygon;
\brief A helper class for translating a series of points
QwtPointMapper is a collection of methods and optimizations
for translating a series of points into paint device coordinates.
It is used by QwtPlotCurve but might also be useful for
for translating a series of points into paint device coordinates.
It is used by QwtPlotCurve but might also be useful for
similar plot items displaying a QwtSeriesData<QPointF>.
*/
class QWT_EXPORT QwtPointMapper
{
public:
/*!
/*!
\brief Flags affecting the transformation process
\sa setFlag(), setFlags()
*/
@@ -38,14 +38,14 @@ public:
//! Round points to integer values
RoundPoints = 0x01,
/*!
/*!
Try to remove points, that are translated to the
same position.
*/
WeedOutPoints = 0x02
};
/*!
/*!
\brief Flags affecting the transformation process
\sa setFlag(), setFlags()
*/
@@ -76,7 +76,7 @@ public:
const QwtSeriesData<QPointF> *series, int from, int to ) const;
QImage toImage( const QwtScaleMap &xMap, const QwtScaleMap &yMap,
const QwtSeriesData<QPointF> *series, int from, int to,
const QwtSeriesData<QPointF> *series, int from, int to,
const QPen &, bool antialiased, uint numThreads ) const;
private: