1 #ifndef __NR_RENDER_H__
2 #define __NR_RENDER_H__
4 /*
5 * Pixel buffer rendering library
6 *
7 * Authors:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 *
10 * This code is in public domain
11 */
13 #include <libnr/nr-pixblock.h>
15 struct NRRenderer;
17 typedef void (* NRRenderFunc) (NRRenderer *r, NRPixBlock *pb, NRPixBlock *m);
19 struct NRRenderer {
20 NRRenderFunc render;
21 };
23 #define nr_render(r,pb,m) ((NRRenderer *) (r))->render ((NRRenderer *) (r), (pb), (m))
25 #endif