Mercurial > MadButterfly
comparison src/graph_engine_openvg.c @ 616:7d70a811829b openvg
mbe_fill_preserve() and mbe_reset_scissoring() for OpenVG
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 08 Jul 2010 11:37:33 +0800 |
parents | 9c5705da2495 |
children | 35a67a837a53 |
comparison
equal
deleted
inserted
replaced
615:0f0abc48e10a | 616:7d70a811829b |
---|---|
260 *coord++ = area->y; | 260 *coord++ = area->y; |
261 *coord++ = area->w; | 261 *coord++ = area->w; |
262 *coord++ = area->h; | 262 *coord++ = area->h; |
263 } | 263 } |
264 | 264 |
265 vgSeti(VG_SCISSORING, VG_TRUE); | |
265 vgSetiv(VG_SCISSOR_RECTS, n_areas * 4, scissors); | 266 vgSetiv(VG_SCISSOR_RECTS, n_areas * 4, scissors); |
266 } | 267 } |
267 | 268 |
268 static int | 269 static int |
269 _openvg_find_config(mb_img_fmt_t fmt, int w, int h, | 270 _openvg_find_config(mb_img_fmt_t fmt, int w, int h, |