Lines Matching refs:Selection

44 Selection::Selection(LayerModel *layers, SPDesktop *desktop) :
58 Selection::~Selection() {
69 void Selection::_schedule_modified(SPObject */*obj*/, guint flags) {
72 this->_idle = g_idle_add_full(SP_SELECTION_UPDATE_PRIORITY, GSourceFunc(&Selection::_emit_modified), this, NULL);
80 Selection::_emit_modified(Selection *selection)
93 void Selection::_emitModified(guint flags) {
98 void Selection::_emitChanged(bool persist_selection_context/* = false */) {
103 _context_release_connection = _selection_context->connectRelease(sigc::mem_fun(*this, &Selection::_releaseContext));
114 Selection::_releaseContext(SPObject *obj)
125 void Selection::_invalidateCachedLists() {
131 void Selection::_clear() {
139 SPObject *Selection::activeContext() {
145 bool Selection::includes(SPObject *obj) const {
154 void Selection::add(SPObject *obj, bool persist_selection_context/* = false */) {
168 void Selection::add_3D_boxes_recursively(SPObject *obj) {
177 void Selection::_add(SPObject *obj) {
189 _release_connections[obj] = obj->connectRelease(sigc::mem_fun(*this, (void (Selection::*)(SPObject *))&Selection::remove));
190 _modified_connections[obj] = obj->connectModified(sigc::mem_fun(*this, &Selection::_schedule_modified));
193 void Selection::set(SPObject *object, bool persist_selection_context) {
198 void Selection::toggle(SPObject *obj) {
206 void Selection::remove(SPObject *obj) {
216 void Selection::remove_3D_boxes_recursively(SPObject *obj) {
230 void Selection::_remove(SPObject *obj) {
243 void Selection::setList(std::vector<SPItem*> const &list) {
251 void Selection::addList(std::vector<SPItem*> const &list) {
267 void Selection::setReprList(std::vector<XML::Node*> const &list) {
280 void Selection::clear() {
285 std::vector<SPObject*> const &Selection::list() {
296 std::vector<SPItem*> const &Selection::itemList() {
310 std::vector<XML::Node*> const &Selection::reprList() {
320 std::list<Persp3D *> const Selection::perspList() {
330 std::list<SPBox3D *> const Selection::box3DList(Persp3D *persp) {
345 SPObject *Selection::single() {
353 SPItem *Selection::singleItem() {
362 SPItem *Selection::smallestItem(Selection::CompareSize compare) {
366 SPItem *Selection::largestItem(Selection::CompareSize compare) {
370 SPItem *Selection::_sizeistItem(bool sml, Selection::CompareSize compare) {
371 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();
391 Inkscape::XML::Node *Selection::singleRepr() {
396 Geom::OptRect Selection::bounds(SPItem::BBoxType type) const
402 Geom::OptRect Selection::geometricBounds() const
404 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();
413 Geom::OptRect Selection::visualBounds() const
415 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();
424 Geom::OptRect Selection::preferredBounds() const
433 Geom::OptRect Selection::documentBounds(SPItem::BBoxType type) const
436 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();
449 boost::optional<Geom::Point> Selection::center() const {
450 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();
465 std::vector<Inkscape::SnapCandidatePoint> Selection::getSnapPoints(SnapPreferences const *snapprefs) const {
471 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();
487 void Selection::_removeObjectDescendants(SPObject *obj) {
505 void Selection::_removeObjectAncestors(SPObject *obj) {
515 SPObject *Selection::_objectForXMLNode(Inkscape::XML::Node *repr) const {
524 size_t Selection::numberOfLayers() {
525 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();
534 size_t Selection::numberOfParents() {
535 std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList();