Functions | |
void | evas_output_size_set (Evas *e, int w, int h) |
Sets the output size of the render engine of the given evas. | |
void | evas_output_size_get (Evas *e, int *w, int *h) |
Retrieve the output size of the render engine of the given evas. | |
void | evas_output_viewport_set (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) |
Sets the output viewport of the given evas in evas units. | |
void | evas_output_viewport_get (Evas *e, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) |
Get the render engine's output viewport co-ordinates in canvas units. |
|
Retrieve the output size of the render engine of the given evas. The output size is given in whatever the output units are for the engine.
If either
|
|
Sets the output size of the render engine of the given evas. The evas will render to a rectangle of the given size once this function is called. The output size is independent of the viewport size. The viewport will be stretched to fill the given rectangle.
The units used for
|
|
Get the render engine's output viewport co-ordinates in canvas units.
x , y , w and h . On success the variables have the output location and size values written to them in canvas units. Any of x , y , w or h that are NULL will not be written to. If e is invalid, the results are undefined.Example: extern Evas *evas; Evas_Coord x, y, width, height; evas_output_viewport_get(evas, &x, &y, &w, &h); |
|
Sets the output viewport of the given evas in evas units. The output viewport is the area of the evas that will be visible to the viewer. The viewport will be stretched to fit the output target of the evas when rendering is performed.
|