view 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 source

#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_ */