libs/flake
GridSnapStrategy Class Reference
snaps to the canvas grid More...
#include <KoSnapStrategy.h>
Inheritance diagram for GridSnapStrategy:

Public Member Functions | |
| GridSnapStrategy () | |
| virtual QPainterPath | decoration (const KoViewConverter &converter) const |
| virtual bool | snap (const QPointF &mousePosition, KoSnapProxy *proxy, qreal maxSnapDistance) |
Detailed Description
snaps to the canvas grid
Definition at line 118 of file KoSnapStrategy.h.
Constructor & Destructor Documentation
| GridSnapStrategy::GridSnapStrategy | ( | ) |
Definition at line 407 of file KoSnapStrategy.cpp.
Member Function Documentation
| QPainterPath GridSnapStrategy::decoration | ( | const KoViewConverter & | converter | ) | const [virtual] |
returns the current snap strategy decoration
Implements KoSnapStrategy.
Definition at line 459 of file KoSnapStrategy.cpp.
| bool GridSnapStrategy::snap | ( | const QPointF & | mousePosition, | |
| KoSnapProxy * | proxy, | |||
| qreal | maxSnapDistance | |||
| ) | [virtual] |
Implements KoSnapStrategy.
Definition at line 412 of file KoSnapStrategy.cpp.
The documentation for this class was generated from the following files:
