Evas_Canvas (3) - Linux Man Pages

Evas_Canvas: Functions that deal with the basic evas object.

NAME

Evas Canvas - Functions that deal with the basic evas object.

Functions


EAPI Evas * evas_new (void)
Creates a new empty evas.
EAPI void evas_free (Evas *e)
Frees the given evas and any objects created on it.

Detailed Description

Functions that deal with the basic evas object.

They are the functions you need to use at a minimum to get a working evas, and to destroy it.

Function Documentation

EAPI void evas_free (Evas * e)

Frees the given evas and any objects created on it.

Any objects with 'free' callbacks will have those callbacks called in this function.

Parameters:

e The given evas.

References evas_font_path_clear(), evas_hash_free(), evas_list_free(), and evas_list_remove().

EAPI Evas* evas_new (void)

Creates a new empty evas.

Note that before you can use the evas, you will to at a minimum:

*
Set its render method with evas_output_method_set .
*
Set its viewport size with evas_output_viewport_set .
*
Set its size of the canvas with evas_output_size_set .
*
Ensure that the render engine is given the correct settings with evas_engine_info_set .

This function should only fail if the memory allocation fails.

Returns:

A new uninitialised Evas canvas on success. Otherwise, NULL.

References EVAS_FONT_HINTING_BYTECODE.

Author

Generated automatically by Doxygen for Evas from the source code.