efl/src/lib/evas/canvas/evas_vg_node.eo

142 lines
3.4 KiB
Plaintext
Raw Normal View History

abstract Evas.VG_Node (Eo.Base, Efl.Gfx.Base)
{
eo_prefix: evas_vg_node;
legacy_prefix: null;
properties {
transformation {
set {
}
get {
}
values {
const(Eina_Matrix3) *m;
}
}
origin {
set {
}
get {
}
values {
double x;
double y;
}
}
mask {
set {
}
get {
}
values {
Evas_VG_Node *m;
}
}
/* quality {
set {
}
get {
}
values {
Evas_VG_Quality q;
}
} */
}
methods {
bound_get {
2015-04-03 07:14:52 -07:00
/*@
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;
}
}
2015-04-03 07:14:52 -07:00
raise {
/*@
Raise @p obj to the top of its layer.
@p obj will, then, be the highest one in the layer it belongs
to. Object on other layers won't get touched.
@see evas_vg_node_stack_above()
@see evas_vg_node_stack_below()
@see evas_vg_node_lower() */
}
stack_above {
/*@
Stack @p obj immediately above @p above
Objects, in a given Evas_VG_Container, are stacked in the order they get added
to it. This means that, if they overlap, the highest ones will
cover the lowest ones, in that order. This function is a way to
change the stacking order for the objects.
This function is intended to be used with <b>objects belonging to
the same container</b>, otherwise it will fail (and
accomplish nothing).
@see evas_vg_node_stack_below() */
params {
@in Evas_VG_Node *above @nonull; /*@ the object above which to stack */
}
}
stack_below {
/*@
Stack @p obj immediately below @p below
Objects, in a given container, are stacked in the order they get added
to it. This means that, if they overlap, the highest ones will
cover the lowest ones, in that order. This function is a way to
change the stacking order for the objects.
This function is intended to be used with <b>objects belonging to
the same container</b>, otherwise it will fail (and
accomplish nothing).
@see evas_vg_node_layer_get()
@see evas_vg_node_layer_set()
@see evas_vg_node_stack_below() */
params {
@in Evas_Object *below @nonull; /*@ the object below which to stack */
}
}
lower {
/*@
Lower @p obj to the bottom of its layer.
@p obj will, then, be the lowest one in the layer it belongs
to. Objects on other layers won't get touched.
@see evas_vg_node_stack_above()
@see evas_vg_node_stack_below()
@see evas_vg_node_raise() */
}
}
implements {
Eo.Base.parent.set;
Eo.Base.constructor;
Efl.Gfx.Base.visible.set;
Efl.Gfx.Base.visible.get;
Efl.Gfx.Base.color.set;
Efl.Gfx.Base.color.get;
Efl.Gfx.Base.size.get;
Efl.Gfx.Base.position.set;
Efl.Gfx.Base.position.get;
@virtual .bound_get;
}
}