#ifndef JANET_2GEOM_POINT_INCLUDED #define JANET_2GEOM_POINT_INCLUDED #include #include <2geom/point.h> #include "livecode/context.h" #include "livecode/input.h" namespace Inkscape { namespace Livecode { /* context.cpp */ void janet_lib_context(JanetTable *env, Context &context); Context &ctx(); /* point.cpp */ void janet_lib_geom_point(JanetTable *env); extern const JanetAbstractType geom_point_type; Janet janet_wrap_point(Geom::Point const &x); Janet janet_wrap_point(Geom::IntPoint const &x); Geom::Point &janet_unwrap_point(Janet x); /* input.cpp */ void janet_lib_input(JanetTable *env); Janet janet_wrap_inputstate(InputState const &state); } } #endif // JANET_2GEOM_POINT_INCLUDED