Inkscape
Vector Graphics Editor
|
Go to the source code of this file.
Functions | |
Geom::Affine | sp_item_transform_repr (SPItem *item) |
Find out the inverse of previous transform of an item (from its repr) | |
static void | sp_item_adjust_rects_recursive (SPItem *item, Geom::Affine advertized_transform) |
Recursively adjust rx and ry of rects. | |
static bool | is_satellite_item (SPItem const &item) |
Return true if the item is referenced by an LPE. | |
Geom::Affine | i2anc_affine (SPObject const *object, SPObject const *ancestor) |
Geom::Affine | i2i_affine (SPObject const *src, SPObject const *dest) |
int | sp_item_repr_compare_position (SPItem const *first, SPItem const *second) |
SPItem const * | sp_item_first_item_child (SPObject const *obj) |
SPItem * | sp_item_first_item_child (SPObject *obj) |
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().
|
static |
Return true if the item is referenced by an LPE.
Definition at line 1651 of file sp-item.cpp.
References SPObject::hrefList, item, and ref.
Referenced by SPItem::unoptimized().
|
static |
Recursively adjust rx and ry of rects.
Definition at line 1565 of file sp-item.cpp.
References SPObject::children, item, and sp_item_adjust_rects_recursive().
Referenced by SPItem::doWriteTransform(), and sp_item_adjust_rects_recursive().
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().
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().