Engauge Digitizer  2
 All Classes Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | List of all members
CallbackBoundingRects Class Reference

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. More...
 
QPointF boundingRectGraphMax (bool &isEmpty) const
 Graph coordinate bounding rectangle's (xmax,ymax) corner. More...
 
QRectF boundingRectScreen (bool &isEmpty) const
 Screen coordinate bounding rectangle.
 
CallbackSearchReturn callback (const QString &curveName, const Point &point)
 Callback method.
 

Detailed Description

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.

Member Function Documentation

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.


The documentation for this class was generated from the following files: