Searched refs:SNAPTARGET_NODE_CATEGORY (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/
H A Dsnap-preferences.cpp25 g_assert((SNAPTARGET_NODE_CATEGORY != 0) && !(SNAPTARGET_NODE_CATEGORY & (SNAPTARGET_NODE_CATEGORY - 1)));
41 return isTargetSnappable(SNAPTARGET_NODE_CATEGORY, SNAPTARGET_BBOX_CATEGORY, SNAPTARGET_OTHERS_CATEGORY) || isTargetSnappable(SNAPTARGET_GUIDE, SNAPTARGET_GRID, SNAPTARGET_PAGE_BORDER);
47 target == SNAPTARGET_NODE_CATEGORY ||
62 if (target & SNAPTARGET_NODE_CATEGORY) {
63 group_on = isTargetSnappable(SNAPTARGET_NODE_CATEGORY); // Only if the group with path/node sources/targets has been enabled, then we might snap to any of the nodes/paths
262 return SNAPTARGET_NODE_CATEGORY;
296 return SNAPTARGET_NODE_CATEGORY;
H A Dsnap-enums.h65 SNAPTARGET_NODE_CATEGORY = 32, // will be used as a flag and must therefore be a power of two enumerator in enum:Inkscape::SnapTargetType
H A Dobject-snapper.cpp807 if (((source & SNAPSOURCE_BBOX_CATEGORY) && (target & SNAPTARGET_NODE_CATEGORY)) ||
H A Dsnap.cpp783 if (snapprefs.getSnapEnabledGlobally() && (p_is_other || (p_is_a_node && snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_NODE_CATEGORY)) || (p_is_a_bbox && snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_BBOX_CATEGORY)))) {
H A Dsp-namedview.cpp453 this->snap_manager.snapprefs.setTargetSnappable(Inkscape::SNAPTARGET_NODE_CATEGORY, value ? sp_str_to_bool(value) : TRUE);
H A Dseltrans.cpp1576 if (!(m.snapprefs.isTargetSnappable(SNAPTARGET_NODE_CATEGORY, SNAPTARGET_OTHERS_CATEGORY) || m.snapprefs.isAnyDatumSnappable())) {
/inkscape/src/widgets/
H A Dtoolbox.cpp1612 v = nv->snap_manager.snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_NODE_CATEGORY);
1988 bool const c3 = nv->snap_manager.snapprefs.isTargetSnappable(SNAPTARGET_NODE_CATEGORY);

Completed in 71 milliseconds