Code

spiral-context.h: Supply missing #includes/declarations so that we don't depend on...
[inkscape.git] / src / context-fns.h
1 #include <gdk/gdkevents.h>
2 #include "libnr/nr-rect.h"
3 struct SPDesktop;
4 struct SPItem;
6 const double goldenratio = 1.61803398874989484820; // golden ratio
8 namespace Inkscape
9 {
11 class MessageContext;
12 class MessageStack;
14 extern bool have_viable_layer(SPDesktop *desktop, MessageContext *message);
15 extern bool have_viable_layer(SPDesktop *desktop, MessageStack *message);
16 ::NR::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
17                               NR::Point const &pt, NR::Point const &center, int state);
18 NR::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev);
20 }
22 /*
23   Local Variables:
24   mode:c++
25   c-file-style:"stroustrup"
26   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
27   indent-tabs-mode:nil
28   fill-column:99
29   End:
30 */
31 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :