diff options
Diffstat (limited to 'src/layer-fns.h')
-rw-r--r-- | src/layer-fns.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/layer-fns.h b/src/layer-fns.h new file mode 100644 index 0000000..1b9cd7e --- /dev/null +++ b/src/layer-fns.h @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * assorted functions related to layers + * + * Authors: + * MenTaLguY <mental@rydia.net> + * + * Copyright (C) 2004 MenTaLguY + * + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ + +#ifndef SEEN_INKSCAPE_LAYER_FNS_H +#define SEEN_INKSCAPE_LAYER_FNS_H + +class SPObject; + +namespace Inkscape { + +enum LayerRelativePosition { + LPOS_ABOVE, + LPOS_BELOW, + LPOS_CHILD, +}; + +SPObject *create_layer(SPObject *root, SPObject *layer, LayerRelativePosition position); + +SPObject *next_layer(SPObject *root, SPObject *layer); + +SPObject *previous_layer(SPObject *root, SPObject *layer); + +} + +#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:fileencoding=utf-8:textwidth=99 : |