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

/inkscape/src/
H A Dsnap-preferences.cpp24 g_assert((SNAPTARGET_BBOX_CATEGORY != 0) && !(SNAPTARGET_BBOX_CATEGORY & (SNAPTARGET_BBOX_CATEGORY - 1)));
41 return isTargetSnappable(SNAPTARGET_NODE_CATEGORY, SNAPTARGET_BBOX_CATEGORY, SNAPTARGET_OTHERS_CATEGORY) || isTargetSnappable(SNAPTARGET_GUIDE, SNAPTARGET_GRID, SNAPTARGET_PAGE_BORDER);
46 if (target == SNAPTARGET_BBOX_CATEGORY ||
57 if (target & SNAPTARGET_BBOX_CATEGORY) {
58 group_on = isTargetSnappable(SNAPTARGET_BBOX_CATEGORY); // Only if the group with bbox sources/targets has been enabled, then we might snap to any of the bbox targets
254 return SNAPTARGET_BBOX_CATEGORY;
H A Dsnap-enums.h57 SNAPTARGET_BBOX_CATEGORY = 16, // will be used as a flag and must therefore be a power of two. Also, enumerator in enum:Inkscape::SnapTargetType
H A Dobject-snapper.cpp133 SPItem::BBoxType bbox_type = (!prefs_bbox && _snapmanager->snapprefs.isTargetSnappable(SNAPTARGET_BBOX_CATEGORY)) ?
808 ((source & SNAPSOURCE_NODE_CATEGORY) && (target & SNAPTARGET_BBOX_CATEGORY))) {
H A Dseltrans.cpp322 if (m.snapprefs.isTargetSnappable(SNAPTARGET_BBOX_CATEGORY)) {
1581 if (!m.snapprefs.isTargetSnappable(SNAPTARGET_BBOX_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.cpp449 this->snap_manager.snapprefs.setTargetSnappable(Inkscape::SNAPTARGET_BBOX_CATEGORY, value ? sp_str_to_bool(value) : FALSE);
/inkscape/src/widgets/
H A Dtoolbox.cpp1600 v = nv->snap_manager.snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_BBOX_CATEGORY);
1975 bool const c2 = nv->snap_manager.snapprefs.isTargetSnappable(SNAPTARGET_BBOX_CATEGORY);

Completed in 236 milliseconds