vselectnodes.cpp
78 if( prev->knotIsSelected() || ( prev->isCurve() && prev->isSmooth() && prev->pointIsSelected( prev->degree()-2 ) ) )
107 ( doc->selectionMode() == VDocument::VisibleLayers && ( layer.state() == VObject::normal || layer.state() == VObject::normal_locked ) ) ||
144 ( doc->selectionMode() == VDocument::VisibleLayers && ( layer.state() == VObject::normal || layer.state() == VObject::normal_locked ) ) ||
bool pointIsSelected(int i) const
Returns true if the point with index 0 <= i < degree() is selected.
Definition vsegment.h:173
VSegment * next() const
Returns a pointer to the next not deleted segment, if stored in a VSubpath.
Definition vsegment.cpp:1050
bool isSmooth(const VSegment &next) const
Calculates wether the tangent at the knot is exactly parallel to the tangent at p0 of the next segmen...
Definition vsegment.cpp:700
void selectKnot(bool select=true)
Selects/deselects the knot of this segment.
Definition vsegment.h:197
void selectPoint(int i, bool select=true)
Selects the point with index 0 <= i < degree().
Definition vsegment.h:189
VSegment * prev() const
Returns a pointer to the previous not deleted segment, if stored in a VSubpath.
Definition vsegment.cpp:1037
unsigned short degree() const
Returns the segment's degree, which is identical to the number of nodes.
Definition vsegment.h:77
const KoPoint & point(int i) const
Returns the segment's point with index 0 <= i < degree().
Definition vsegment.h:115
