From: Jaehyun Cho Date: Sun, 2 Nov 2014 21:16:41 +0000 (+0100) Subject: evas: change the docs of evas_object_image_load_size_set()/get() X-Git-Tag: v1.12.0-beta2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10e8039be5d48b84719f83372c03d94fb09474c2;p=platform%2Fupstream%2Fefl.git evas: change the docs of evas_object_image_load_size_set()/get() Summary: Change the docs of evas_object_image_load_size_set()/get() since the previous docs were not clear to identify those functions from evas_object_image_size_set()/get() Reviewers: raster, eunue, cedric, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1619 Signed-off-by: Cedric BAIL --- diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index b33b858..bc135c0 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h @@ -1650,11 +1650,14 @@ EAPI Eina_Bool evas_object_image_animated_get(const Eo *obj); /** * - * Set the size of a given image object's source image, when loading - * it. + * Set the load size of a given image object's source image. * - * This function sets a new (loading) size for the given canvas - * image. + * This function sets a new geometry size for the given canvas image. + * The image will be loaded into memory as if it was the set size instead of + * the original size. + * + * @note The size of a given image object's source image will be less than or + * equal to the size of @p w and @p h. * * @see evas_object_image_load_size_get() * @@ -1665,11 +1668,15 @@ EAPI void evas_object_image_load_size_set(Eo *obj, int w, int h); /** * - * Get the size of a given image object's source image, when loading - * it. + * Get the load size of a given image object's source image. + * + * This function gets the geometry size set manually for the given canvas image. * * @note Use @c NULL pointers on the size components you're not * interested in: they'll be ignored by the function. + * @note @p w and @p h will be set with the image's loading size only if + * the image's load size is set manually: if evas_object_image_load_size_set() + * has not been called, @p w and @p h will be set with 0. * * @see evas_object_image_load_size_set() for more details *