2015-07-15 07:10:29 -07:00
|
|
|
import evas_types;
|
|
|
|
|
2016-09-12 16:18:08 -07:00
|
|
|
class Efl.Canvas.Output (Efl.Object)
|
2014-03-12 11:13:45 -07:00
|
|
|
{
|
2015-05-07 08:36:45 -07:00
|
|
|
methods {
|
|
|
|
@property view {
|
2014-03-12 11:13:45 -07:00
|
|
|
set {
|
2015-07-23 01:32:46 -07:00
|
|
|
[[Sets the viewport region of the canvas that the output displays.
|
|
|
|
|
|
|
|
This sets both the viewport region in the canvas that displays
|
|
|
|
on the given output, but also the viewport size will match the
|
|
|
|
output resolution 1:1.]]
|
2014-03-12 11:13:45 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-23 01:32:46 -07:00
|
|
|
[[Gets the viewport region of the canvas that the output displays.]]
|
2014-03-12 11:13:45 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-15 07:10:29 -07:00
|
|
|
x: Evas.Coord;
|
|
|
|
y: Evas.Coord;
|
|
|
|
w: Evas.Coord;
|
|
|
|
h: Evas.Coord;
|
2014-03-12 11:13:45 -07:00
|
|
|
}
|
|
|
|
}
|
2016-09-12 16:18:08 -07:00
|
|
|
lock {
|
|
|
|
[[Lock this output and will prevent rendering any buffer associated to it.]]
|
|
|
|
return: bool;
|
|
|
|
}
|
|
|
|
unlock {
|
|
|
|
[[Unlock this output and will rendering of this buffer during next call to evas_render.]]
|
|
|
|
return: bool;
|
|
|
|
}
|
2015-05-07 08:36:45 -07:00
|
|
|
@property engine_info {
|
2014-03-12 11:13:45 -07:00
|
|
|
set {
|
2015-07-23 01:32:46 -07:00
|
|
|
[[Sets the engine specific output parameters for a given output.]]
|
2014-08-07 08:58:45 -07:00
|
|
|
return: bool;
|
2014-03-12 11:13:45 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-23 01:32:46 -07:00
|
|
|
[[Gets the engine specific output parameters for a given output.]]
|
2014-03-12 11:13:45 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-02-16 02:06:46 -08:00
|
|
|
info: Evas.Engine_Info *; [[The engine parameters.]]
|
2014-03-12 11:13:45 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2014-03-12 11:13:45 -07:00
|
|
|
}
|
|
|
|
|
2014-06-27 14:13:09 -07:00
|
|
|
}
|