QwtPointMapper(3) | Qwt User's Guide | QwtPointMapper(3) |
QwtPointMapper - A helper class for translating a series of points.
#include <qwt_point_mapper.h>
enum TransformationFlag { RoundPoints = 0x01,
WeedOutPoints = 0x02 }
Flags affecting the transformation process. typedef QFlags<
TransformationFlag > TransformationFlags
Flags affecting the transformation process.
QwtPointMapper ()
Constructor. ~QwtPointMapper ()
Destructor. void setFlags (TransformationFlags)
TransformationFlags flags () const
void setFlag (TransformationFlag, bool on=true)
bool testFlag (TransformationFlag) const
void setBoundingRect (const QRectF &)
QRectF boundingRect () const
QPolygonF toPolygonF (const QwtScaleMap &xMap, const
QwtScaleMap &yMap, const QwtSeriesData< QPointF >
*series, int from, int to) const
Translate a series of points into a QPolygonF. QPolygon toPolygon
(const QwtScaleMap &xMap, const QwtScaleMap &yMap,
const QwtSeriesData< QPointF > *series, int from, int to) const
Translate a series of points into a QPolygon. QPolygon toPoints (const
QwtScaleMap &xMap, const QwtScaleMap &yMap, const
QwtSeriesData< QPointF > *series, int from, int to) const
Translate a series of points into a QPolygon. QPolygonF toPointsF
(const QwtScaleMap &xMap, const QwtScaleMap &yMap,
const QwtSeriesData< QPointF > *series, int from, int to) const
Translate a series into a QPolygonF. QImage toImage (const
QwtScaleMap &xMap, const QwtScaleMap &yMap, const
QwtSeriesData< QPointF > *series, int from, int to, const QPen
&, bool antialiased, uint numThreads) const
Translate a series into a QImage.
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 similar plot items displaying a QwtSeriesData<QPointF>.
Flags affecting the transformation process.
See also:
Flags affecting the transformation process.
See also:
Enumerator
Returns:
See also:
Returns:
See also:
Set a bounding rectangle for the point mapping algorithm
A valid bounding rectangle can be used for optimizations
Parameters:
See also:
Modify a flag affecting the transformation process
Parameters:
See also:
Set the flags affecting the transformation process
Parameters:
See also:
Returns:
Parameters:
See also:
Translate a series into a QImage.
Parameters:
Returns:
Translate a series of points into a QPolygon.
Parameters:
Returns:
Translate a series into a QPolygonF.
When RoundPoints is set all points are rounded to integers but returned as PolygonF - what only makes sense when the further processing of the values need a QPolygonF.
Parameters:
Returns:
Translate a series of points into a QPolygon. When the WeedOutPoints flag is enabled consecutive points, that are mapped to the same position will be one point.
Parameters:
Returns:
Translate a series of points into a QPolygonF. When the WeedOutPoints flag is enabled consecutive points, that are mapped to the same position will be one point.
When RoundPoints is set all points are rounded to integers but returned as PolygonF - what only makes sense when the further processing of the values need a QPolygonF.
Parameters:
Returns:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |