comparison src/paint.h @ 18:0f3baa488a62

Support solid color paint for fill.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 02 Aug 2008 14:45:42 +0800
parents
children cf6d65398619
comparison
equal deleted inserted replaced
17:41f0907b27ac 18:0f3baa488a62
1 #ifndef __PAINT_H_
2 #define __PAINT_H_
3
4 #include <cairo.h>
5 #include "mb_types.h"
6 #include "redraw_man.h"
7
8 typedef float co_comp_t;
9
10 extern paint_t *paint_color_new(redraw_man_t *rdman,
11 co_comp_t r, co_comp_t g, co_comp_t b);
12 extern void paint_color_set(paint_t *paint,
13 co_comp_t r, co_comp_t g, co_comp_t b);
14
15 #endif /* __PAINT_H_ */