1 /*
2 * assorted functions related to layers
3 *
4 * Authors:
5 * MenTaLguY <mental@rydia.net>
6 *
7 * Copyright (C) 2004 MenTaLguY
8 *
9 * Released under GNU GPL, read the file 'COPYING' for more information
10 */
12 #ifndef SEEN_INKSCAPE_LAYER_FNS_H
13 #define SEEN_INKSCAPE_LAYER_FNS_H
15 class SPObject;
17 namespace Inkscape {
19 enum LayerRelativePosition {
20 LPOS_ABOVE,
21 LPOS_BELOW,
22 LPOS_CHILD,
23 };
25 SPObject *create_layer(SPObject *root, SPObject *layer, LayerRelativePosition position);
27 SPObject *next_layer(SPObject *root, SPObject *layer);
29 SPObject *previous_layer(SPObject *root, SPObject *layer);
31 }
33 #endif
34 /*
35 Local Variables:
36 mode:c++
37 c-file-style:"stroustrup"
38 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
39 indent-tabs-mode:nil
40 fill-column:99
41 End:
42 */
43 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :