ups, was missing the -f
[gl-cairo-simple.git] / cairo-rendering.h
blobaa70ab02e5ea2893ca520fd4e76379339a1da7fe
1 /*******************************************************************************
2 **3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
3 ** 10 20 30 40 50 60 70 80
4 **
5 ** file:
6 ** cairo-rendering.h
7 **
8 ** author:
9 ** Mirco "MacSlow" Mueller <macslow@bangang.de>
11 ** copyright (C) Mirco Mueller, July 2006, placed under the terms of the LGPL
13 *******************************************************************************/
15 #ifndef _CAIRO_RENDERING_H
16 #define _CAIRO_RENDERING_H
18 #include <cairo.h>
20 #include "geometry.h"
22 cairo_t*
23 create_cairo_context (int iWidth,
24 int iHeight,
25 int iChannels,
26 cairo_surface_t** pCairoSurface,
27 unsigned char** pucBuffer);
29 void render_curve (cairo_t* pCairoContext,
30 int iWidth,
31 int iHeight,
32 Line* pLineOne,
33 Line* pLineTwo,
34 double fLineWidth);
36 #endif /* _CAIRO_RENDERING_H */