X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsnap-enums.h;h=aa5db9328115082d8efb6e8d226493af0fc6af63;hb=8a2e76b7021b9b960d7c30801a1a14461d9b5939;hp=4e6854054df213dad7d3ee19e29ab2d74e355eac;hpb=ae73b82cf10057153a43afdcb1f3a22deac18ea2;p=inkscape.git diff --git a/src/snap-enums.h b/src/snap-enums.h index 4e6854054..aa5db9328 100644 --- a/src/snap-enums.h +++ b/src/snap-enums.h @@ -66,10 +66,10 @@ enum SnapSourceType { SNAPSOURCE_CONVEX_HULL_CORNER, SNAPSOURCE_ELLIPSE_QUADRANT_POINT, SNAPSOURCE_NODE_HANDLE, // eg. nodes in the path editor, handles of stars or rectangles, etc. (tied to a stroke) + SNAPSOURCE_OBJECT_MIDPOINT, // midpoint of rectangles, polygon, etc. //------------------------------------------------------------------- // Other points (e.g. guides, gradient knots) will snap to both bounding boxes and nodes SNAPSOURCE_OTHER_CATEGORY = 1024, // will be used as a flag and must therefore be a power of two - SNAPSOURCE_OBJECT_MIDPOINT, SNAPSOURCE_ROTATION_CENTER, SNAPSOURCE_CENTER, // of ellipse SNAPSOURCE_GUIDE,