sp-item-group.h revision 6a64b39cfd5693f545dbf0b8e68a9f9729fa5944
#ifndef __SP_ITEM_GROUP_H__
#define __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);
}
}
gint 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, guint flags);
virtual const char* displayName() 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;
};
#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 :