From 6e3764585e4b085df86772fec342da76f30c9b1b Mon Sep 17 00:00:00 2001 From: Brett Nash Date: Wed, 8 Sep 2010 04:55:01 +0000 Subject: [PATCH] Docimet elm_image_object_size_get SVN revision: 51968 --- legacy/elementary/src/lib/elm_image.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/legacy/elementary/src/lib/elm_image.c b/legacy/elementary/src/lib/elm_image.c index 699c50f27a..a51de950fc 100644 --- a/legacy/elementary/src/lib/elm_image.c +++ b/legacy/elementary/src/lib/elm_image.c @@ -190,6 +190,17 @@ elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) _sizing_eval(obj); } +/** + * Gets the current size of the image. + * + * Either width or height (or both) may be NULL. + * + * On error, neither w or h will be written too. + * + * @param obj The image object. + * @param w Pointer to store width, or NULL. + * @param h Pointer to store height, or NULL. + */ EAPI void elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) {