|
Engauge Digitizer 2
|
Project a point along the vertical direction in graph coordinates to produce a line segment along the constant-x direction, passing through a specified point. More...
#include <GuidelineProjectorConstantX.h>


Public Member Functions | |
| GuidelineProjectorConstantX () | |
| Single constructor. | |
| ~GuidelineProjectorConstantX () | |
| QLineF | fromCoordinateX (const Transformation &transformation, const QRectF &sceneRect, double xGraph) |
| Return line through x in graph coordinates. | |
| QLineF | fromPosScreen (const Transformation &transformation, const QRectF &sceneRect, const QPointF &posScreen) |
| Return line through point in screen coordinates. | |
| Public Member Functions inherited from GuidelineProjectorAbstract | |
| GuidelineProjectorAbstract () | |
| Single constructor. | |
| ~GuidelineProjectorAbstract () | |
Additional Inherited Members | |
| Protected Member Functions inherited from GuidelineProjectorAbstract | |
| void | calculateCorners (const Transformation &transformation, const QRectF &sceneRect, QPointF &posGraphBL, QPointF &posGraphTL, QPointF &posGraphTR, QPointF &posGraphBR) const |
| Conpute four corners of scene in graph coordinates. | |
| bool | isOutside (const QRectF &sceneRect, const QPointF &posScreen) const |
| Return true if point is outside of the scene. | |
Project a point along the vertical direction in graph coordinates to produce a line segment along the constant-x direction, passing through a specified point.
Definition at line 20 of file GuidelineProjectorConstantX.h.
| GuidelineProjectorConstantX::GuidelineProjectorConstantX | ( | ) |
| GuidelineProjectorConstantX::~GuidelineProjectorConstantX | ( | ) |
Definition at line 17 of file GuidelineProjectorConstantX.cpp.
| QLineF GuidelineProjectorConstantX::fromCoordinateX | ( | const Transformation & | transformation, |
| const QRectF & | sceneRect, | ||
| double | xGraph ) |
Return line through x in graph coordinates.
Definition at line 54 of file GuidelineProjectorConstantX.cpp.
| QLineF GuidelineProjectorConstantX::fromPosScreen | ( | const Transformation & | transformation, |
| const QRectF & | sceneRect, | ||
| const QPointF & | posScreen ) |
Return line through point in screen coordinates.
Definition at line 83 of file GuidelineProjectorConstantX.cpp.