comparison 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
comparison
equal deleted inserted replaced
269:c96f38ad4bb6 270:cd6af7da32c9
79 * graphic backend. 79 * graphic backend.
80 * \see rdman_attach_backend() 80 * \see rdman_attach_backend()
81 */ 81 */
82 mb_prop_store_t props; 82 mb_prop_store_t props;
83 mb_img_ldr_t *img_ldr; /*!< \brief Image Loader. 83 mb_img_ldr_t *img_ldr; /*!< \brief Image Loader.
84 * This is initialized by backend.
85 */
86 co_aix w, h; /*!< \brief Size of viewport
84 * This is initialized by backend. 87 * This is initialized by backend.
85 */ 88 */
86 }; 89 };
87 90
88 extern int redraw_man_init(redraw_man_t *rdman, cairo_t *cr, 91 extern int redraw_man_init(redraw_man_t *rdman, cairo_t *cr,