1 #ifndef SEEN_CONTEXT_FNS_H
2 #define SEEN_CONTEXT_FNS_H
4 /*
5 * <description>
6 *
7 * Authors:
8 *
9 * Copyright (C)
10 *
11 * Released under GNU GPL, read the file 'COPYING' for more information
12 */
14 #include <gdk/gdkevents.h>
15 #include <2geom/forward.h>
17 struct SPDesktop;
18 struct SPItem;
20 const double goldenratio = 1.61803398874989484820; // golden ratio
22 namespace Inkscape
23 {
25 class MessageContext;
26 class MessageStack;
28 extern bool have_viable_layer(SPDesktop *desktop, MessageContext *message);
29 extern bool have_viable_layer(SPDesktop *desktop, MessageStack *message);
30 Geom::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
31 Geom::Point const &pt, Geom::Point const ¢er, int state);
32 Geom::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev);
34 }
36 #endif // !SEEN_CONTEXT_FNS_H
38 /*
39 Local Variables:
40 mode:c++
41 c-file-style:"stroustrup"
42 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
43 indent-tabs-mode:nil
44 fill-column:99
45 End:
46 */
47 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :