summaryrefslogtreecommitdiff
path: root/src/cairo_bindings.h
blob: 0256ce53be35cab6ac6fb9181b54be40427f8707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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);

#endif