diff options
Diffstat (limited to 'src/cairo_bindings.h')
-rw-r--r-- | src/cairo_bindings.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/cairo_bindings.h b/src/cairo_bindings.h deleted file mode 100644 index 8f23bb6..0000000 --- a/src/cairo_bindings.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef HONEY_CAIRO_H -#define HONEY_CAIRO_H - -#include "common.h" - -/* @file cairo_bindings.h - * @brief Define some binding functions for creating and manipulating cairo surfaces, - * as well as enabling turning them into OpenGL textures. - */ - -extern int honey_cairo_mt_ref; - -int honey_setup_cairo(lua_State* L); - -int honey_cairo_new(lua_State* L); - -int honey_cairo_update_texture(lua_State* L); - -int honey_cairo_get_texture(lua_State* L); - -int honey_cairo_destroy(lua_State* L); - -/* context config functions */ - -int honey_cairo_save(lua_State* L); - -int honey_cairo_restore(lua_State* L); - -int honey_cairo_set_operator(lua_State* L); - -int honey_cairo_get_operator(lua_State* L); - -int honey_cairo_set_antialias(lua_State* L); - -int honey_cairo_get_antialias(lua_State* L); - -int honey_cairo_set_color(lua_State* L); - -int honey_cairo_set_line_width(lua_State* L); - -int honey_cairo_set_linecap(lua_State* L); - -int honey_cairo_get_linecap(lua_State* L); - -/* drawing functions */ - -int honey_cairo_move_to(lua_State* L); - -int honey_cairo_line_to(lua_State* L); - -int honey_cairo_curve_to(lua_State* L); - -int honey_cairo_arc(lua_State* L); - -int honey_cairo_stroke(lua_State* L); - -int honey_cairo_fill(lua_State* L); - -#endif |