LibreCAD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lc::UnmanagedDraggable Class Referenceabstract

Draggable that has to remove and add itself from the document. More...

#include <unmanageddraggable.h>

Inheritance diagram for lc::UnmanagedDraggable:

Public Member Functions

virtual void setDragPoint (lc::geo::Coordinate position) const =0
 Function called when a drag point is moved. More...
 
virtual void onDragPointClick (lc::operation::Builder_SPtr builder, unsigned int point) const =0
 Function called when a drag point of the entity is clicked. More...
 
virtual void onDragPointRelease (lc::operation::Builder_SPtr builder) const =0
 Function called when a clicked drag point is released. More...
 

Detailed Description

Draggable that has to remove and add itself from the document.

Definition at line 11 of file unmanageddraggable.h.

Member Function Documentation

virtual void lc::UnmanagedDraggable::onDragPointClick ( lc::operation::Builder_SPtr  builder,
unsigned int  point 
) const
pure virtual

Function called when a drag point of the entity is clicked.

Parameters
builderBuilder to use to remove entities from the document, and keep one undo cycle
pointPoint clicked
virtual void lc::UnmanagedDraggable::onDragPointRelease ( lc::operation::Builder_SPtr  builder) const
pure virtual

Function called when a clicked drag point is released.

Parameters
builderBuilder to use to add entities from the document, and keep one undo cycle
virtual void lc::UnmanagedDraggable::setDragPoint ( lc::geo::Coordinate  position) const
pure virtual

Function called when a drag point is moved.

Parameters
positionnew position of the point

The documentation for this class was generated from the following file: