Lines Matching defs:SPGroup

59 static void sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write);
61 SPGroup::SPGroup() : SPLPEItem(),
64 _layer_mode(SPGroup::GROUP)
68 SPGroup::~SPGroup() {
71 void SPGroup::build(SPDocument *document, Inkscape::XML::Node *repr) {
77 void SPGroup::release() {
78 if (this->_layer_mode == SPGroup::LAYER) {
85 void SPGroup::child_added(Inkscape::XML::Node* child, Inkscape::XML::Node* ref) {
128 void SPGroup::remove_child(Inkscape::XML::Node *child) {
134 void SPGroup::order_changed (Inkscape::XML::Node *child, Inkscape::XML::Node *old_ref, Inkscape::XML::Node *new_ref)
151 void SPGroup::update(SPCtx *ctx, unsigned int flags) {
152 // std::cout << "SPGroup::update(): " << (getId()?getId():"null") << std::endl;
199 void SPGroup::modified(guint flags) {
200 // std::cout << "SPGroup::modified(): " << (getId()?getId():"null") << std::endl;
220 Inkscape::XML::Node* SPGroup::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
259 if ( _layer_mode == SPGroup::LAYER ) {
261 } else if ( _layer_mode == SPGroup::MASK_HELPER ) {
277 Geom::OptRect SPGroup::bbox(Geom::Affine const &transform, SPItem::BBoxType bboxtype) const
282 std::vector<SPObject*> l = const_cast<SPGroup*>(this)->childList(false, SPObject::ActionBBox);
295 void SPGroup::print(SPPrintContext *ctx) {
306 const char *SPGroup::displayName() const {
310 gchar *SPGroup::description() const {
316 void SPGroup::set(unsigned int key, gchar const* value) {
320 this->setLayerMode(SPGroup::LAYER);
322 this->setLayerMode(SPGroup::MASK_HELPER);
324 this->setLayerMode(SPGroup::GROUP);
334 Inkscape::DrawingItem *SPGroup::show (Inkscape::Drawing &drawing, unsigned int key, unsigned int flags) {
335 // std::cout << "SPGroup::show(): " << (getId()?getId():"null") << std::endl;
339 ai->setPickChildren(this->effectiveLayerMode(key) == SPGroup::LAYER);
349 void SPGroup::hide (unsigned int key) {
364 void SPGroup::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const {
392 sp_item_group_ungroup (SPGroup *group, std::vector<SPItem*> &children, bool do_done)
555 * some API for list aspect of SPGroup
558 std::vector<SPItem*> sp_item_group_item_list(SPGroup * group)
571 SPObject *sp_item_group_get_child_by_name(SPGroup *group, SPObject *ref, const gchar *name)
580 void SPGroup::setLayerMode(LayerMode mode) {
592 SPGroup::LayerMode SPGroup::layerDisplayMode(unsigned int dkey) const {
602 void SPGroup::setExpanded(bool isexpanded) {
608 void SPGroup::setInsertBottom(bool insertbottom) {
614 void SPGroup::setLayerDisplayMode(unsigned int dkey, SPGroup::LayerMode mode) {
621 void SPGroup::_updateLayerMode(unsigned int display_key) {
627 g->setPickChildren(effectiveLayerMode(view->key) == SPGroup::LAYER);
633 void SPGroup::translateChildItems(Geom::Translate const &tr)
646 void SPGroup::scaleChildItemsRec(Geom::Scale const &sc, Geom::Point const &p, bool noRecurse)
652 SPGroup *defsgroup = dynamic_cast<SPGroup *>(defschild);
657 SPGroup *group = dynamic_cast<SPGroup *>(item);
770 gint SPGroup::getItemCount() const {
781 void SPGroup::_showChildren (Inkscape::Drawing &drawing, Inkscape::DrawingItem *ai, unsigned int key, unsigned int flags) {
796 void SPGroup::update_patheffect(bool write) {
827 sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write)
834 SPGroup *subGroup = dynamic_cast<SPGroup *>(subitem);