Mercurial > MadButterfly
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/paint.h Sat Aug 02 14:45:42 2008 +0800 @@ -0,0 +1,15 @@ +#ifndef __PAINT_H_ +#define __PAINT_H_ + +#include <cairo.h> +#include "mb_types.h" +#include "redraw_man.h" + +typedef float co_comp_t; + +extern paint_t *paint_color_new(redraw_man_t *rdman, + co_comp_t r, co_comp_t g, co_comp_t b); +extern void paint_color_set(paint_t *paint, + co_comp_t r, co_comp_t g, co_comp_t b); + +#endif /* __PAINT_H_ */