Mercurial > MadButterfly
comparison src/graph_engine_openvg.c @ 627:97bf0ff7a038 openvg
linked with libEGL and libOpenVG
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 16 Jul 2010 18:03:52 +0800 |
parents | 39bd74da7f92 |
children | 608f58b9b84d |
comparison
equal
deleted
inserted
replaced
626:e4138c12fa8c | 627:97bf0ff7a038 |
---|---|
253 vgSetParameterfv(paint, VG_PAINT_RADIAL_GRADIENT, grad_len, gradient); | 253 vgSetParameterfv(paint, VG_PAINT_RADIAL_GRADIENT, grad_len, gradient); |
254 vgSetParameterfv(paint, VG_PAINT_COLOR_RAMP_STOPS, 5 * stop_cnt, ov_stops); | 254 vgSetParameterfv(paint, VG_PAINT_COLOR_RAMP_STOPS, 5 * stop_cnt, ov_stops); |
255 | 255 |
256 pattern = O_ALLOC(mbe_pattern_t); | 256 pattern = O_ALLOC(mbe_pattern_t); |
257 if(pattern == NULL) { | 257 if(pattern == NULL) { |
258 vgPaintDestroy(paint); | 258 vgDestroyPaint(paint); |
259 return NULL; | 259 return NULL; |
260 } | 260 } |
261 | 261 |
262 pattern->paint = paint; | 262 pattern->paint = paint; |
263 pattern->asso_img = NULL; | 263 pattern->asso_img = NULL; |