blob: 4df3f40be620685ddaf49aa4cb31a782024d1a64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef JANET_2GEOM_POINT_INCLUDED
#define JANET_2GEOM_POINT_INCLUDED
#include <janet.h>
#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
|