Debian Codegraph @

tests/cmodule/cmodulelib.c

raw symbols SCIP
1 #include <Python.h>
2 #define PYCAIRO_NO_IMPORT
3 #include <py3cairo.h>
4 #include "cmodulelib.h"
5
6 PyObject *
7 create_image_surface (PyObject *self, PyObject *args)
8 {
9 cairo_surface_t *surface;
10
11 surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 10, 10);
12
13 return PycairoSurface_FromSurface (surface, NULL);
14 }