Inkscape
Vector Graphics Editor
|
Some things pertinent to all visible shapes: SPItem, SPItemView, SPItemCtx. More...
Go to the source code of this file.
Classes | |
struct | SPItemView |
struct | SPItemCtx |
Contains transformations to document/viewport and the viewport size. More... | |
class | SPItem |
Base class for visual SVG elements. More... | |
Namespaces | |
namespace | Inkscape |
Helper class to stream background task notifications as a series of messages. | |
Enumerations | |
enum | PaintServerTransform { TRANSFORM_BOTH , TRANSFORM_FILL , TRANSFORM_STROKE } |
enum | SPItemKey { ITEM_KEY_CLIP , ITEM_KEY_MASK , ITEM_KEY_FILL , ITEM_KEY_STROKE , ITEM_KEY_MARKERS , ITEM_KEY_SIZE = ITEM_KEY_MARKERS + SP_MARKER_LOC_QTY } |
Functions | |
Geom::Affine | i2anc_affine (SPObject const *item, SPObject const *ancestor) |
Geom::Affine | i2i_affine (SPObject const *src, SPObject const *dest) |
Geom::Affine | sp_item_transform_repr (SPItem *item) |
Find out the inverse of previous transform of an item (from its repr) | |
int | sp_item_repr_compare_position (SPItem const *first, SPItem const *second) |
bool | sp_item_repr_compare_position_bool (SPObject const *first, SPObject const *second) |
SPItem * | sp_item_first_item_child (SPObject *obj) |
SPItem const * | sp_item_first_item_child (SPObject const *obj) |
Some things pertinent to all visible shapes: SPItem, SPItemView, SPItemCtx.
Definition in file sp-item.h.
enum PaintServerTransform |
enum SPItemKey |
Geom::Affine i2anc_affine | ( | SPObject const * | item, |
SPObject const * | ancestor | ||
) |
Definition at line 1803 of file sp-item.cpp.
References item, root, and SPItem::transform.
Referenced by Inkscape::LivePathEffect::LPEBool::divisionit(), Inkscape::LivePathEffect::LPEFillBetweenMany::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doBeforeEffect(), Inkscape::LivePathEffect::LPEMeasureSegments::doBeforeEffect(), Inkscape::LivePathEffect::LPEMirrorSymmetry::doBeforeEffect(), Inkscape::LivePathEffect::LPEFillBetweenMany::doOnOpen(), Inkscape::LivePathEffect::LPEFillBetweenStrokes::doOnOpen(), Inkscape::LivePathEffect::LPEBool::fractureit(), Inkscape::LivePathEffect::LPEBool::get_union(), SPItem::i2doc_affine(), i2i_affine(), Inkscape::LivePathEffect::LPEMeasureSegments::processObjects(), Inkscape::BooleanBuilder::shape_commit(), sp_conn_get_route_and_redraw(), sp_group_perform_patheffect(), sp_item_group_ungroup(), Inkscape::UI::Tools::sp_spray_transform_path(), Inkscape::LivePathEffect::LPEFillBetweenMany::transform_multiply_nested(), and Inkscape::LivePathEffect::LPEFillBetweenStrokes::transform_multiply_nested().
Geom::Affine i2i_affine | ( | SPObject const * | src, |
SPObject const * | dest | ||
) |
Definition at line 1822 of file sp-item.cpp.
References i2anc_affine(), Geom::identity(), Geom::Affine::inverse(), and SPObject::nearestCommonAncestor().
Referenced by SPItem::getRelativeTransform(), SPItem::removeTransformsRecursively(), SPPath::removeTransformsRecursively(), and text_flow_into_shape().
Definition at line 1883 of file sp-item.cpp.
References child, and SPObject::children.
Definition at line 1878 of file sp-item.cpp.
References sp_item_first_item_child().
Referenced by SPShape::either_bbox(), item_to_outline(), SPShape::print(), sp_item_first_item_child(), and Inkscape::Extension::Internal::sp_shape_render().
Definition at line 1872 of file sp-item.cpp.
References SPObject::getRepr(), and sp_repr_compare_position().
Referenced by PositionCompare().
Definition at line 473 of file sp-item.h.
References SPObject::getRepr(), and sp_repr_compare_position().
Referenced by Inkscape::ObjectSet::createBitmapCopy(), Inkscape::UI::Tools::GradientTool::drag(), Inkscape::ObjectSet::lower(), Inkscape::ObjectSet::raise(), Inkscape::ObjectSet::stackDown(), Inkscape::ObjectSet::stackUp(), and Inkscape::ObjectSet::toMarker().
Geom::Affine sp_item_transform_repr | ( | SPItem * | item | ) |
Find out the inverse of previous transform of an item (from its repr)
Definition at line 1516 of file sp-item.cpp.
References Inkscape::XML::Node::attribute(), SPObject::getRepr(), Geom::identity(), item, and sp_svg_transform_read().
Referenced by SPItem::adjust_paint_recursive(), Inkscape::LivePathEffect::LPETiling::doAfterEffect(), SPItem::doWriteTransform(), Inkscape::LivePathEffect::LPEBendPath::transform_multiply(), Inkscape::LivePathEffect::LPEBool::transform_multiply(), and Inkscape::LivePathEffect::LPEOffset::transform_multiply().