sp-item-group.h revision ebd8781bc14b2af17a3977033b141308330fb7fb
#ifndef SEEN_SP_ITEM_GROUP_H
#define SEEN_SP_ITEM_GROUP_H
/*
* SVG <g> implementation
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1999-2002 authors
* Copyright (C) 2000-2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <map>
#include "sp-lpe-item.h"
} // namespace Inkscape
SPGroup();
bool _expanded;
bool _insertBottom;
void setExpanded(bool isexpanded);
bool insertBottom() const { return _insertBottom; }
void setInsertBottom(bool insertbottom);
if ( _layer_mode == LAYER ) {
return LAYER;
} else {
return layerDisplayMode(display_key);
}
}
int getItemCount() const;
virtual void _showChildren (Inkscape::Drawing &drawing, Inkscape::DrawingItem *ai, unsigned int key, unsigned int flags);
void _updateLayerMode(unsigned int display_key=0);
virtual void order_changed(Inkscape::XML::Node *child, Inkscape::XML::Node *old_ref, Inkscape::XML::Node *new_ref);
virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags);
virtual const char* displayName() const;
virtual char *description() const;
virtual Inkscape::DrawingItem *show (Inkscape::Drawing &drawing, unsigned int key, unsigned int flags);
virtual void snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const;
};
/**
* 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
* @param group current group
* @param parent original parent
* @param g transform
*/
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :