QCAD
Open Source 2D CAD
RRestrictVertical.h
Go to the documentation of this file.
1 
20 #ifndef RRESTRICTVERTICAL_H
21 #define RRESTRICTVERTICAL_H
22 
23 #include "snap_global.h"
24 
25 #include "RRestrictOrthogonal.h"
26 
27 class RDocumentInterface;
28 
37 public:
39  : RRestrictOrthogonal(documentInterface) {
40  mode = RS::OrthoVertical;
41  }
42  virtual ~RRestrictVertical() {}
43 
44  //virtual RVector restrictSnap(const RVector& position, const RVector& relativeZero);
45 };
46 
48 
49 #endif
snap_global.h
RRestrictOrthogonal.h
QCADSNAP_EXPORT
#define QCADSNAP_EXPORT
Definition: snap_global.h:10
RRestrictVertical
Vertical snap restriction implementation.
Definition: RRestrictVertical.h:36
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
RS::OrthoVertical
@ OrthoVertical
Definition: RS.h:196
RRestrictVertical::~RRestrictVertical
virtual ~RRestrictVertical()
Definition: RRestrictVertical.h:42
RRestrictVertical::RRestrictVertical
RRestrictVertical(RDocumentInterface *documentInterface)
Definition: RRestrictVertical.h:38
RDocumentInterface
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:85
RRestrictOrthogonal
Orthogonal snap restriction implementation.
Definition: RRestrictOrthogonal.h:36