Mercurial > MadButterfly
diff include/mb_redraw_man.h @ 270:cd6af7da32c9
Fix the problem that clean_canvas() can not clean canvas cleanly.
- For some unknown reasons, cairo_paint() can not clean painted
graphics cleanly.
- Use cairo_rectangle() and cairo_fill() to replace cairo_paint().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 25 Jan 2009 16:07:43 +0800 |
parents | b42ee279669e |
children | 6c350fc92ae3 |
line wrap: on
line diff
--- a/include/mb_redraw_man.h Sun Jan 25 00:20:34 2009 +0800 +++ b/include/mb_redraw_man.h Sun Jan 25 16:07:43 2009 +0800 @@ -83,6 +83,9 @@ mb_img_ldr_t *img_ldr; /*!< \brief Image Loader. * This is initialized by backend. */ + co_aix w, h; /*!< \brief Size of viewport + * This is initialized by backend. + */ }; extern int redraw_man_init(redraw_man_t *rdman, cairo_t *cr,