migrate to new snapshot object.

This commit is contained in:
Cedric BAIL 2016-03-17 16:54:05 -07:00
parent adea5d2b26
commit f9834c142c
1 changed files with 1 additions and 2 deletions

View File

@ -85,13 +85,12 @@ static void _setup(void)
"blur { 5, dst = a, color = '#ff0' }"
;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_SNAPSHOT_CLASS, evas);
o_snap = o;
efl_gfx_visible_set(o, EINA_TRUE);
efl_gfx_position_set(o, 50, 50);
efl_gfx_size_set(o, 200, 200);
efl_gfx_fill_set(o, 0, 0, 200, 200);
evas_obj_image_snapshot_set(o, EINA_TRUE);
efl_gfx_filter_program_set(o, filter, "test");
done = 0;