Logo Search packages:      
Sourcecode: inkscape version File versions

snapped-point.h File Reference


Detailed Description

SnappedPoint class.

Authors: Mathieu Dimanche <mdimanche@free.fr> Diederik van Lierop <mail@diedenrezi.nl>

Released under GNU GPL, read the file 'COPYING' for more information.

Definition in file snapped-point.h.

#include <vector>
#include <list>
#include <libnr/nr-values.h>
#include <2geom/geom.h>

Go to the source code of this file.

Namespaces

namespace  Inkscape

Classes

class  Inkscape::SnappedPoint
 Class describing the result of an attempt to snap. More...

Enumerations

enum  SnapSourceType {
  SNAPSOURCE_UNDEFINED = 0, SNAPSOURCE_BBOX_CORNER, SNAPSOURCE_BBOX_MIDPOINT, SNAPSOURCE_BBOX_EDGE_MIDPOINT,
  SNAPSOURCE_NODE_SMOOTH, SNAPSOURCE_NODE_CUSP, SNAPSOURCE_LINE_MIDPOINT, SNAPSOURCE_OBJECT_MIDPOINT,
  SNAPSOURCE_ROTATION_CENTER, SNAPSOURCE_HANDLE, SNAPSOURCE_PATH_INTERSECTION, SNAPSOURCE_GUIDE,
  SNAPSOURCE_GUIDE_ORIGIN, SNAPSOURCE_CONVEX_HULL_CORNER, SNAPSOURCE_ELLIPSE_QUADRANT_POINT, SNAPSOURCE_CENTER,
  SNAPSOURCE_CORNER, SNAPSOURCE_TEXT_BASELINE
}
enum  SnapTargetType {
  SNAPTARGET_UNDEFINED = 0, SNAPTARGET_GRID, SNAPTARGET_GRID_INTERSECTION, SNAPTARGET_GUIDE,
  SNAPTARGET_GUIDE_INTERSECTION, SNAPTARGET_GUIDE_ORIGIN, SNAPTARGET_GRID_GUIDE_INTERSECTION, SNAPTARGET_NODE_SMOOTH,
  SNAPTARGET_NODE_CUSP, SNAPTARGET_LINE_MIDPOINT, SNAPTARGET_OBJECT_MIDPOINT, SNAPTARGET_ROTATION_CENTER,
  SNAPTARGET_HANDLE, SNAPTARGET_PATH, SNAPTARGET_PATH_INTERSECTION, SNAPTARGET_BBOX_CORNER,
  SNAPTARGET_BBOX_EDGE, SNAPTARGET_BBOX_EDGE_MIDPOINT, SNAPTARGET_BBOX_MIDPOINT, SNAPTARGET_GRADIENTS_PARENT_BBOX,
  SNAPTARGET_PAGE_BORDER, SNAPTARGET_PAGE_CORNER, SNAPTARGET_CONVEX_HULL_CORNER, SNAPTARGET_ELLIPSE_QUADRANT_POINT,
  SNAPTARGET_CENTER, SNAPTARGET_CORNER, SNAPTARGET_TEXT_BASELINE
}

Functions

bool getClosestSP (std::list< Inkscape::SnappedPoint > &list, Inkscape::SnappedPoint &result)


Generated by  Doxygen 1.6.0   Back to index