Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSnapStrategy.h File Reference
#include "KoSnapGuide.h"
#include <QLineF>

Go to the source code of this file.

Classes

class  BoundingBoxSnapStrategy
 snaps to shape bounding boxes More...
 
class  ExtensionSnapStrategy
 snaps extension lines of path shapes More...
 
class  GridSnapStrategy
 snaps to the canvas grid More...
 
class  IntersectionSnapStrategy
 snaps to intersections of shapes More...
 
class  KoSnapStrategy
 
class  NodeSnapStrategy
 snaps to path points More...
 
class  OrthogonalSnapStrategy
 snaps to x- or y-coordinates of path points More...
 

Functions

bool operator< (KoSnapStrategy::SnapType lhs, KoSnapStrategy::SnapType rhs)
 

Function Documentation

◆ operator<()

bool operator< ( KoSnapStrategy::SnapType lhs,
KoSnapStrategy::SnapType rhs )
inline

Definition at line 59 of file KoSnapStrategy.h.

60{
61 return int(lhs) < int(rhs);
62}