Evas Canvas.
Canvas is the base drawing area and scene manager, it should have a
number of objects (or actors) that will be managed. Object state is
monitored and redraw is optimized based on changes.
Attention:
Canvas must be associated with an Input/Output system in order to
be functional. So far it's impossible to do this association
directly from Python, so you should create Canvas indirectly using
ecore.evas classes, like ecore.evas.SoftwareX11.
See Also:
ecore.evas.SoftwareX11, ecore.evas.Buffer, ...
|
|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
|
|
_new_evas(...)
Creates an internal (wrapped) 'Evas*' for this object. |
|
|
|
|
|
|
|
|
|
|
freeze(...)
Freeze event processing |
|
|
|
|
thaw(...)
Thaw (unfreeze) event processing |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|
|
tuple of int
|
|
|
|
size_set(...)
Set canvas size. |
|
|
|
FilledImage
|
|
|
Gradient
|
Gradient(...)
Factory of evas.Gradient associated with this canvas. |
|
|
|
Image
|
Image(...)
Factory of evas.Image associated with this canvas. |
|
|
|
Line
|
Line(...)
Factory of evas.Line associated with this canvas. |
|
|
|
Polygon
|
Polygon(...)
Factory of evas.Polygon associated with this canvas. |
|
|
|
Rectangle
|
|
|
Text
|
Text(...)
Factory of evas.Text associated with this canvas. |
|
|
|
Textblock
|
|
|
Object
|
|
|
Object
|
|
|
Object
|
object_name_find(...)
Find object by name. |
|
|
|
list of Object
|
|
|
list of Object
|
|
|
Object
|
|
|
Object
|
|
|
Object
|
|
|
Object
|
|
|
int
|
| coord_screen_x_to_world(...) |
|
|
|
int
|
| coord_screen_y_to_world(...) |
|
|
|
int
|
| coord_world_x_to_screen(...) |
|
|
|
int
|
| coord_world_y_to_screen(...) |
|
|
|
list of int
|
|
|
|
viewport_set(...)
Sets the output viewport of the given evas in evas units. |
|
|
|
int
|
|
|
|
pointer_canvas_xy_get(...)
Returns the pointer's (x, y) relative to canvas. |
|
|
|
bool
|
pointer_inside_get(...)
Returns whether the mouse pointer is logically inside the canvas. |
|
|
|
|
pointer_output_xy_get(...)
Returns the pointer's (x, y) relative to output. |
|
|
|
|
|
|
int
|
|
|
|
|
|
|
|
|
list of str
|
|
|
|
|
|
int
|
|
|
|
|
|
bool
|
| font_hinting_can_hint(...) |
|
|
|
int
|
|
|
|
|
|
|
|
|
|
|
|
list of str
|
|
|
|
|
|
|
|
|
|
| damage_rectangle_add(...) |
|
|
|
int
|
|
|
|
|
|
|
|
|
|
| obscured_rectangle_add(...) |
|
|
|
int
|
output_method_get(...)
Returns the id of the current output method, or 0 if error happened. |
|
|
|
|
output_method_set(...)
Set canvas render method, can be either a name or id. |
|
|
|
|
render(...)
Force canvas to redraw pending updates. |
|
|
|
|
|