2016-02-12 06:39:50 -08:00
|
|
|
import eina_types;
|
|
|
|
|
2016-08-10 07:23:04 -07:00
|
|
|
abstract Efl.VG (Efl.Object, Efl.Gfx, Efl.Gfx.Stack)
|
2015-04-03 07:12:59 -07:00
|
|
|
{
|
2016-11-15 02:42:09 -08:00
|
|
|
[[Efl vector graphics abstract class]]
|
2015-04-03 07:30:59 -07:00
|
|
|
eo_prefix: efl_vg;
|
|
|
|
legacy_prefix: evas_vg_node;
|
2015-05-07 08:36:45 -07:00
|
|
|
methods {
|
2015-06-05 01:54:13 -07:00
|
|
|
@property name {
|
|
|
|
set {
|
2015-09-02 06:13:15 -07:00
|
|
|
[[Set an unique name from the parent point of view. $null means
|
2015-06-05 01:54:13 -07:00
|
|
|
no name.
|
2015-09-02 06:13:15 -07:00
|
|
|
|
2015-09-02 06:16:25 -07:00
|
|
|
@since 1.16
|
2015-09-02 06:13:15 -07:00
|
|
|
]]
|
2015-06-05 01:54:13 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-09-02 06:13:15 -07:00
|
|
|
[[Get an unique name from the parent point of view.
|
|
|
|
|
|
|
|
$null means no name. When set a parent after the name what
|
|
|
|
defined, it might be forced back to $null if the parent
|
|
|
|
already has a node of that name.
|
|
|
|
|
2015-09-02 06:16:25 -07:00
|
|
|
@since 1.16
|
2015-09-02 06:13:15 -07:00
|
|
|
]]
|
2015-06-05 01:54:13 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-11-15 02:42:09 -08:00
|
|
|
name: string; [[Node name]]
|
2015-06-05 01:54:13 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 08:36:45 -07:00
|
|
|
@property transformation {
|
2015-04-03 07:12:59 -07:00
|
|
|
set {
|
2015-07-17 06:54:57 -07:00
|
|
|
[[Sets the transformation matrix to be used for this node object.
|
|
|
|
|
|
|
|
Note: Pass $null to cancel the applied transformation.
|
|
|
|
|
|
|
|
@since 1.14]]
|
2015-04-03 07:30:38 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-17 06:54:57 -07:00
|
|
|
[[Gets the transformation matrix used for this node object.
|
|
|
|
|
|
|
|
@since 1.14]]
|
2015-04-03 07:30:38 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-11-15 02:42:09 -08:00
|
|
|
m: ptr(const(Eina.Matrix3)); [[Transformation matrix.]]
|
2015-04-03 07:30:38 -07:00
|
|
|
}
|
2015-04-03 07:12:59 -07:00
|
|
|
}
|
2015-05-07 08:36:45 -07:00
|
|
|
@property origin {
|
2015-04-03 07:12:59 -07:00
|
|
|
set {
|
2015-07-17 06:54:57 -07:00
|
|
|
[[Sets the origin position of this node object.
|
|
|
|
|
|
|
|
This origin position affects to node transformation.
|
|
|
|
|
|
|
|
@since 1.14]]
|
2015-04-03 07:30:38 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-17 06:54:57 -07:00
|
|
|
[[Gets the origin position of this node object.
|
|
|
|
|
|
|
|
@since 1.14]]
|
2015-04-03 07:30:38 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-17 06:54:57 -07:00
|
|
|
x: double; [[$origin x position.]]
|
|
|
|
y: double; [[$origin y position.]]
|
2015-04-03 07:30:38 -07:00
|
|
|
}
|
2015-04-03 07:12:59 -07:00
|
|
|
}
|
2015-05-07 08:36:45 -07:00
|
|
|
@property mask {
|
2016-11-15 02:42:09 -08:00
|
|
|
[[Vector graphics object mask]]
|
2015-04-03 07:12:59 -07:00
|
|
|
set {
|
2015-06-05 01:54:13 -07:00
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-11-15 02:42:09 -08:00
|
|
|
m: Efl.VG; [[Object mask]]
|
2015-06-05 01:54:13 -07:00
|
|
|
}
|
2015-04-03 07:12:59 -07:00
|
|
|
}
|
|
|
|
/* quality {
|
|
|
|
set {
|
2015-06-05 01:54:13 -07:00
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
Evas_VG_Quality q;
|
|
|
|
}
|
2015-04-03 07:12:59 -07:00
|
|
|
} */
|
2016-05-12 07:41:56 -07:00
|
|
|
bounds_get @virtual_pure {
|
2015-07-17 06:54:57 -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.
|
|
|
|
|
|
|
|
@since 1.14]]
|
2015-04-03 07:30:38 -07:00
|
|
|
params {
|
2016-11-15 02:42:09 -08:00
|
|
|
@out r: Eina.Rectangle; [[Bounding box to be returned.]]
|
2015-04-03 07:30:38 -07:00
|
|
|
}
|
2015-04-03 07:14:52 -07:00
|
|
|
}
|
2015-06-16 07:28:19 -07:00
|
|
|
interpolate {
|
2016-11-15 02:42:09 -08:00
|
|
|
[[Interpolate a given vector graphics object]]
|
|
|
|
|
|
|
|
return: bool; [[$true on success, $false otherwise]]
|
2015-06-16 07:28:19 -07:00
|
|
|
params {
|
2016-11-15 02:42:09 -08:00
|
|
|
@in from: const(Efl.VG); [[Source object]]
|
|
|
|
@in to: const(Efl.VG); [[Destination object]]
|
|
|
|
@in pos_map: double; [[Interpolate mapping]]
|
2015-06-16 07:28:19 -07:00
|
|
|
}
|
|
|
|
}
|
2015-06-19 02:26:46 -07:00
|
|
|
dup {
|
2016-11-15 02:42:09 -08:00
|
|
|
[[Duplicate vector graphics object]]
|
2015-06-19 02:26:46 -07:00
|
|
|
params {
|
2016-11-15 02:42:09 -08:00
|
|
|
@in from: const(Efl.VG); [[Source object]]
|
2015-06-19 02:26:46 -07:00
|
|
|
}
|
|
|
|
}
|
2015-04-03 07:12:59 -07:00
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.parent.set;
|
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2016-05-10 04:25:44 -07:00
|
|
|
Efl.Gfx.visible.set;
|
|
|
|
Efl.Gfx.visible.get;
|
|
|
|
Efl.Gfx.color.set;
|
|
|
|
Efl.Gfx.color.get;
|
|
|
|
Efl.Gfx.color_part.set;
|
|
|
|
Efl.Gfx.color_part.get;
|
|
|
|
Efl.Gfx.size.get;
|
|
|
|
Efl.Gfx.position.set;
|
|
|
|
Efl.Gfx.position.get;
|
2016-06-08 23:05:36 -07:00
|
|
|
Efl.Gfx.geometry.get;
|
2015-04-03 07:23:23 -07:00
|
|
|
Efl.Gfx.Stack.below.get;
|
|
|
|
Efl.Gfx.Stack.above.get;
|
|
|
|
Efl.Gfx.Stack.stack_below;
|
|
|
|
Efl.Gfx.Stack.stack_above;
|
|
|
|
Efl.Gfx.Stack.raise;
|
|
|
|
Efl.Gfx.Stack.lower;
|
2015-04-03 07:12:59 -07:00
|
|
|
}
|
2015-05-07 04:02:01 -07:00
|
|
|
}
|