Mercurial > MadButterfly
comparison include/mb_graph_engine_dummy.h @ 586:b42d69ab8857 openvg
Replace mbe_clip() with mbe_scissoring()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 30 Jun 2010 13:28:53 +0800 |
parents | 953acea89f76 |
children | 28aa5e53abaa |
comparison
equal
deleted
inserted
replaced
585:6af1aa74e57c | 586:b42d69ab8857 |
---|---|
52 #define mbe_set_source_rgb(canvas, r, g, b) | 52 #define mbe_set_source_rgb(canvas, r, g, b) |
53 #define mbe_get_font_face(canvas) ((mbe_font_face_t *)NULL) | 53 #define mbe_get_font_face(canvas) ((mbe_font_face_t *)NULL) |
54 #define mbe_fill_preserve(canvas) | 54 #define mbe_fill_preserve(canvas) |
55 #define mbe_copy_source(src_canvas, dst_canvas) | 55 #define mbe_copy_source(src_canvas, dst_canvas) |
56 #define mbe_set_source(canvas, pattern) | 56 #define mbe_set_source(canvas, pattern) |
57 #define mbe_reset_clip(canvas) | 57 #define mbe_reset_scissoring(canvas) |
58 #define mbe_get_target(canvas) ((mbe_surface_t *)NULL) | 58 #define mbe_get_target(canvas) ((mbe_surface_t *)NULL) |
59 #define mbe_close_path(canvas) | 59 #define mbe_close_path(canvas) |
60 #define mbe_text_path(canvas, utf8) | 60 #define mbe_text_path(canvas, utf8) |
61 #define mbe_transform(canvas, mtx) | 61 #define mbe_transform(canvas, mtx) |
62 #define mbe_rectangle(canvas, x, y, w, h) | 62 #define mbe_rectangle(canvas, x, y, w, h) |
72 #define mbe_create(surface) ((mbe_t *)NULL) | 72 #define mbe_create(surface) ((mbe_t *)NULL) |
73 #define mbe_clear(canvas) | 73 #define mbe_clear(canvas) |
74 #define mbe_paint(canvas) | 74 #define mbe_paint(canvas) |
75 #define mbe_save(canvas) | 75 #define mbe_save(canvas) |
76 #define mbe_fill(canvas) | 76 #define mbe_fill(canvas) |
77 #define mbe_clip(canvas) | 77 /*! \brief Make scissoring rectangles. |
78 * | |
79 * It would reset all previous pathes. | |
80 */ | |
81 #define mbe_scissoring(canvas, n_areas, areas) | |
78 #define mbe_arc(canvas, x, y, radius, angle_start, angle_stop) | 82 #define mbe_arc(canvas, x, y, radius, angle_start, angle_stop) |
79 | 83 |
80 typedef struct _mbe_text_extents_t mbe_text_extents_t; | 84 typedef struct _mbe_text_extents_t mbe_text_extents_t; |
81 typedef int mbe_scaled_font_t; | 85 typedef int mbe_scaled_font_t; |
82 typedef int mbe_font_face_t; | 86 typedef int mbe_font_face_t; |