X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcontext-fns.h;h=794f16c39ccfc3f4755b986da41688a95ae54e97;hb=7adfbd503fbbc8c2c4829f245d24d36f96c105d1;hp=522871e753b75b498de2b0d6abab75195f43af82;hpb=1c08a33cfc4402041ddc6f9f470d643df81676e4;p=inkscape.git diff --git a/src/context-fns.h b/src/context-fns.h index 522871e75..794f16c39 100644 --- a/src/context-fns.h +++ b/src/context-fns.h @@ -1,5 +1,23 @@ +#ifndef SEEN_CONTEXT_FNS_H +#define SEEN_CONTEXT_FNS_H + +/* + * + * + * Authors: + * + * Copyright (C) + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + #include +#include <2geom/forward.h> + struct SPDesktop; +struct SPItem; + +const double goldenratio = 1.61803398874989484820; // golden ratio namespace Inkscape { @@ -9,12 +27,14 @@ class MessageStack; extern bool have_viable_layer(SPDesktop *desktop, MessageContext *message); extern bool have_viable_layer(SPDesktop *desktop, MessageStack *message); -::NR::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item, - NR::Point const &pt, NR::Point const ¢er, int state); -NR::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev); +Geom::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item, + Geom::Point const &pt, Geom::Point const ¢er, int state); +Geom::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev); } +#endif // !SEEN_CONTEXT_FNS_H + /* Local Variables: mode:c++