libs/flake
KoSnapProxy Class Reference
This class provides access to different shape related snap targets to snap strategies. More...
#include <KoSnapGuide.h>
Public Member Functions | |
| KoSnapProxy (KoSnapGuide *snapGuide) | |
| KoCanvasBase * | canvas () |
| QList< QPointF > | pointsFromShape (KoShape *shape) |
| QList< QPointF > | pointsInRect (const QRectF &rect) |
| QList< KoPathSegment > | segmentsInRect (const QRectF &rect) |
| QList< KoShape * > | shapes (bool omitEditedShape=false) |
| QList< KoShape * > | shapesInRect (const QRectF &rect, bool omitEditedShape=false) |
Detailed Description
This class provides access to different shape related snap targets to snap strategies.
Definition at line 133 of file KoSnapGuide.h.
Constructor & Destructor Documentation
| KoSnapProxy::KoSnapProxy | ( | KoSnapGuide * | snapGuide | ) |
Definition at line 239 of file KoSnapGuide.cpp.
Member Function Documentation
| KoCanvasBase * KoSnapProxy::canvas | ( | ) |
returns canvas we are working on
Definition at line 371 of file KoSnapGuide.cpp.
returns list of points from given shape
Definition at line 274 of file KoSnapGuide.cpp.
returns list of points in given rectangle in document coordinates
Definition at line 244 of file KoSnapGuide.cpp.
| QList< KoPathSegment > KoSnapProxy::segmentsInRect | ( | const QRectF & | rect | ) |
returns list of points in given rectangle in document coordinates
Definition at line 315 of file KoSnapGuide.cpp.
returns list of all shapes
Definition at line 350 of file KoSnapGuide.cpp.
returns list of shape in given rectangle in document coordinates
Definition at line 258 of file KoSnapGuide.cpp.
The documentation for this class was generated from the following files:
