vselection.cpp
233 m_handleRect[ node_lb ].setRect( m_handleRect[0].left() - handleNodeSize, m_handleRect[0].top() - handleNodeSize, 2 * handleNodeSize, 2 * handleNodeSize );
234 m_handleRect[ node_mb ].setRect( center.x() - handleNodeSize, m_handleRect[0].top() - handleNodeSize, 2 * handleNodeSize, 2 * handleNodeSize );
235 m_handleRect[ node_rb ].setRect( m_handleRect[0].right() - handleNodeSize - (1 / zoomFactor), m_handleRect[0].top() - handleNodeSize, 2 * handleNodeSize, 2 * handleNodeSize );
236 m_handleRect[ node_rm ].setRect( m_handleRect[0].right() - handleNodeSize - (1 / zoomFactor), center.y() - handleNodeSize, 2 * handleNodeSize, 2 * handleNodeSize );
237 m_handleRect[ node_rt ].setRect( m_handleRect[0].right() - handleNodeSize - (1 / zoomFactor) , m_handleRect[0].bottom() - handleNodeSize - (1 / zoomFactor), 2 * handleNodeSize, 2 * handleNodeSize );
238 m_handleRect[ node_mt ].setRect( center.x() - handleNodeSize, m_handleRect[0].bottom() - handleNodeSize - (1 / zoomFactor), 2 * handleNodeSize, 2 * handleNodeSize );
239 m_handleRect[ node_lt ].setRect( m_handleRect[0].left() - handleNodeSize, m_handleRect[0].bottom() - handleNodeSize - (1 / zoomFactor), 2 * handleNodeSize, 2 * handleNodeSize );
240 m_handleRect[ node_lm ].setRect( m_handleRect[0].left() - handleNodeSize, center.y() - handleNodeSize, 2 * handleNodeSize, 2 * handleNodeSize );
Helper class to draw the outline of a composite path, including (?) optionally its bezier helper line...
Definition vdrawselection.h:31
VObject(VObject *parent, VState state=edit)
Constructs a new object that is child of parent and has the given state.
Definition vobject.cpp:36
virtual void setStroke(const VStroke &stroke)
Sets the stroke to a given new stroke.
Definition vobject.cpp:84
void invalidateBoundingBox()
Invalidates the bounding box, so it has to be recalculated.
Definition vobject.h:127
This visitor visits a selection and selects objects that are contained in a paramater selection recta...
Definition vselectobjects.h:39
const VObjectList & objects() const
Read only access to the selected objects.
Definition vselection.h:136
void clear()
Removes the references to all objects, not the objects themselves.
Definition vselection.cpp:195
void draw(VPainter *painter, double zoomFactor) const
Paint selected objects outline and handle.
Definition vselection.cpp:213
TQPtrList< VSegment > getSegments(const KoRect &rect)
Returns a list of segments that have at least one control point inside the specified rect.
Definition vselection.cpp:306
virtual const KoRect & boundingBox() const
Calculates the tightest bounding box around the object.
Definition vselection.cpp:273
VSelection(VObject *parent=0L)
Constructs a vselection with the specified parent.
Definition vselection.cpp:35
void take(VObject &object)
Removes the reference to the object, not the object itself.
Definition vselection.cpp:77
VHandleNode handleNode(const KoPoint &point) const
Returns the handle node id, the KoPoint is inside.
Definition vselection.cpp:294
virtual void visitVSelection(VSelection &selection)
Visit method for a VSelection.
Definition vvisitor.cpp:91
