Mercurial > MadButterfly
comparison include/mb_graph_engine_openvg.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 | 6af1aa74e57c |
children | e9923024f65e |
comparison
equal
deleted
inserted
replaced
585:6af1aa74e57c | 586:b42d69ab8857 |
---|---|
48 #define mbe_get_font_face(canvas) ((mbe_font_face_t *)NULL) | 48 #define mbe_get_font_face(canvas) ((mbe_font_face_t *)NULL) |
49 #define mbe_fill_preserve(canvas) | 49 #define mbe_fill_preserve(canvas) |
50 #define mbe_copy_source(src_canvas, dst_canvas) | 50 #define mbe_copy_source(src_canvas, dst_canvas) |
51 #define mbe_set_source(canvas, pattern) \ | 51 #define mbe_set_source(canvas, pattern) \ |
52 do { (canvas)->src = (pattern); } while(0) | 52 do { (canvas)->src = (pattern); } while(0) |
53 #define mbe_reset_clip(canvas) | 53 #define mbe_reset_scissoring(canvas) |
54 #define mbe_get_target(canvas) ((mbe_surface_t *)(canvas)->tgt) | 54 #define mbe_get_target(canvas) ((mbe_surface_t *)(canvas)->tgt) |
55 #define mbe_close_path(canvas) | 55 #define mbe_close_path(canvas) |
56 #define mbe_text_path(canvas, utf8) | 56 #define mbe_text_path(canvas, utf8) |
57 #define mbe_rectangle(canvas, x, y, w, h) | 57 #define mbe_rectangle(canvas, x, y, w, h) |
58 #define mbe_in_stroke(canvas, x, y) (0) | 58 #define mbe_in_stroke(canvas, x, y) (0) |
66 #define mbe_stroke(canvas) | 66 #define mbe_stroke(canvas) |
67 #define mbe_clear(canvas) | 67 #define mbe_clear(canvas) |
68 #define mbe_paint(canvas) | 68 #define mbe_paint(canvas) |
69 #define mbe_save(canvas) | 69 #define mbe_save(canvas) |
70 #define mbe_fill(canvas) | 70 #define mbe_fill(canvas) |
71 #define mbe_clip(canvas) | 71 #define mbe_scissoring(canvas, n_areas, areas) |
72 #define mbe_arc(canvas, x, y, radius, angle_start, angle_stop) | 72 #define mbe_arc(canvas, x, y, radius, angle_start, angle_stop) |
73 | 73 |
74 typedef struct _mbe_text_extents_t mbe_text_extents_t; | 74 typedef struct _mbe_text_extents_t mbe_text_extents_t; |
75 typedef int mbe_scaled_font_t; | 75 typedef int mbe_scaled_font_t; |
76 typedef int mbe_font_face_t; | 76 typedef int mbe_font_face_t; |