summaryrefslogtreecommitdiff
path: root/src/cairo_bindings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo_bindings.h')
-rw-r--r--src/cairo_bindings.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/cairo_bindings.h b/src/cairo_bindings.h
new file mode 100644
index 0000000..f125879
--- /dev/null
+++ b/src/cairo_bindings.h
@@ -0,0 +1,21 @@
+#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_get_texture(lua_State* L);
+
+int honey_cairo_destroy(lua_State* L);
+
+#endif