comparison src/graph_engine_openvg.c @ 1085:e229e1be6b82 openvg

Fix issue of radial pattern does not be gradiant
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 03 Dec 2010 10:33:54 +0800
parents 555d89e704c0
children 6723b2537993
comparison
equal deleted inserted replaced
1084:e9d8194fcff0 1085:e229e1be6b82
286 *cur_ov_stop++ = cur_stop->offset; 286 *cur_ov_stop++ = cur_stop->offset;
287 *cur_ov_stop++ = cur_stop->r; 287 *cur_ov_stop++ = cur_stop->r;
288 *cur_ov_stop++ = cur_stop->g; 288 *cur_ov_stop++ = cur_stop->g;
289 *cur_ov_stop++ = cur_stop->b; 289 *cur_ov_stop++ = cur_stop->b;
290 *cur_ov_stop++ = cur_stop->a; 290 *cur_ov_stop++ = cur_stop->a;
291 cur_stop++;
291 } 292 }
292 293
293 paint = vgCreatePaint(); 294 paint = vgCreatePaint();
294 if(paint == VG_INVALID_HANDLE) 295 if(paint == VG_INVALID_HANDLE)
295 return NULL; 296 return NULL;