Engauge Digitizer 2
|
Centipede for constant XT using QGraphicsLineItem. More...
#include <CentipedeSegmentConstantXLine.h>
Signals | |
void | signalUpdateEndpoints (QPointF start, QPointF end) |
Send new geometry for later updating. |
Public Member Functions | |
CentipedeSegmentConstantXLine (GraphicsScene &scene, const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen) | |
Constructor with individual coordinates. | |
virtual | ~CentipedeSegmentConstantXLine () |
virtual double | distanceToClosestEndpoint (const QPointF &posScreen) const |
Return distance to closest endpoint. | |
virtual void | updateRadius (double radius) |
Update geometry to reflect cursor movement. | |
Public Member Functions inherited from CentipedeSegmentAbstract | |
CentipedeSegmentAbstract (const DocumentModelGuideline &modelGuideline, const Transformation &transformation, const QPointF &posClickScreen) | |
Constructor with individual coordinates. | |
virtual | ~CentipedeSegmentAbstract () |
Additional Inherited Members | |
Protected Member Functions inherited from CentipedeSegmentAbstract | |
double | closestAngleToCentralAngle (double angleCenter, double angleOld) const |
Loop to find closest angle to angleCenter. | |
const DocumentModelGuideline & | modelGuideline () const |
Settings. | |
QPointF | posClickScreen () const |
Center of circle in screen coordinates. | |
Transformation | transformation () const |
Transformation which is static through the entire lifetime of the Centipede class instances. |
Centipede for constant XT using QGraphicsLineItem.
Definition at line 17 of file CentipedeSegmentConstantXLine.h.
CentipedeSegmentConstantXLine::CentipedeSegmentConstantXLine | ( | GraphicsScene & | scene, |
const DocumentModelGuideline & | modelGuideline, | ||
const Transformation & | transformation, | ||
const QPointF & | posClickScreen ) |
Constructor with individual coordinates.
Definition at line 17 of file CentipedeSegmentConstantXLine.cpp.
|
virtual |
Definition at line 47 of file CentipedeSegmentConstantXLine.cpp.
|
virtual |
Return distance to closest endpoint.
Implements CentipedeSegmentAbstract.
Definition at line 53 of file CentipedeSegmentConstantXLine.cpp.
|
signal |
Send new geometry for later updating.
|
virtual |
Update geometry to reflect cursor movement.
Implements CentipedeSegmentAbstract.
Definition at line 61 of file CentipedeSegmentConstantXLine.cpp.