Engauge Digitizer 2
|
Project a point along the horizontal direction in graph coordinates to produce a line segment along the constant-y direction, passing through a specified point. More...
#include <GuidelineProjectorConstantY.h>
Public Member Functions | |
GuidelineProjectorConstantY () | |
Single constructor. | |
~GuidelineProjectorConstantY () | |
QLineF | fromCoordinateY (const Transformation &transformation, const QRectF &sceneRect, double yGraph) |
Return line through y 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 horizontal direction in graph coordinates to produce a line segment along the constant-y direction, passing through a specified point.
Definition at line 20 of file GuidelineProjectorConstantY.h.
GuidelineProjectorConstantY::GuidelineProjectorConstantY | ( | ) |
GuidelineProjectorConstantY::~GuidelineProjectorConstantY | ( | ) |
Definition at line 17 of file GuidelineProjectorConstantY.cpp.
QLineF GuidelineProjectorConstantY::fromCoordinateY | ( | const Transformation & | transformation, |
const QRectF & | sceneRect, | ||
double | yGraph ) |
Return line through y in graph coordinates.
Definition at line 54 of file GuidelineProjectorConstantY.cpp.
QLineF GuidelineProjectorConstantY::fromPosScreen | ( | const Transformation & | transformation, |
const QRectF & | sceneRect, | ||
const QPointF & | posScreen ) |
Return line through point in screen coordinates.
Definition at line 83 of file GuidelineProjectorConstantY.cpp.