Inkscape
Vector Graphics Editor
|
#include <conn-avoid-ref.h>
Public Member Functions | |
SPAvoidRef (SPItem *spitem) | |
virtual | ~SPAvoidRef () |
void | setAvoid (char const *value) |
void | handleSettingChange () |
Geom::Point | getConnectionPointPos () |
std::vector< SPItem * > | getAttachedShapes (const unsigned int type) |
std::vector< SPItem * > | getAttachedConnectors (const unsigned int type) |
Public Attributes | |
Avoid::ShapeRef * | shapeRef |
Private Attributes | |
SPItem * | item |
bool | setting |
bool | new_setting |
sigc::connection | _transformed_connection |
Definition at line 26 of file conn-avoid-ref.h.
SPAvoidRef::SPAvoidRef | ( | SPItem * | spitem | ) |
Definition at line 48 of file conn-avoid-ref.cpp.
|
virtual |
Definition at line 58 of file conn-avoid-ref.cpp.
References _transformed_connection, Avoid::Router::deleteShape(), SPObject::document, SPDocument::getRouter(), item, and shapeRef.
std::vector< SPItem * > SPAvoidRef::getAttachedConnectors | ( | const unsigned int | type | ) |
Definition at line 155 of file conn-avoid-ref.cpp.
References Avoid::Router::attachedConns(), SPObject::document, SPObject::getId(), SPDocument::getObjectById(), SPDocument::getRouter(), and item.
std::vector< SPItem * > SPAvoidRef::getAttachedShapes | ( | const unsigned int | type | ) |
Definition at line 132 of file conn-avoid-ref.cpp.
References Avoid::Router::attachedShapes(), SPObject::document, SPObject::getId(), SPDocument::getObjectById(), SPDocument::getRouter(), and item.
Geom::Point SPAvoidRef::getConnectionPointPos | ( | ) |
Definition at line 177 of file conn-avoid-ref.cpp.
References SPItem::documentVisualBounds(), and item.
Referenced by Inkscape::UI::Tools::ConnectorTool::_activeShapeAddKnot(), and SPConnEndPair::getEndpoints().
void SPAvoidRef::handleSettingChange | ( | ) |
Definition at line 84 of file conn-avoid-ref.cpp.
References _transformed_connection, avoid_item_move(), avoid_item_poly(), SPItem::connectTransformed(), Avoid::Router::deleteShape(), desktop, SPObject::document, SPObject::getAttribute(), SPDesktop::getDocument(), SPDocument::getRouter(), item, new_setting, setting, shapeRef, and Avoid::Polygon::size().
Referenced by Inkscape::UI::Tools::cc_selection_set_avoid(), Inkscape::UI::Toolbar::ConnectorToolbar::curvature_changed(), init_avoided_shape_geometry(), Inkscape::UI::Toolbar::ConnectorToolbar::orthogonal_toggled(), and SPItem::update().
void SPAvoidRef::setAvoid | ( | char const * | value | ) |
Definition at line 73 of file conn-avoid-ref.cpp.
References SPObject::cloned, item, and new_setting.
Referenced by SPItem::set().
|
private |
Definition at line 55 of file conn-avoid-ref.h.
Referenced by handleSettingChange(), and ~SPAvoidRef().
|
private |
Definition at line 48 of file conn-avoid-ref.h.
Referenced by getAttachedConnectors(), getAttachedShapes(), getConnectionPointPos(), handleSettingChange(), setAvoid(), and ~SPAvoidRef().
|
private |
Definition at line 52 of file conn-avoid-ref.h.
Referenced by handleSettingChange(), and setAvoid().
|
private |
Definition at line 51 of file conn-avoid-ref.h.
Referenced by handleSettingChange().
Avoid::ShapeRef* SPAvoidRef::shapeRef |
Definition at line 32 of file conn-avoid-ref.h.
Referenced by avoid_item_move(), handleSettingChange(), and ~SPAvoidRef().