7 #ifndef CALLBACK_BOUNDING_RECTS_H
8 #define CALLBACK_BOUNDING_RECTS_H
10 #include "CallbackSearchReturn.h"
11 #include "DocumentAxesPointsRequired.h"
15 #include "Transformation.h"
41 CallbackSearchReturn
callback (
const QString &curveName,
47 void mergeCoordinateX (
const QPointF &pos,
48 QPointF &boundingRectMin,
49 QPointF &boundingRectMax,
51 void mergeCoordinateY (
const QPointF &pos,
52 QPointF &boundingRectMin,
53 QPointF &boundingRectMax,
56 DocumentAxesPointsRequired m_documentAxesPointsRequired;
59 bool m_isEmptyScreenX;
60 bool m_isEmptyScreenY;
62 QPointF m_boundingRectGraphMin;
63 QPointF m_boundingRectGraphMax;
64 QPointF m_boundingRectScreenMin;
65 QPointF m_boundingRectScreenMax;
68 #endif // CALLBACK_BOUNDING_RECTS_H
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
QPointF boundingRectGraphMax(bool &isEmpty) const
Graph coordinate bounding rectangle's (xmax,ymax) corner.
QPointF boundingRectGraphMin(bool &isEmpty) const
Graph coordinate bounding rectangle's (xmin,ymin) corner.
QRectF boundingRectScreen(bool &isEmpty) const
Screen coordinate bounding rectangle.
Callback for computing the bounding rectangles of the screen and graph coordinates of the points in t...