Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
sp-item-group.h File Reference

Go to the source code of this file.

Classes

class  SPGroup
 

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 

Functions

void sp_item_group_ungroup_handle_clones (SPItem *parent, Geom::Affine const g)
 finds clones of a child of the group going out of the group; and inverse the group transform on its clones Also called when moving objects between different layers
 
void sp_item_group_ungroup (SPGroup *group, std::vector< SPItem * > &children)
 
SPObjectsp_item_group_get_child_by_name (SPGroup *group, SPObject *ref, const char *name)
 
bool SP_IS_LAYER (SPObject const *obj)
 
void set_default_highlight_colors (std::vector< guint32 > colors)
 

Function Documentation

◆ set_default_highlight_colors()

void set_default_highlight_colors ( std::vector< guint32 colors)

Definition at line 1125 of file sp-item-group.cpp.

References default_highlights.

Referenced by Inkscape::UI::ThemeContext::themechangecallback().

◆ SP_IS_LAYER()

bool SP_IS_LAYER ( SPObject const *  obj)
inline

Definition at line 119 of file sp-item-group.h.

References SPGroup::LAYER.

Referenced by SPGroup::highlight_color(), and Inkscape::ObjectSet::popFromGroup().

◆ sp_item_group_get_child_by_name()

SPObject * sp_item_group_get_child_by_name ( SPGroup group,
SPObject ref,
const char *  name 
)

◆ sp_item_group_ungroup()

void sp_item_group_ungroup ( SPGroup group,
std::vector< SPItem * > &  children 
)

◆ sp_item_group_ungroup_handle_clones()

void sp_item_group_ungroup_handle_clones ( SPItem parent,
Geom::Affine const  g 
)

finds clones of a child of the group going out of the group; and inverse the group transform on its clones Also called when moving objects between different layers

Parameters
groupcurrent group
parentoriginal parent
clone_originallpe clone handle ungroup
gtransform

Definition at line 464 of file sp-item-group.cpp.

References _ungroup_compensate_source_transform(), and parent.

Referenced by sp_item_group_ungroup(), and sp_selection_change_layer_maintain_clones().