Inkscape
Vector Graphics Editor
|
#include <selcue.h>
Classes | |
class | BoundingBoxPrefsObserver |
Public Types | |
enum | Type { NONE , MARK , BBOX } |
Public Member Functions | |
SelCue (SPDesktop *desktop) | |
~SelCue () | |
Private Member Functions | |
void | _updateItemBboxes () |
void | _updateItemBboxes (Inkscape::Preferences *prefs) |
void | _updateItemBboxes (int mode, int prefs_bbox) |
void | _newItemBboxes () |
void | _newItemLines () |
Create any required visual-only guide lines related to the selection. | |
void | _newTextBaselines () |
void | _boundingBoxPrefsChanged (int prefs_bbox) |
Private Attributes | |
SPDesktop * | _desktop |
Selection * | _selection |
sigc::connection | _sel_changed_connection |
sigc::connection | _sel_modified_connection |
std::vector< CanvasItemPtr< CanvasItem > > | _item_bboxes |
std::vector< CanvasItemPtr< CanvasItem > > | _text_baselines |
std::vector< CanvasItemPtr< CanvasItem > > | _item_lines |
BoundingBoxPrefsObserver | _bounding_box_prefs_observer |
Friends | |
class | Inkscape::SelCue::BoundingBoxPrefsObserver |
Inkscape::SelCue::SelCue | ( | SPDesktop * | desktop | ) |
Definition at line 41 of file selcue.cpp.
References _bounding_box_prefs_observer, _desktop, _newItemBboxes(), _sel_changed_connection, _sel_modified_connection, _selection, _updateItemBboxes(), Inkscape::Preferences::addObserver(), Inkscape::Selection::connectChanged(), Inkscape::Selection::connectModified(), Inkscape::Preferences::get(), and SPDesktop::getSelection().
Inkscape::SelCue::~SelCue | ( | ) |
Definition at line 60 of file selcue.cpp.
References _sel_changed_connection, and _sel_modified_connection.
|
private |
Definition at line 210 of file selcue.cpp.
References _selection, _updateItemBboxes(), Inkscape::Preferences::get(), Inkscape::Preferences::getInt(), MARK, mode, and NONE.
|
private |
Definition at line 117 of file selcue.cpp.
References _desktop, _item_bboxes, _newItemLines(), _newTextBaselines(), _selection, BBOX, Inkscape::CANVAS_ITEM_CTRL_TYPE_SHAPER, SPItem::desktopGeometricBounds(), SPItem::desktopVisualBounds(), Inkscape::Preferences::get(), Inkscape::Preferences::getBool(), SPDesktop::getCanvasControls(), Inkscape::Preferences::getInt(), item, items, Inkscape::ObjectSet::items(), MARK, mode, and NONE.
Referenced by SelCue().
|
private |
Create any required visual-only guide lines related to the selection.
Definition at line 167 of file selcue.cpp.
References _desktop, _item_lines, _selection, Inkscape::Selection::anchor, SPDesktop::getCanvasGuides(), Inkscape::Selection::has_anchor, and Inkscape::ObjectSet::preferredBounds().
Referenced by _newItemBboxes().
|
private |
Definition at line 188 of file selcue.cpp.
References _desktop, _selection, _text_baselines, Inkscape::CANVAS_ITEM_CTRL_TYPE_SIZER, SPDesktop::getCanvasControls(), SPItem::i2dt_affine(), item, items, Inkscape::ObjectSet::items(), and Inkscape::XTINY.
Referenced by _newItemBboxes().
|
private |
Definition at line 66 of file selcue.cpp.
References _updateItemBboxes(), and Inkscape::Preferences::get().
Referenced by _boundingBoxPrefsChanged(), _updateItemBboxes(), _updateItemBboxes(), and SelCue().
|
private |
Definition at line 71 of file selcue.cpp.
References _selection, _updateItemBboxes(), Inkscape::Preferences::getBool(), Inkscape::Preferences::getInt(), MARK, mode, and NONE.
|
private |
|
friend |
|
private |
|
private |
Definition at line 68 of file selcue.h.
Referenced by _newItemBboxes(), _newItemLines(), _newTextBaselines(), and SelCue().
|
private |
Definition at line 72 of file selcue.h.
Referenced by _newItemBboxes().
|
private |
Definition at line 74 of file selcue.h.
Referenced by _newItemLines().
|
private |
|
private |
|
private |
Definition at line 69 of file selcue.h.
Referenced by _boundingBoxPrefsChanged(), _newItemBboxes(), _newItemLines(), _newTextBaselines(), _updateItemBboxes(), and SelCue().
|
private |
Definition at line 73 of file selcue.h.
Referenced by _newTextBaselines().