From: Cedric BAIL Date: Mon, 15 Dec 2014 08:14:05 +0000 (+0100) Subject: evas: fix Evas_VG eo files. X-Git-Tag: accepted/tizen/mobile/20150709.001446~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F43147%2F1;p=platform%2Fupstream%2Fefl.git evas: fix Evas_VG eo files. Change-Id: I5e4080383f5f63197244f963b8f654b582a8c21f --- diff --git a/src/lib/evas/canvas/evas_vg.eo b/src/lib/evas/canvas/evas_vg.eo index 95c1ef0..64cd2d1 100644 --- a/src/lib/evas/canvas/evas_vg.eo +++ b/src/lib/evas/canvas/evas_vg.eo @@ -10,6 +10,19 @@ class Evas.VG (Evas.Object, Efl.File) Evas_VG_Node *container; } } + size { + get { + /*@ + Get the size as defined in the original data + before any scaling (as in the file or when the + object were added). + */ + } + values { + uint w; + uint h; + } + } } implements { Eo.Base.constructor; diff --git a/src/lib/evas/canvas/evas_vg_node.eo b/src/lib/evas/canvas/evas_vg_node.eo index e989f7a..b7df469 100644 --- a/src/lib/evas/canvas/evas_vg_node.eo +++ b/src/lib/evas/canvas/evas_vg_node.eo @@ -86,11 +86,27 @@ abstract Evas.VG_Node (Eo.Base) } methods { bound_get { + /*@ + Give the bounding box in screen coordinate as being drawn. + It will start as the control box until it is refined once + the shape is computed. + */ + return: bool @warn_unused; + params { + @out Eina_Rectangle r; + } + } + original_bound_get { + /*@ + Give the bounding box in screen coordinate as defined in + the file or at the insertion of the object (before any scaling). + */ return: bool @warn_unused; params { @out Eina_Rectangle r; } } + raise { /*@ Raise @p obj to the top of its layer. diff --git a/src/lib/evas/canvas/evas_vg_root_node.eo b/src/lib/evas/canvas/evas_vg_root_node.eo index db0837d..9489c73 100644 --- a/src/lib/evas/canvas/evas_vg_root_node.eo +++ b/src/lib/evas/canvas/evas_vg_root_node.eo @@ -1,4 +1,4 @@ -class Evas.VG_Root_Node (Evas.VG_Node) +class Evas.VG_Root_Node (Evas.VG_Container) { eo_prefix: evas_vg_root_node; implements {