Inkscape
Vector Graphics Editor
|
#include <pure-transform.h>
Public Member Functions | |
~PureStretchConstrained () override=default | |
PureStretchConstrained (Geom::Coord magnitude, Geom::Point origin, Geom::Dim2 direction, bool uniform) | |
Geom::Scale | getStretchSnapped () |
Geom::Coord | getMagnitude () |
Geom::Coord | getMagnitudeSnapped () |
![]() | |
virtual | ~PureTransform ()=default |
void | snap (::SnapManager *sm, std::vector< Inkscape::SnapCandidatePoint > const &points, Geom::Point const &pointer) |
Protected Member Functions | |
SnappedPoint | snap (::SnapManager *sm, SnapCandidatePoint const &p, Geom::Point pt_orig, Geom::OptRect const &bbox_to_snap) const override |
Geom::Point | getTransformedPoint (SnapCandidatePoint const &p) const override |
void | storeTransform (SnapCandidatePoint const &original_point, SnappedPoint &snapped_point) override |
Protected Attributes | |
Geom::Coord | _magnitude |
Geom::Scale | _stretch_snapped |
Geom::Point | _origin |
Geom::Dim2 | _direction |
bool | _uniform |
Additional Inherited Members | |
![]() | |
SnappedPoint | best_snapped_point |
Definition at line 128 of file pure-transform.h.
|
overridedefault |
|
inline |
Definition at line 144 of file pure-transform.h.
References _stretch_snapped, and uniform().
|
inline |
Definition at line 157 of file pure-transform.h.
References _magnitude.
Referenced by Inkscape::SelTrans::stretchRequest().
|
inline |
Definition at line 158 of file pure-transform.h.
References _direction, and _stretch_snapped.
|
inline |
Definition at line 156 of file pure-transform.h.
References _stretch_snapped.
Referenced by Inkscape::SelTrans::stretchRequest().
|
overrideprotectedvirtual |
Implements Inkscape::PureTransform.
Definition at line 244 of file pure-transform.cpp.
References _direction, _magnitude, _origin, _uniform, Inkscape::SnapCandidatePoint::getPoint(), Geom::X, and Geom::Y.
|
overrideprotectedvirtual |
Implements Inkscape::PureTransform.
Definition at line 255 of file pure-transform.cpp.
References _direction, _origin, _uniform, and SnapManager::constrainedSnap().
|
overrideprotectedvirtual |
Implements Inkscape::PureTransform.
Definition at line 271 of file pure-transform.cpp.
References _direction, _magnitude, _origin, _stretch_snapped, _uniform, Inkscape::SnapCandidatePoint::getPoint(), Inkscape::SnappedPoint::getPoint(), Geom::infinity(), Inkscape::SnappedPoint::setSecondSnapDistance(), and Inkscape::SnappedPoint::setSnapDistance().
|
protected |
Definition at line 135 of file pure-transform.h.
Referenced by getMagnitudeSnapped(), getTransformedPoint(), snap(), and storeTransform().
|
protected |
Definition at line 132 of file pure-transform.h.
Referenced by getMagnitude(), getTransformedPoint(), and storeTransform().
|
protected |
Definition at line 134 of file pure-transform.h.
Referenced by getTransformedPoint(), snap(), and storeTransform().
|
protected |
Definition at line 133 of file pure-transform.h.
Referenced by getMagnitudeSnapped(), getStretchSnapped(), PureStretchConstrained(), and storeTransform().
|
protected |
Definition at line 136 of file pure-transform.h.
Referenced by getTransformedPoint(), snap(), and storeTransform().