]]
}
values {
- cspace: Efl.Gfx.Colorspace;
+ cspace: Efl.Gfx.Colorspace; [[Colorspace]]
}
}
@property alpha {
]]
get {}
values {
- stride: int;
+ stride: int; [[Stride]]
}
}
params {
@out slice: Eina.Rw_Slice; [[Pointer to the top-left pixel data.]]
@in mode: Efl.Gfx.Buffer.Access_Mode; [[Specifies whether to map for read-only,
- write-only or read-write access (OR combinaison of flags).]]
+ write-only or read-write access (OR combination of flags).]]
@in x: int @optional; [[X position of the top-left pixel to map, defaults to 0.]]
@in y: int @optional; [[Y position of the top-left pixel to map, defaults to 0.]]
@in w: int @optional; [[If 0, defaults to the buffer width.]]
@in h: int @optional; [[If 0, defaults to the buffer height.]]
- @in cspace: Efl.Gfx.Colorspace @optional; [[Requested colorspace. If differen from the internal cspace,
+ @in cspace: Efl.Gfx.Colorspace @optional; [[Requested colorspace. If different from the internal cspace,
map should try to convert the data into a new buffer.
argb8888 by default.]]
@in plane: int @optional; [[Plane ID. 0 by default. Useful for planar formats only.]]
@out stride: int @optional; [[Returns the length in bytes of a mapped line]]
}
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
}
buffer_unmap {
[[Unmap a region of this buffer, and update the internal data if needed.
params {
@in slice: const(Eina.Rw_Slice)*; [[Data slice returned by a previous call to map.]]
}
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
}
buffer_copy_set {
[[Set the pixels for this buffer by copying them, or allocate
]]
params {
@in slice: const(Eina.Slice)* @nullable; [[If $null, allocates an empty buffer]]
- @in width: int;
- @in height: int;
+ @in width: int; [[Width]]
+ @in height: int; [[Height]]
@in stride: int @optional; [[If 0, automatically guessed from the $width.]]
@in cspace: Efl.Gfx.Colorspace @optional; [[argb8888 by default.]]
@in plane: int @optional; [[Plane ID. 0 by default. Useful for planar formats only.]]
}
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
}
buffer_managed_set {
[[Set the pixels for this buffer, managed externally by the client.
]]
params {
@in slice: const(Eina.Slice)* @nullable; [[If $null, detaches the previous buffer.]]
- @in width: int;
- @in height: int;
+ @in width: int; [[Width]]
+ @in height: int; [[Height]]
@in stride: int @optional; [[If 0, automatically guessed from the $width.]]
@in cspace: Efl.Gfx.Colorspace @optional; [[argb8888 by default.]]
@in plane: int @optional; [[Plane ID. 0 by default. Useful for planar formats only.]]
}
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
}
buffer_managed_get {
[[Get a direct pointer to the internal pixel data, if available.
@out slice: Eina.Slice;
@in plane: int @optional; [[Plane ID. 0 by default. Useful for planar formats only.]]
}
- return: bool;
+ return: bool; [[$true on success, $false otherwise]]
}
/* Note: border, span and buffer flags not imported from ector buffer */
}
interface Efl.Gfx.Fill {
+ [[Efl graphics fill interface]]
methods {
@property fill_auto {
[[Binds the object's @.fill property to its actual geometry.
[[Required padding to apply this filter without cropping.
Read-only property that can be used to calculate the object's final
- geometry. This can be overriden (set) from inside the filter program
+ geometry. This can be overridden (set) from inside the filter program
by using the function 'padding_set' in the Lua program.
]]
get {
[[Gets the padding required to apply this filter.]]
}
values {
- l: int;
- r: int;
- t: int;
- b: int;
+ l: int; [[Padding on the left]]
+ r: int; [[Padding on the ight]]
+ t: int; [[Padding on the top]]
+ b: int; [[Padding on the bottom]]
}
}
@property filter_source {
interface Efl.Gfx.Gradient
{
+ [[Efl graphics gradient interface]]
eo_prefix: efl_gfx_gradient;
methods {
@property stop {
[[Get the list of color stops.]]
}
values {
- colors: const(Efl.Gfx.Gradient.Stop) *; [[color stops list]]
- length: uint; [[length of the list]]
+ colors: const(Efl.Gfx.Gradient.Stop) *; [[Color stops list]]
+ length: uint; [[Length of the list]]
}
}
@property spread {
]]
}
values {
- s: Efl.Gfx.Gradient.Spread; [[spread type to be used]]
+ s: Efl.Gfx.Gradient.Spread; [[Spread type to be used]]
}
}
}
interface Efl.Gfx.Gradient.Linear (Efl.Gfx.Gradient)
{
+ [[Efl graphics gradient linear interface]]
methods {
@property start {
set {
[[Gets the start point of this linear gradient.]]
}
values {
- x: double; [[x co-ordinate of start point]]
- y: double; [[y co-ordinate of start point]]
+ x: double; [[X co-ordinate of start point]]
+ y: double; [[Y co-ordinate of start point]]
}
}
@property end {
[[Gets the end point of this linear gradient.]]
}
values {
- x: double; [[x co-ordinate of end point]]
- y: double; [[y co-ordinate of end point]]
+ x: double; [[X co-ordinate of end point]]
+ y: double; [[Y co-ordinate of end point]]
}
}
}
interface Efl.Gfx.Gradient.Radial (Efl.Gfx.Gradient)
{
+ [[Efl graphics gradient radial interface]]
methods {
@property center {
set {
[[Gets the center of this radial gradient.]]
}
values {
- x: double; [[x co-ordinate of center point]]
- y: double; [[y co-ordinate of center point]]
+ x: double; [[X co-ordinate of center point]]
+ y: double; [[Y co-ordinate of center point]]
}
}
@property radius {
[[Gets the center radius of this radial gradient.]]
}
values {
- r: double; [[center radius]]
+ r: double; [[Center radius]]
}
}
@property focal {
[[Gets the focal point of this radial gradient.]]
}
values {
- x: double; [[x co-ordinate of focal point]]
- y: double; [[y co-ordinate of focal point]]
+ x: double; [[X co-ordinate of focal point]]
+ y: double; [[Y co-ordinate of focal point]]
}
}
}
interface Efl.Gfx.Size.Hint
{
+ [[Efl graphics size hint interface]]
event_prefix: efl_gfx;
methods {
@property hint_base {
*/
values {
mode: Efl.Gfx.Size.Hint.Aspect; [[Mode of interpretation.]]
- w: int;
- h: int;
+ w: int; [[Width]]
+ h: int; [[Height]]
/* FIXME: do we want min/max like Edje instead??
min: double; [[Default: 0.0 (no preference).]]
-interface Efl.Gfx.Stack {
+interface Efl.Gfx.Stack
+{
+ [[Efl graphics stack interface]]
event_prefix: efl_gfx;
methods {
@property layer {
objects on layers below the one $obj is placed at.
See also @.layer.get(), @.layer.set() and @.below.get()]]
- return: Efl.Gfx.Stack @warn_unused; [[the #Efl_Gfx_Stack directly below $obj, if any,
+ return: Efl.Gfx.Stack @warn_unused; [[The #Efl_Gfx_Stack directly below $obj, if any,
or $null, if none]]
}
}
objects on layers above the one $obj is placed at.
See also @.layer.get(), @.layer.set() and @.below.get()]]
- return: Efl.Gfx.Stack @warn_unused; [[the #Efl_Gfx_Stack directly below $obj, if any,
+ return: Efl.Gfx.Stack @warn_unused; [[The #Efl_Gfx_Stack directly below $obj, if any,
or $null, if none]]
}
}
See also @.layer.get(), @.layer.set() and @.stack_below()]]
params {
- @in below: Efl.Gfx.Stack @nonull; [[the object below which to stack]]
+ @in below: Efl.Gfx.Stack @nonull; [[The object below which to stack]]
}
}
raise {
See also @.layer.get(), @.layer.set() and @.stack_below()]]
params {
- @in above: Efl.Gfx.Stack @nonull; [[the object above which to stack]]
+ @in above: Efl.Gfx.Stack @nonull; [[The object above which to stack]]
}
}
lower {
-interface Efl.Gfx.View {
+interface Efl.Gfx.View
+{
+ [[Efl graphics view interface]]
eo_prefix: efl_gfx;
methods {
@property view_size {