stride does not apply to all image objects, eg. proxies or 3d scenes.
it will be implemented by the classes that support stride and pixel
data access
Efl.Gfx.Buffer.alpha.get;
Efl.Gfx.Buffer.alpha.set;
Efl.Gfx.Buffer.buffer_update_add;
- Efl.Gfx.Buffer.stride.get;
Efl.Gfx.Buffer.colorspace.get;
Efl.Gfx.Buffer.buffer_get;
Efl.Gfx.Buffer.buffer_set;
evas_object_image_stride_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 0);
- return efl_gfx_buffer_stride_get(obj);
+ Evas_Image_Data *o = eo_data_scope_get(eo_obj, EVAS_IMAGE_CLASS);
+ return o->cur->image.stride;
}
EAPI void
if (h) *h = uvh;
}
-EOLIAN static int
-_evas_image_efl_gfx_buffer_stride_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o)
-{
- return o->cur->image.stride;
-}
-
EOLIAN static void
_evas_image_efl_gfx_buffer_buffer_update_add(Eo *eo_obj, Evas_Image_Data *o, int x, int y, int w, int h)
{