These routines are used for Evas library interaction. More...
Data Structures | |
struct | _Evas_Version |
struct | _Evas_Coord_Rectangle |
A rectangle in Evas_Coord. More... | |
struct | _Evas_Coord_Point |
A Point in Evas_Coord. More... | |
struct | _Evas_Coord_Size |
A size in Evas_Coord. More... | |
struct | _Evas_Coord_Precision_Size |
A size in Evas_Coord with subpixel precision. More... | |
struct | _Evas_Coord_Precision_Point |
A point in Evas_Coord with subpixel precision. More... | |
struct | _Evas_Point |
A point. More... | |
struct | _Evas_Position |
A position. More... | |
struct | _Evas_Precision_Position |
A position with precision. More... | |
struct | _Evas_Pixel_Import_Source |
struct | _Evas_Event_Render_Post |
struct | _Evas_Textgrid_Cell |
A cell contains a single unicode character, with associated formatting data including style, color, and color palette. More... | |
struct | _Evas_Smart_Class |
A smart object's base class definition. More... | |
struct | _Evas_Smart_Interface |
A smart object's base interface definition. More... | |
struct | _Evas_Smart_Cb_Description |
Describes a callback issued by a smart object (evas_object_smart_callback_call()), as defined in its smart object class. More... | |
struct | _Evas_Object_Smart_Clipped_Data |
struct | _Evas_Object_Box_Api |
This structure should be used by any smart class inheriting from the box's one, to provide custom box behavior that could not be achieved only by providing a layout function, with evas_object_box_layout_set(). More... | |
struct | _Evas_Object_Box_Data |
This structure augments clipped smart object's instance data, providing extra members required by generic box implementation. More... | |
struct | _Evas_Object_Box_Option |
Evas_Object_Box_Option struct fields More... | |
struct | _Evas_Cserve_Stats |
Statistics about the server that shares cached bitmaps. More... | |
struct | _Evas_Cserve_Image_Cache |
A handle of a cache of images shared by a server. More... | |
struct | _Evas_Cserve_Image |
A handle to an image shared by a server. More... | |
struct | _Evas_Cserve_Config |
Configuration that controls the server that shares cached bitmaps. More... | |
Macros | |
#define | EVAS_VERSION_MAJOR EFL_VERSION_MAJOR |
The major number of evas version. | |
#define | EVAS_VERSION_MINOR EFL_VERSION_MINOR |
The minor number of evas version. | |
#define | EVAS_CALLBACK_PRIORITY_BEFORE -100 |
Slightly more prioritized than default. More... | |
#define | EVAS_CALLBACK_PRIORITY_DEFAULT 0 |
Default callback priority level. More... | |
#define | EVAS_CALLBACK_PRIORITY_AFTER 100 |
Slightly less prioritized than default. More... | |
#define | _EFL_CANVAS_OBJECT_EO_CLASS_TYPE |
#define | EVAS_LAYER_MIN -32768 |
bottom-most layer number | |
#define | EVAS_LAYER_MAX 32767 |
top-most layer number | |
#define | EVAS_COLOR_SPACE_ARGB 0 |
Not used for anything. | |
#define | EVAS_COLOR_SPACE_AHSV 1 |
Not used for anything. | |
#define | EVAS_TEXT_INVALID -1 |
Not used for anything. | |
#define | EVAS_TEXT_SPECIAL -2 |
Not used for anything. | |
#define | EVAS_HINT_EXPAND 1.0 |
Use with evas_object_size_hint_weight_set(), evas_object_size_hint_weight_get(), evas_object_size_hint_expand_set(), evas_object_size_hint_expand_get() | |
#define | EVAS_HINT_FILL -1.0 |
Use with evas_object_size_hint_align_set(), evas_object_size_hint_align_get(), evas_object_size_hint_fill_set(), evas_object_size_hint_fill_get() | |
#define | evas_object_size_hint_fill_set evas_object_size_hint_align_set |
Convenience macro to make it easier to understand that align is also used for fill properties (as fill is mutually exclusive to align) | |
#define | evas_object_size_hint_fill_get evas_object_size_hint_align_get |
Convenience macro to make it easier to understand that align is also used for fill properties (as fill is mutually exclusive to align) | |
#define | evas_object_size_hint_expand_set evas_object_size_hint_weight_set |
Convenience macro to make it easier to understand that weight is also used for expand properties. | |
#define | evas_object_size_hint_expand_get evas_object_size_hint_weight_get |
Convenience macro to make it easier to understand that weight is also used for expand properties. | |
#define | EVAS_DEVICE_CLASS_WAND EVAS_DEVICE_CLASS_POINTER |
#define | EVAS_BIDI_DIRECTION_NEUTRAL EFL_TEXT_BIDIRECTIONAL_TYPE_NEUTRAL |
#define | EVAS_BIDI_DIRECTION_NATURAL EFL_TEXT_BIDIRECTIONAL_TYPE_NATURAL |
#define | EVAS_BIDI_DIRECTION_LTR EFL_TEXT_BIDIRECTIONAL_TYPE_LTR |
#define | EVAS_BIDI_DIRECTION_RTL EFL_TEXT_BIDIRECTIONAL_TYPE_RTL |
#define | EVAS_BIDI_DIRECTION_INHERIT EFL_TEXT_BIDIRECTIONAL_TYPE_INHERIT |
#define | EVAS_TEXT_STYLE_MASK_BASIC 0xf |
#define | EVAS_TEXT_STYLE_BASIC_SET(x, s) do { x = ((x) & ~EVAS_TEXT_STYLE_MASK_BASIC) | (s); } while (0) |
Text style type creation macro. More... | |
#define | EVAS_TEXT_STYLE_MASK_SHADOW_DIRECTION (0x7 << 4) |
#define | EVAS_TEXT_STYLE_SHADOW_DIRECTION_SET(x, s) do { x = ((x) & ~EVAS_TEXT_STYLE_MASK_SHADOW_DIRECTION) | (s); } while (0) |
Text style type creation macro. More... | |
#define | EVAS_SMART_CLASS_VERSION 4 |
The version you have to put into the version field in the Evas_Smart_Class struct. More... | |
#define | EVAS_SMART_CLASS_INIT_NULL {NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initialize to zero a whole Evas_Smart_Class structure. More... | |
#define | EVAS_SMART_CLASS_INIT_VERSION {NULL, EVAS_SMART_CLASS_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initialize to zero a whole Evas_Smart_Class structure and set version. More... | |
#define | EVAS_SMART_CLASS_INIT_NAME_VERSION(name) {name, EVAS_SMART_CLASS_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initialize to zero a whole Evas_Smart_Class structure and set name and version. More... | |
#define | EVAS_SMART_CLASS_INIT_NAME_VERSION_PARENT(name, parent) {name, EVAS_SMART_CLASS_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, parent, NULL, NULL} |
Initialize to zero a whole Evas_Smart_Class structure and set name, version and parent class. More... | |
#define | EVAS_SMART_CLASS_INIT_NAME_VERSION_PARENT_CALLBACKS(name, parent, callbacks) {name, EVAS_SMART_CLASS_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, parent, callbacks, NULL} |
Initialize to zero a whole Evas_Smart_Class structure and set name, version, parent class and callbacks definition. More... | |
#define | EVAS_SMART_SUBCLASS_NEW(smart_name, prefix, api_type, parent_type, parent_func, cb_desc) |
Convenience macro to subclass a given Evas smart class. More... | |
#define | EVAS_SMART_SUBCLASS_IFACE_NEW(smart_name, prefix, api_type, parent_type, parent_func, cb_desc, ifaces) |
#define | EVAS_SMART_DATA_ALLOC(o, priv_type) |
Convenience macro to allocate smart data only if needed. More... | |
#define | evas_smart_class_inherit(sc, parent_sc) evas_smart_class_inherit_full(sc, (Evas_Smart_Class *)parent_sc, sizeof(*parent_sc)) |
Easy to use version of evas_smart_class_inherit_full(). More... | |
#define | EVAS_OBJECT_BOX_API_VERSION 1 |
Current version for Evas box object smart class, a value that goes to _Evas_Object_Box_Api::version. | |
#define | EVAS_OBJECT_BOX_API_INIT(smart_class_init) {smart_class_init, EVAS_OBJECT_BOX_API_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer for a whole Evas_Object_Box_Api structure, with NULL values on its specific fields. More... | |
#define | EVAS_OBJECT_BOX_API_INIT_NULL EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_NULL) |
Initialize to zero out a whole Evas_Object_Box_Api structure. More... | |
#define | EVAS_OBJECT_BOX_API_INIT_VERSION EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_VERSION) |
Initialize to zero out a whole Evas_Object_Box_Api structure and set a specific version on it. More... | |
#define | EVAS_OBJECT_BOX_API_INIT_NAME_VERSION(name) EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_NAME_VERSION(name)) |
Initialize to zero out a whole Evas_Object_Box_Api structure and set its name and version. More... | |
#define | _EFL_INPUT_DEVICE_EO_CLASS_TYPE |
#define | _EFL_INPUT_DEVICE_EO_TYPES |
#define | _EFL_GFX_ENTITY_EO_H_ |
#define | _EFL_GFX_ENTITY_EO_CLASS_TYPE |
Typedefs | |
typedef struct _Evas_Version | Evas_Version |
This is the Evas version information structure that can be used at runtime to detect which version of evas is being used and adapt appropriately as follows for example: More... | |
typedef Efl_Callback_Priority | Evas_Callback_Priority |
Callback priority value. More... | |
typedef struct _Evas_Coord_Rectangle | Evas_Coord_Rectangle |
A generic rectangle handle. More... | |
typedef struct _Evas_Point | Evas_Point |
integer point | |
typedef struct _Evas_Coord_Point | Evas_Coord_Point |
Evas_Coord point. | |
typedef struct _Evas_Coord_Precision_Point | Evas_Coord_Precision_Point |
Evas_Coord point with sub-pixel precision. | |
typedef struct _Evas_Coord_Size | Evas_Coord_Size |
Evas_Coord size. More... | |
typedef struct _Evas_Coord_Precision_Size | Evas_Coord_Precision_Size |
Evas_Coord size with sub-pixel precision. More... | |
typedef struct _Evas_Position | Evas_Position |
associates given point in Canvas and Output | |
typedef struct _Evas_Precision_Position | Evas_Precision_Position |
associates given point in Canvas and Output, with sub-pixel precision | |
typedef int | Evas_Coord |
Type used for coordinates (in pixels, int). | |
typedef int | Evas_Font_Size |
Type used for font sizes (int). | |
typedef struct _Evas_Smart_Class | Evas_Smart_Class |
A smart object's base class definition. | |
typedef struct _Evas_Smart_Interface | Evas_Smart_Interface |
A smart object's base interface definition. More... | |
typedef struct _Evas_Smart_Cb_Description | Evas_Smart_Cb_Description |
A smart object callback description, used to provide introspection. | |
typedef Eo | Evas |
An opaque handle to an Evas canvas. More... | |
typedef struct _Evas_Public_Data | Evas_Public_Data |
Public data for an Evas. | |
typedef Eo | Efl_Canvas_Object |
typedef Efl_Canvas_Object | Evas_Object |
An Evas Object handle. | |
typedef Eo | Efl_VG |
Type of abstract VG node. | |
typedef void | Evas_Performance |
An Evas Performance handle. | |
typedef struct _Evas_Smart | Evas_Smart |
An Evas Smart Object handle. | |
typedef int | Evas_Angle |
A type for angle. | |
typedef struct _Evas_Pixel_Import_Source | Evas_Pixel_Import_Source |
A source description of pixels for importing pixels. | |
typedef Eo | Evas_Device |
A source device handle - where the event came from. | |
typedef enum _Evas_Image_Content_Hint | Evas_Image_Content_Hint |
How an image's data is to be treated by Evas, for optimization. | |
typedef enum _Evas_Alloc_Error | Evas_Alloc_Error |
Possible allocation errors returned by evas_alloc_error() | |
typedef enum _Evas_Pixel_Import_Pixel_Format | Evas_Pixel_Import_Pixel_Format |
Pixel format for import call. More... | |
typedef enum _Evas_Engine_Render_Mode | Evas_Engine_Render_Mode |
behaviour of the renderer | |
typedef struct _Evas_Event_Render_Post | Evas_Event_Render_Post |
Event info sent after a frame was rendered. More... | |
typedef enum _Evas_Device_Class | Evas_Device_Class |
A general class of device. More... | |
typedef enum _Evas_Button_Flags | Evas_Button_Flags |
Flags for Mouse Button events. More... | |
typedef enum _Evas_Event_Flags | Evas_Event_Flags |
Flags for Events. More... | |
typedef enum _Evas_Aspect_Control | Evas_Aspect_Control |
Aspect types/policies for scaling size hints, used for evas_object_size_hint_aspect_set() | |
typedef Efl_Text_Bidirectional_Type | Evas_BiDi_Direction |
typedef enum _Evas_Font_Data_Cache | Evas_Font_Data_Cache |
font caching options, used for evas_font_data_cache_set()/evas_font_data_cache_get() | |
typedef enum _Evas_Object_Pointer_Mode | Evas_Object_Pointer_Mode |
How the mouse pointer should be handled by Evas. More... | |
typedef void(* | Evas_Smart_Cb) (void *data, Evas_Object *obj, void *event_info) |
Evas smart objects' "smart callback" function signature. | |
typedef void(* | Evas_Event_Cb) (void *data, Evas *e, void *event_info) |
Evas event callback function signature. | |
typedef Eina_Bool(* | Evas_Object_Event_Post_Cb) (void *data, Evas *e) |
Evas object event (post) callback function signature. | |
typedef void(* | Evas_Object_Event_Cb) (void *data, Evas *e, Evas_Object *obj, void *event_info) |
Evas object event callback function signature. | |
typedef void(* | Evas_Async_Events_Put_Cb) (void *target, Evas_Callback_Type type, void *event_info) |
Evas async callback function signature. | |
typedef void(* | Evas_Object_Image_Pixels_Get_Cb) (void *data, Evas_Object *o) |
Function signature for the evas object pixels get callback function. More... | |
typedef struct _Evas_Object_Smart_Clipped_Data | Evas_Object_Smart_Clipped_Data |
Every subclass should provide this at the beginning of their own data set with evas_object_smart_data_set(). | |
typedef struct _Evas_Object_Box_Api | Evas_Object_Box_Api |
Smart class extension, providing extra box object requirements. | |
typedef struct _Evas_Object_Box_Data | Evas_Object_Box_Data |
Smart object instance data, providing box object requirements. | |
typedef struct _Evas_Object_Box_Option | Evas_Object_Box_Option |
The base structure for a box option. More... | |
typedef void(* | Evas_Object_Box_Layout) (Evas_Object *o, Evas_Object_Box_Data *priv, void *user_data) |
Function signature for an Evas box object layouting routine. More... | |
typedef struct _Evas_Cserve_Stats | Evas_Cserve_Stats |
typedef struct _Evas_Cserve_Image_Cache | Evas_Cserve_Image_Cache |
typedef struct _Evas_Cserve_Image | Evas_Cserve_Image |
typedef struct _Evas_Cserve_Config | Evas_Cserve_Config |
typedef Eo | Efl_Input_Device |
typedef Eo | Efl_Gfx_Entity |
Functions | |
EINA_DEPRECATED EVAS_API const char * | evas_cserve_path_get (void) |
EVAS_API int | evas_init (void) |
Directly initialize Evas and its required dependencies. More... | |
EVAS_API int | evas_shutdown (void) |
Directly shutdown Evas. More... | |
EVAS_API Evas_Alloc_Error | evas_alloc_error (void) |
Get the error status of the most recent memory allocation call. More... | |
EVAS_API int | evas_async_events_fd_get (void) |
Access the canvas' asynchronous event queue. More... | |
EVAS_API int | evas_async_events_process (void) |
Process the asynchronous event queue. More... | |
EVAS_API Eina_Bool | evas_async_events_put (const void *target, Evas_Callback_Type type, void *event_info, Evas_Async_Events_Put_Cb func) |
Insert asynchronous events on the canvas. More... | |
EVAS_API int | evas_render_method_lookup (const char *name) |
Look up a numeric ID from a string name of a rendering engine. More... | |
EVAS_API Eina_List * | evas_render_method_list (void) |
List all the rendering engines compiled into the copy of the Evas library. More... | |
EVAS_API void | evas_render_method_list_free (Eina_List *list) |
This function should be called to free a list of engine names. More... | |
EVAS_API void | evas_render_updates_free (Eina_List *updates) |
Free the rectangles returned by evas_render_updates(). More... | |
EVAS_API Evas_Device * | evas_device_add (Evas *e) |
Add a new device type. More... | |
EVAS_API Evas_Device * | evas_device_add_full (Evas *e, const char *name, const char *desc, Evas_Device *parent_dev, Evas_Device *emulation_dev, Evas_Device_Class clas, Evas_Device_Subclass sub_class) |
Add a new device type. More... | |
EVAS_API void | evas_device_del (Evas_Device *dev) |
Delete a new device type. More... | |
EVAS_API void | evas_device_push (Evas *e, Evas_Device *dev) |
Push the current context device onto the device stack. More... | |
EVAS_API void | evas_device_pop (Evas *e) |
This pops the top of the device stack for the canvas. More... | |
EVAS_API const Eina_List * | evas_device_list (Evas *e, const Evas_Device *dev) |
List all current devices attached to the given canvas and/or device. More... | |
EVAS_API Evas_Device * | evas_device_get (Evas *e, const char *name) |
Get a device by its name. More... | |
EVAS_API Evas_Device * | evas_device_get_by_seat_id (Evas *eo_e, unsigned int id) |
Get a device by its seat id. More... | |
EVAS_API void | evas_device_name_set (Evas_Device *dev, const char *name) |
Set the name of a device as a string. More... | |
EVAS_API const char * | evas_device_name_get (const Evas_Device *dev) |
Get the name of a device. More... | |
EVAS_API void | evas_device_seat_id_set (Evas_Device *dev, unsigned int id) |
Set the seat id of a device. More... | |
EVAS_API unsigned int | evas_device_seat_id_get (const Evas_Device *dev) |
Get the seat id of a device. More... | |
EVAS_API void | evas_device_description_set (Evas_Device *dev, const char *desc) |
Set the description of a device as a string. More... | |
EVAS_API const char * | evas_device_description_get (const Evas_Device *dev) |
Get the description of a device. More... | |
EVAS_API void | evas_device_parent_set (Evas_Device *dev, Evas_Device *parent) EINA_DEPRECATED |
Set the parent of a device. More... | |
EVAS_API const Evas_Device * | evas_device_parent_get (const Evas_Device *dev) |
Get the parent of a device. More... | |
EVAS_API void | evas_device_class_set (Evas_Device *dev, Evas_Device_Class clas) EINA_DEPRECATED |
Set the major class of device. More... | |
EVAS_API Evas_Device_Class | evas_device_class_get (const Evas_Device *dev) |
Get the major class of a device. More... | |
EVAS_API void | evas_device_subclass_set (Evas_Device *dev, Evas_Device_Subclass clas) |
Set the sub-class of a device. More... | |
EVAS_API Evas_Device_Subclass | evas_device_subclass_get (const Evas_Device *dev) |
Get the device sub-class. More... | |
EVAS_API void | evas_device_emulation_source_set (Evas_Device *dev, Evas_Device *src) |
Set the emulation source device. More... | |
EVAS_API const Evas_Device * | evas_device_emulation_source_get (const Evas_Device *dev) |
Get the emulation source device. More... | |
EVAS_API Eina_Bool | evas_object_image_extension_can_load_get (const char *file) |
Check if a file extension may be supported by Image Object Functions. More... | |
EVAS_API Eina_Bool | evas_object_image_extension_can_load_fast_get (const char *file) |
Check if a file extension may be supported by Image Object Functions. More... | |
EVAS_API void | evas_smart_free (Evas_Smart *s) |
Free an Evas_Smart struct. More... | |
EVAS_API Evas_Smart * | evas_smart_class_new (const Evas_Smart_Class *sc) |
Creates a new Evas_Smart from a given Evas_Smart_Class struct. More... | |
EVAS_API const Evas_Smart_Class * | evas_smart_class_get (const Evas_Smart *s) |
Get the Evas_Smart_Class handle of an Evas_Smart struct. More... | |
EVAS_API void * | evas_smart_data_get (const Evas_Smart *s) |
Get the data pointer set on an Evas_Smart struct. More... | |
EVAS_API const Evas_Smart_Cb_Description ** | evas_smart_callbacks_descriptions_get (const Evas_Smart *s, unsigned int *count) |
Get the smart callbacks known by this Evas_Smart handle's smart class hierarchy. More... | |
EVAS_API const Evas_Smart_Cb_Description * | evas_smart_callback_description_find (const Evas_Smart *s, const char *name) |
Find a callback description for the callback named name. More... | |
EVAS_API Eina_Bool | evas_smart_class_inherit_full (Evas_Smart_Class *sc, const Evas_Smart_Class *parent_sc, unsigned int parent_sc_size) |
Sets one class to inherit from the other. More... | |
EVAS_API int | evas_smart_usage_get (const Evas_Smart *s) |
Get the number of uses of the smart instance. More... | |
EVAS_API void | evas_smart_legacy_type_register (const char *type, const Efl_Class *klass) |
Registers an object type and its associated class. More... | |
EVAS_API void | evas_object_smart_clipped_smart_set (Evas_Smart_Class *sc) |
Set a given smart class' callbacks so it implements the clipped smart object"'s interface. More... | |
EVAS_API const Evas_Smart_Class * | evas_object_smart_clipped_class_get (void) |
Get a pointer to the clipped smart object's class, to use for proper inheritance. More... | |
EVAS_API void | evas_object_box_smart_set (Evas_Object_Box_Api *api) |
Set the default box api struct (Evas_Object_Box_Api) with the default values. More... | |
EVAS_API const Evas_Object_Box_Api * | evas_object_box_smart_class_get (void) |
Get the Evas box smart class, for inheritance purposes. More... | |
EVAS_API Eina_Bool | evas_cserve_want_get (void) |
Retrieves if the system wants to share bitmaps using the server. More... | |
EVAS_API Eina_Bool | evas_cserve_connected_get (void) |
Retrieves if the system is connected to the server used to share bitmaps. More... | |
EVAS_API Eina_Bool | evas_cserve_stats_get (Evas_Cserve_Stats *stats) |
Retrieves statistics from a running bitmap sharing server. More... | |
EVAS_API void | evas_cserve_image_cache_contents_clean (Evas_Cserve_Image_Cache *cache) |
Completely discard/clean a given images cache, thus re-setting it. More... | |
EVAS_API Eina_Bool | evas_cserve_config_get (Evas_Cserve_Config *config) |
Retrieves the current configuration of the Evas image caching server. More... | |
EVAS_API Eina_Bool | evas_cserve_config_set (const Evas_Cserve_Config *config) |
Changes the configurations of the Evas image caching server. More... | |
EVAS_API void | evas_cserve_disconnect (void) |
Force the system to disconnect from the bitmap caching server. | |
EVAS_API const char * | evas_load_error_str (Evas_Load_Error error) |
Converts the given Evas image load error code into a string describing it in human-readable text. More... | |
EVAS_API void | evas_color_hsv_to_rgb (float h, float s, float v, int *r, int *g, int *b) |
Convert a given color from HSV to RGB format. More... | |
EVAS_API void | evas_color_rgb_to_hsv (int r, int g, int b, float *h, float *s, float *v) |
Convert a given color from RGB to HSV format. More... | |
EVAS_API void | evas_color_argb_premul (int a, int *r, int *g, int *b) |
Pre-multiplies a rgb triplet by an alpha factor. More... | |
EVAS_API void | evas_color_argb_unpremul (int a, int *r, int *g, int *b) |
Undo pre-multiplication of a rgb triplet by an alpha factor. More... | |
EVAS_API void | evas_data_argb_premul (unsigned int *data, unsigned int len) |
Pre-multiplies data by an alpha factor. More... | |
EVAS_API void | evas_data_argb_unpremul (unsigned int *data, unsigned int len) |
Undo pre-multiplication data by an alpha factor. More... | |
EVAS_API int | evas_string_char_next_get (const char *str, int pos, int *decoded) |
Gets the next character in the string. More... | |
EVAS_API int | evas_string_char_prev_get (const char *str, int pos, int *decoded) |
Gets the previous character in the string. More... | |
EVAS_API int | evas_string_char_len_get (const char *str) |
Get the length in characters of the string. More... | |
EVAS_API Evas_BiDi_Direction | evas_language_direction_get (void) |
Get language direction. More... | |
EVAS_API void | evas_language_reinit (void) |
Reinitialize language from the environment. More... | |
EVAS_API void | evas_font_path_global_clear (void) |
Removes all font paths loaded into memory by evas_font_path_app_* APIs for the application. More... | |
EVAS_API void | evas_font_path_global_append (const char *path) |
Appends a font path to the list of font paths used by the application. More... | |
EVAS_API void | evas_font_path_global_prepend (const char *path) |
Prepends a font path to the list of font paths used by the application. More... | |
EVAS_API const Eina_List * | evas_font_path_global_list (void) |
Retrieves the list of font paths used by the application. More... | |
EVAS_API void | evas_font_reinit (void) |
Reinitialize FontConfig. More... | |
EVAS_API void | evas_font_data_cache_set (Evas_Font_Data_Cache options, int byte) |
Set the limit in bytes for memory allocated by font glyphs in evas. More... | |
EVAS_API int | evas_font_data_cache_get (Evas_Font_Data_Cache options) |
Get the limit in bytes for memory allocated by font glyphs in evas. More... | |
Variables | |
EVAS_API Evas_Version * | evas_version |
Evas Version Information. | |
These routines are used for Evas library interaction.
#define EVAS_CALLBACK_PRIORITY_BEFORE -100 |
Slightly more prioritized than default.
#define EVAS_CALLBACK_PRIORITY_DEFAULT 0 |
Default callback priority level.
#define EVAS_CALLBACK_PRIORITY_AFTER 100 |
Slightly less prioritized than default.
This is the Evas version information structure that can be used at runtime to detect which version of evas is being used and adapt appropriately as follows for example:
Callback priority value.
Range is -32k - 32k. The lower the number, the bigger the priority.
typedef struct _Evas_Coord_Rectangle Evas_Coord_Rectangle |
A generic rectangle handle.
typedef struct _Evas_Coord_Size Evas_Coord_Size |
Evas_Coord size.
typedef struct _Evas_Coord_Precision_Size Evas_Coord_Precision_Size |
Evas_Coord size with sub-pixel precision.
Pixel format for import call.
typedef struct _Evas_Event_Render_Post Evas_Event_Render_Post |
Event info sent after a frame was rendered.
typedef enum _Evas_Device_Class Evas_Device_Class |
A general class of device.
typedef enum _Evas_Button_Flags Evas_Button_Flags |
Flags for Mouse Button events.
Flags for Mouse Button events
typedef enum _Evas_Event_Flags Evas_Event_Flags |
Flags for Events.
Flags for Events
enum _Evas_Alloc_Error |
enum _Evas_Device_Class |
enum Evas_Device_Subclass |
Specific type of input device.
Note: Currently not used inside EFL.
enum _Evas_Button_Flags |
enum _Evas_Event_Flags |
Flags for Events.
enum _Evas_Aspect_Control |
enum Evas_Callback_Type |
Identifier of callbacks to be set for Evas canvases or Evas objects.
EINA_DEPRECATED EVAS_API const char * evas_cserve_path_get | ( | void | ) |
Get the path for the cserve binary to execute
There is little need for anyone except a desktop environment to call this. This can be called before evas_init() has been called. It will try and find the full path to the to the cserve binary to run to provide cserve image and font caching services for evas.
EVAS_API void evas_cserve_image_cache_contents_clean | ( | Evas_Cserve_Image_Cache * | cache | ) |
Completely discard/clean a given images cache, thus re-setting it.
cache | A handle to the given images cache. |
EVAS_API void evas_font_data_cache_set | ( | Evas_Font_Data_Cache | options, |
int | byte | ||
) |
Set the limit in bytes for memory allocated by font glyphs in evas.
[in] | options | for caching. |
[in] | bytes | cache size in bytes, pass negative value to ignore the limit. |
References EVAS_FONT_DATA_CACHE_TEXTURE.
EVAS_API int evas_font_data_cache_get | ( | Evas_Font_Data_Cache | options | ) |
Get the limit in bytes for memory allocated by font glyphs in evas.
[in] | options | for caching. |
References EVAS_FONT_DATA_CACHE_TEXTURE.