evas: fix Evas_VG eo files.

This commit is contained in:
Cedric BAIL 2015-04-03 16:14:52 +02:00
parent 3447936adb
commit a247ddeceb
3 changed files with 30 additions and 1 deletions

View File

@ -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;

View File

@ -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.

View File

@ -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 {