X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcontext-fns.h;h=e295f85294f759c3296dcb18abf5844408f0e505;hb=b752616506705efd28f22c4d852d198ff40c7026;hp=beb132ca92f5196839ad3d31e19023977097e132;hpb=6b15695578f07a3f72c4c9475c1a261a3021472a;p=inkscape.git diff --git a/src/context-fns.h b/src/context-fns.h index beb132ca9..e295f8529 100644 --- a/src/context-fns.h +++ b/src/context-fns.h @@ -1,6 +1,8 @@ #include struct SPDesktop; +const double goldenratio = 1.61803398874989484820; // golden ratio + namespace Inkscape { @@ -9,7 +11,7 @@ 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::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);