Engauge Digitizer 2
|
Callback for computing the bounding rectangles of the screen and graph coordinates of the points in the Document. More...
#include <CallbackBoundingRects.h>
Public Member Functions | |
CallbackBoundingRects (DocumentAxesPointsRequired documentAxesPointsRequired, const Transformation &transformation) | |
Single constructor. | |
QPointF | boundingRectGraphMin (bool &isEmpty) const |
Graph coordinate bounding rectangle's (xmin,ymin) corner. | |
QPointF | boundingRectGraphMax (bool &isEmpty) const |
Graph coordinate bounding rectangle's (xmax,ymax) corner. | |
QRectF | boundingRectScreen (bool &isEmpty) const |
Screen coordinate bounding rectangle. | |
CallbackSearchReturn | callback (const QString &curveName, const Point &point) |
Callback method. |
Callback for computing the bounding rectangles of the screen and graph coordinates of the points in the Document.
Definition at line 20 of file CallbackBoundingRects.h.
CallbackBoundingRects::CallbackBoundingRects | ( | DocumentAxesPointsRequired | documentAxesPointsRequired, |
const Transformation & | transformation ) |
Single constructor.
Definition at line 15 of file CallbackBoundingRects.cpp.
QPointF CallbackBoundingRects::boundingRectGraphMax | ( | bool & | isEmpty | ) | const |
Graph coordinate bounding rectangle's (xmax,ymax) corner.
QRectF is not returned since it rounds off the smaller coordinates to zero when large dynamic ranges appear, and those zeros break the log scale algorithm
Definition at line 26 of file CallbackBoundingRects.cpp.
QPointF CallbackBoundingRects::boundingRectGraphMin | ( | bool & | isEmpty | ) | const |
Graph coordinate bounding rectangle's (xmin,ymin) corner.
QRectF is not returned since it rounds off the smaller coordinates to zero when large dynamic ranges appear, and those zeros break the log scale algorithm
Definition at line 34 of file CallbackBoundingRects.cpp.
QRectF CallbackBoundingRects::boundingRectScreen | ( | bool & | isEmpty | ) | const |
Screen coordinate bounding rectangle.
Definition at line 42 of file CallbackBoundingRects.cpp.
CallbackSearchReturn CallbackBoundingRects::callback | ( | const QString & | curveName, |
const Point & | point ) |
Callback method.
Definition at line 51 of file CallbackBoundingRects.cpp.