aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/efl_canvas_image_internal.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-05-24 15:07:21 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-05-24 15:24:13 +0900
commitb114f8c66db549362a8e9aa0bf0c7101f8090979 (patch)
tree5f8df9ae949484059f4f0b545190f600ab5ed527 /src/lib/evas/canvas/efl_canvas_image_internal.eo
parentevas: Fix rare crash in object destruction (diff)
downloadefl-b114f8c66db549362a8e9aa0bf0c7101f8090979.tar.gz
evas/elm: Add Efl.Image.image_size read-only property
Following a remark in the mailing list, it is pretty clear that Efl.Gfx.View.view_size is not as simple as "image_size". I have defined this new image_size as being the size of the image file, and not what's currently loaded. So it will not apply to proxies, gl views, 3d scenes, etc... but only to standard image files loaded with file_set or mmap_set. Supported objects: - Efl.Canvas.Image (evas image) - Efl.Ui.Image (elm image) - Elm.Photocam (note: still needs some interface work) @feature
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_image_internal.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_image_internal.eo1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_image_internal.eo b/src/lib/evas/canvas/efl_canvas_image_internal.eo
index 1676122cd6..2f65a48a63 100644
--- a/src/lib/evas/canvas/efl_canvas_image_internal.eo
+++ b/src/lib/evas/canvas/efl_canvas_image_internal.eo
@@ -20,6 +20,7 @@ abstract Efl.Canvas.Image.Internal (Efl.Canvas.Object, Efl.Canvas.Filter.Interna
Efl.Image.border_center_fill { get; set; }
Efl.Image.scale_hint { get; set; }
Efl.Image.content_hint { get; set; }
+ Efl.Image.image_size { get; }
Efl.Gfx.Buffer.alpha { get; set; }
Efl.Gfx.Buffer.buffer_update_add;
Efl.Gfx.Buffer.colorspace { get; }