These apis has been modified under the beta.
now we correct it with the latest ones.
Change-Id: I52fdbe2d28da29057db8b61d3965b8351f5f069d
_convert_eina_to_tvg_mat(cTransform, &trans_mat);
trans_mat.e13 += nd->x;
trans_mat.e23 += nd->y;
- tvg_paint_transform(pd->picture, &trans_mat);
+ tvg_paint_set_transform(pd->picture, &trans_mat);
}
efl_gfx_color_get(obj, NULL, NULL, NULL, &alpha);
_convert_eina_to_tvg_mat(cTransform, &trans_mat);
trans_mat.e13 += nd->x;
trans_mat.e23 += nd->y;
- tvg_paint_transform(sd->shape, &trans_mat);
+ tvg_paint_set_transform(sd->shape, &trans_mat);
}
if (!sd->fill)
Eina_Rect *r)
{
float px, py, pw, ph;
- tvg_paint_get_bounds(sd->shape, &px, &py, &pw, &ph);
+ //TODO: MUST BE RENAMED to tvg_paint_get_bounds()
+ _tvg_paint_get_bounds(sd->shape, &px, &py, &pw, &ph, false);
r->x = (int)px;
r->y = (int)py;
r->w = (int)pw;
node->mImageInfo.mMatrix.m21, node->mImageInfo.mMatrix.m22, node->mImageInfo.mMatrix.m23,
node->mImageInfo.mMatrix.m31, node->mImageInfo.mMatrix.m32, node->mImageInfo.mMatrix.m33
};
- tvg_paint_transform(picture, &tvg_matrix);
+ tvg_paint_set_transform(picture, &tvg_matrix);
tvg_picture_load_raw(picture, (uint32_t *)node->mImageInfo.data, node->mImageInfo.width, node->mImageInfo.height, EINA_FALSE);
tvg_paint_set_opacity(picture, node->mImageInfo.mAlpha);
tvg_scene_push(parent, picture);