aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/unix/draw.h
blob: 869acd18fbb578457f6f928ec09ef988b36e5076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 5 may 2016

// draw.c
struct uiDrawContext {
	cairo_t *cr;
};

struct uiDrawBitmap {
    int Width;
    int Height;
    int Stride;

    cairo_surface_t* bmp;
};

// drawpath.c
extern void runPath(uiDrawPath *p, cairo_t *cr);
extern uiDrawFillMode pathFillMode(uiDrawPath *path);

// drawmatrix.c
extern void m2c(uiDrawMatrix *m, cairo_matrix_t *c);