X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcontext-fns.h;h=be8b4dfd5599bd946a8060d326ad139c1a00a9a5;hb=c7cf14ac71346f76ae219ce67fb88c1bd34832e2;hp=522871e753b75b498de2b0d6abab75195f43af82;hpb=1c08a33cfc4402041ddc6f9f470d643df81676e4;p=inkscape.git diff --git a/src/context-fns.h b/src/context-fns.h index 522871e75..be8b4dfd5 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++ @@ -24,4 +44,4 @@ NR::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :