Evas.h File Reference
These routines are used for Evas library interaction. More...
Data Structures | |
struct | _Evas_List |
A linked list node. More... | |
struct | _Evas_Rectangle |
A rectangle. More... | |
struct | _Evas_Coord_Rectangle |
A rectangle in Evas_Coord. More... | |
struct | _Evas_Smart_Class |
a smart object class More... | |
struct | _Evas_Engine_Info |
Generic engine information. More... | |
struct | _Evas_Event_Mouse_Down |
Mouse button press event. More... | |
struct | _Evas_Event_Mouse_Up |
Mouse butotn relase event. More... | |
struct | _Evas_Event_Mouse_In |
Mouse enter event. More... | |
struct | _Evas_Event_Mouse_Out |
Mouse leave event. More... | |
struct | _Evas_Event_Mouse_Move |
Mouse button down event. More... | |
struct | _Evas_Event_Mouse_Wheel |
Wheel event. More... | |
struct | _Evas_Event_Key_Down |
Key press event. More... | |
struct | _Evas_Event_Key_Up |
Key release event. More... | |
struct | _Evas_Event_Hold |
Hold change event. More... | |
Defines | |
#define | EVAS_LOAD_ERROR_NONE 0 |
No error on load. | |
#define | EVAS_LOAD_ERROR_GENERIC 1 |
A non-specific error occured. | |
#define | EVAS_LOAD_ERROR_DOES_NOT_EXIST 2 |
File (or file path) does not exist. | |
#define | EVAS_LOAD_ERROR_PERMISSION_DENIED 3 |
Permission deinied to an existing file (or path). | |
#define | EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED 4 |
Allocation of resources failure prevented load. | |
#define | EVAS_LOAD_ERROR_CORRUPT_FILE 5 |
File corrupt (but was detected as a known format). | |
#define | EVAS_LOAD_ERROR_UNKNOWN_FORMAT 6 |
File is not a known format. | |
#define | EVAS_ALLOC_ERROR_NONE 0 |
No allocation error. | |
#define | EVAS_ALLOC_ERROR_FATAL 1 |
Allocation failed despite attempts to free up memory. | |
#define | EVAS_ALLOC_ERROR_RECOVERED 2 |
Allocation succeeded, but extra memory had to be found by freeing up speculative resources. | |
#define | EVAS_LAYER_MIN -32768 |
bottom-most layer number | |
#define | EVAS_LAYER_MAX 32767 |
top-most layer number | |
#define | EVAS_PIXEL_FORMAT_NONE 0 |
No pixel format. | |
#define | EVAS_PIXEL_FORMAT_ARGB32 1 |
ARGB 32bit pixel format with A in the high byte per 32bit pixel word. | |
#define | EVAS_PIXEL_FORMAT_YUV420P_601 2 |
YUV 420 Planar format with CCIR 601 color encoding wuth contiguous planes in the order Y, U and V. | |
#define | EVAS_COLOR_SPACE_ARGB 0 |
ARGB color space. | |
#define | EVAS_COLOR_SPACE_AHSV 1 |
AHSV color space. | |
#define | EVAS_TEXTURE_REFLECT 0 |
Gradient and image fill tiling mode - tiling reflects. | |
#define | EVAS_TEXTURE_REPEAT 1 |
tiling repeats | |
#define | EVAS_TEXTURE_RESTRICT 2 |
tiling clamps - range offset ignored | |
#define | EVAS_TEXTURE_RESTRICT_REFLECT 3 |
tiling clamps and any range offset reflects | |
#define | EVAS_TEXTURE_RESTRICT_REPEAT 4 |
tiling clamps and any range offset repeats | |
#define | EVAS_TEXTURE_PAD 5 |
tiling extends with end values | |
Typedefs | |
typedef enum _Evas_Callback_Type | Evas_Callback_Type |
The type of event to trigger the callback. | |
typedef enum _Evas_Button_Flags | Evas_Button_Flags |
Flags for Mouse Button events. | |
typedef enum _Evas_Event_Flags | Evas_Event_Flags |
Flags for Events. | |
typedef enum _Evas_Font_Hinting_Flags | Evas_Font_Hinting_Flags |
Flags for Font Hinting. | |
typedef enum _Evas_Colorspace | Evas_Colorspace |
Colorspaces for pixel data supported by Evas. | |
typedef struct _Evas_List | Evas_List |
A generic linked list node handle. | |
typedef struct _Evas_Rectangle | Evas_Rectangle |
A generic rectangle handle. | |
typedef struct _Evas_Coord_Rectangle | Evas_Coord_Rectangle |
A generic rectangle handle. | |
typedef struct _Evas_Smart_Class | Evas_Smart_Class |
A smart object base class. | |
typedef struct _Evas_Hash | Evas_Hash |
A Hash table handle. | |
typedef struct _Evas | Evas |
An Evas canvas handle. | |
typedef struct _Evas_Object | Evas_Object |
An Evas Object handle. | |
typedef void | Evas_Performance |
An Evas Performance handle. | |
typedef struct _Evas_Modifier | Evas_Modifier |
An Evas Modifier. | |
typedef struct _Evas_Lock | Evas_Lock |
An Evas Lock. | |
typedef struct _Evas_Smart | Evas_Smart |
An Evas Smart Object handle. | |
typedef struct _Evas_Native_Surface | Evas_Native_Surface |
A generic datatype for engine specific native surface information. | |
typedef unsigned long long | Evas_Modifier_Mask |
An Evas modifier mask type. | |
typedef struct _Evas_Pixel_Import_Source | Evas_Pixel_Import_Source |
A source description of pixels for importing pixels. | |
typedef struct _Evas_Engine_Info | Evas_Engine_Info |
A generic Evas Engine information structure. | |
typedef struct _Evas_Event_Mouse_Down | Evas_Event_Mouse_Down |
Event structure for EVAS_CALLBACK_MOUSE_DOWN event callbacks. | |
typedef struct _Evas_Event_Mouse_Up | Evas_Event_Mouse_Up |
Event structure for EVAS_CALLBACK_MOUSE_UP event callbacks. | |
typedef struct _Evas_Event_Mouse_In | Evas_Event_Mouse_In |
Event structure for EVAS_CALLBACK_MOUSE_IN event callbacks. | |
typedef struct _Evas_Event_Mouse_Out | Evas_Event_Mouse_Out |
Event structure for EVAS_CALLBACK_MOUSE_OUT event callbacks. | |
typedef struct _Evas_Event_Mouse_Move | Evas_Event_Mouse_Move |
Event structure for EVAS_CALLBACK_MOUSE_MOVE event callbacks. | |
typedef struct _Evas_Event_Mouse_Wheel | Evas_Event_Mouse_Wheel |
Event structure for EVAS_CALLBACK_MOUSE_WHEEL event callbacks. | |
typedef struct _Evas_Event_Key_Down | Evas_Event_Key_Down |
Event structure for EVAS_CALLBACK_KEY_DOWN event callbacks. | |
typedef struct _Evas_Event_Key_Up | Evas_Event_Key_Up |
Event structure for EVAS_CALLBACK_KEY_UP event callbacks. | |
typedef struct _Evas_Event_Hold | Evas_Event_Hold |
Event structure for EVAS_CALLBACK_HOLD event callbacks. | |
Enumerations | |
enum | _Evas_Callback_Type { EVAS_CALLBACK_MOUSE_IN, EVAS_CALLBACK_MOUSE_OUT, EVAS_CALLBACK_MOUSE_DOWN, EVAS_CALLBACK_MOUSE_UP, EVAS_CALLBACK_MOUSE_MOVE, EVAS_CALLBACK_MOUSE_WHEEL, EVAS_CALLBACK_FREE, EVAS_CALLBACK_KEY_DOWN, EVAS_CALLBACK_KEY_UP, EVAS_CALLBACK_FOCUS_IN, EVAS_CALLBACK_FOCUS_OUT, EVAS_CALLBACK_SHOW, EVAS_CALLBACK_HIDE, EVAS_CALLBACK_MOVE, EVAS_CALLBACK_RESIZE, EVAS_CALLBACK_RESTACK, EVAS_CALLBACK_DEL, EVAS_CALLBACK_HOLD, EVAS_CALLBACK_CHANGED_SIZE_HINTS } |
enum | _Evas_Button_Flags { EVAS_BUTTON_NONE = 0, EVAS_BUTTON_DOUBLE_CLICK = (1 << 0), EVAS_BUTTON_TRIPLE_CLICK = (1 << 1) } |
enum | _Evas_Event_Flags { EVAS_EVENT_FLAG_NONE = 0, EVAS_EVENT_FLAG_ON_HOLD = (1 << 0) } |
enum | _Evas_Font_Hinting_Flags { EVAS_FONT_HINTING_NONE, EVAS_FONT_HINTING_AUTO, EVAS_FONT_HINTING_BYTECODE } |
enum | _Evas_Colorspace { EVAS_COLORSPACE_ARGB8888, EVAS_COLORSPACE_YCBCR422P601_PL, EVAS_COLORSPACE_YCBCR422P709_PL, EVAS_COLORSPACE_RGB565_A5P } |
enum | _Evas_Render_Op { EVAS_RENDER_BLEND = 0, EVAS_RENDER_BLEND_REL = 1, EVAS_RENDER_COPY = 2, EVAS_RENDER_COPY_REL = 3, EVAS_RENDER_ADD = 4, EVAS_RENDER_ADD_REL = 5, EVAS_RENDER_SUB = 6, EVAS_RENDER_SUB_REL = 7, EVAS_RENDER_TINT = 8, EVAS_RENDER_TINT_REL = 9, EVAS_RENDER_MASK = 10, EVAS_RENDER_MUL = 11 } |
enum | _Evas_Object_Pointer_Mode { EVAS_OBJECT_POINTER_MODE_AUTOGRAB } |
Functions | |
EAPI Evas_List * | evas_list_append (Evas_List *list, const void *data) |
Appends the given data to the given linked list. | |
EAPI Evas_List * | evas_list_prepend (Evas_List *list, const void *data) |
Prepends the given data to the given linked list. | |
EAPI Evas_List * | evas_list_append_relative (Evas_List *list, const void *data, const void *relative) |
Inserts the given data into the given linked list after the specified data. | |
EAPI Evas_List * | evas_list_prepend_relative (Evas_List *list, const void *data, const void *relative) |
Prepend a data pointer to a linked list before the memeber specified. | |
EAPI Evas_List * | evas_list_remove (Evas_List *list, const void *data) |
Removes the first instance of the specified data from the given list. | |
EAPI Evas_List * | evas_list_remove_list (Evas_List *list, Evas_List *remove_list) |
Removes the specified data. | |
EAPI Evas_List * | evas_list_promote_list (Evas_List *list, Evas_List *move_list) |
Moves the specified data to the head of the list. | |
EAPI void * | evas_list_find (const Evas_List *list, const void *data) |
Find a member of a list and return the member. | |
EAPI Evas_List * | evas_list_find_list (const Evas_List *list, const void *data) |
Find a member of a list and return the list node containing that member. | |
EAPI Evas_List * | evas_list_free (Evas_List *list) |
Free an entire list and all the nodes, ignoring the data contained. | |
EAPI Evas_List * | evas_list_last (const Evas_List *list) |
Get the last list node in the list. | |
EAPI Evas_List * | evas_list_next (const Evas_List *list) |
Get the next list node after the specified list node. | |
EAPI Evas_List * | evas_list_prev (const Evas_List *list) |
Get the previous list node before the specified list node. | |
EAPI void * | evas_list_data (const Evas_List *list) |
Get the list node data member. | |
EAPI int | evas_list_count (const Evas_List *list) |
Get the count of the number of items in a list. | |
EAPI void * | evas_list_nth (const Evas_List *list, int n) |
Get the nth member's data pointer in a list. | |
EAPI Evas_List * | evas_list_nth_list (const Evas_List *list, int n) |
Get the nth member's list node in a list. | |
EAPI Evas_List * | evas_list_reverse (Evas_List *list) |
Reverse all the elements in the list. | |
EAPI Evas_List * | evas_list_sort (Evas_List *list, int size, int(*func)(void *, void *)) |
Sort a list according to the ordering func will return. | |
EAPI int | evas_list_alloc_error (void) |
Return the memory allocation failure flag after any operation needin allocation. | |
EAPI Evas_Hash * | evas_hash_add (Evas_Hash *hash, const char *key, const void *data) |
Adds an entry to the given hash table. | |
EAPI Evas_Hash * | evas_hash_direct_add (Evas_Hash *hash, const char *key, const void *data) |
Adds an entry to the given hash table and does not duplicate the string key. | |
EAPI Evas_Hash * | evas_hash_del (Evas_Hash *hash, const char *key, const void *data) |
Removes the entry identified by key or data from the given hash table. | |
EAPI void * | evas_hash_find (const Evas_Hash *hash, const char *key) |
Retrieves a specific entry in the given hash table. | |
EAPI void * | evas_hash_modify (Evas_Hash *hash, const char *key, const void *data) |
Modifies the entry pointer at the specified key and returns the old entry. | |
EAPI int | evas_hash_size (const Evas_Hash *hash) |
Retrieves the number of buckets available in the given hash table. | |
EAPI void | evas_hash_free (Evas_Hash *hash) |
Free an entire hash table. | |
EAPI void | evas_hash_foreach (const Evas_Hash *hash, Evas_Bool(*func)(const Evas_Hash *hash, const char *key, void *data, void *fdata), const void *fdata) |
Call a function on every member stored in the hash table. | |
EAPI int | evas_hash_alloc_error (void) |
Return memory allocation failure flag after an function requiring allocation. | |
EAPI int | evas_alloc_error (void) |
Return if any allocation errors have occured during the prior function. | |
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. | |
EAPI int | evas_render_method_lookup (const char *name) |
Look up a numeric ID from a string name of a rendering engine. | |
EAPI Evas_List * | evas_render_method_list (void) |
List all the rendering engines compiled into the copy of the Evas library. | |
EAPI void | evas_render_method_list_free (Evas_List *list) |
This function should be called to free a list of engine names. | |
EAPI void | evas_output_method_set (Evas *e, int render_method) |
Sets the output engine for the given evas. | |
EAPI int | evas_output_method_get (const Evas *e) |
Retrieves the number of the output engine used for the given evas. | |
EAPI Evas_Engine_Info * | evas_engine_info_get (const Evas *e) |
Retrieves the current render engine info struct from the given evas. | |
EAPI void | evas_engine_info_set (Evas *e, Evas_Engine_Info *info) |
Applies the engine settings for the given evas from the given Evas_Engine_Info structure. | |
EAPI void | evas_output_size_set (Evas *e, int w, int h) |
Sets the output size of the render engine of the given evas. | |
EAPI void | evas_output_size_get (const Evas *e, int *w, int *h) |
Retrieve the output size of the render engine of the given evas. | |
EAPI 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. | |
EAPI void | evas_output_viewport_get (const 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. | |
EAPI Evas_Coord | evas_coord_screen_x_to_world (const Evas *e, int x) |
Convert/scale an ouput screen co-ordinate into canvas co-ordinates. | |
EAPI Evas_Coord | evas_coord_screen_y_to_world (const Evas *e, int y) |
Convert/scale an ouput screen co-ordinate into canvas co-ordinates. | |
EAPI int | evas_coord_world_x_to_screen (const Evas *e, Evas_Coord x) |
Convert/scale a canvas co-ordinate into output screen co-ordinates. | |
EAPI int | evas_coord_world_y_to_screen (const Evas *e, Evas_Coord y) |
Convert/scale a canvas co-ordinate into output screen co-ordinates. | |
EAPI void | evas_pointer_output_xy_get (const Evas *e, int *x, int *y) |
This function returns the current known pointer co-ordinates. | |
EAPI void | evas_pointer_canvas_xy_get (const Evas *e, Evas_Coord *x, Evas_Coord *y) |
This function returns the current known pointer co-ordinates. | |
EAPI int | evas_pointer_button_down_mask_get (const Evas *e) |
Returns a bitmask with the mouse buttons currently pressed, set to 1. | |
EAPI Evas_Bool | evas_pointer_inside_get (const Evas *e) |
Returns whether the mouse pointer is logically inside the canvas. | |
EAPI void | evas_data_attach_set (Evas *e, void *data) |
Attaches a specific pointer to the evas for fetching later. | |
EAPI void * | evas_data_attach_get (const Evas *e) |
Returns the pointer attached by evas_data_attach_set(). | |
EAPI void | evas_damage_rectangle_add (Evas *e, int x, int y, int w, int h) |
To be documented. | |
EAPI void | evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h) |
To be documented. | |
EAPI void | evas_obscured_clear (Evas *e) |
To be documented. | |
EAPI Evas_List * | evas_render_updates (Evas *e) |
To be documented. | |
EAPI void | evas_render_updates_free (Evas_List *updates) |
To be documented. | |
EAPI void | evas_render (Evas *e) |
To be documented. | |
EAPI void | evas_norender (Evas *e) |
To be documented. | |
EAPI void | evas_render_idle_flush (Evas *e) |
To be documented. | |
EAPI Evas_Object * | evas_object_rectangle_add (Evas *e) |
Adds a rectangle to the given evas. | |
EAPI Evas_Object * | evas_object_line_add (Evas *e) |
Adds a new evas line object to the given evas. | |
EAPI void | evas_object_line_xy_set (Evas_Object *obj, Evas_Coord x1, Evas_Coord y1, Evas_Coord x2, Evas_Coord y2) |
Sets the coordinates of the end points of the given evas line object. | |
EAPI void | evas_object_line_xy_get (const Evas_Object *obj, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2) |
Retrieves the coordinates of the end points of the given evas line object. | |
EAPI Evas_Object * | evas_object_gradient_add (Evas *e) |
Adds a gradient object to the given evas. | |
EAPI void | evas_object_gradient_color_stop_add (Evas_Object *obj, int r, int g, int b, int a, int delta) |
Adds a color stop to the given evas gradient object. | |
EAPI void | evas_object_gradient_alpha_stop_add (Evas_Object *obj, int a, int delta) |
Adds an alpha stop to the given evas gradient object. | |
EAPI void | evas_object_gradient_color_data_set (Evas_Object *obj, void *color_data, int len, Evas_Bool has_alpha) |
Sets color data for the given evas gradient object. | |
EAPI void | evas_object_gradient_alpha_data_set (Evas_Object *obj, void *alpha_data, int len) |
Sets alpha data for the given evas gradient object. | |
EAPI void | evas_object_gradient_clear (Evas_Object *obj) |
Deletes all stops set for the given evas gradient object or any set data. | |
EAPI void | evas_object_gradient_type_set (Evas_Object *obj, const char *type, const char *instance_params) |
Sets the geometric type displayed by the given gradient object. | |
EAPI void | evas_object_gradient_type_get (const Evas_Object *obj, char **type, char **instance_params) |
Retrieves the type name and params of the given gradient object. | |
EAPI void | evas_object_gradient_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) |
Sets the rectangle on the gradient object that the gradient will be drawn to. | |
EAPI void | evas_object_gradient_fill_get (const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) |
Retrieves the dimensions of the rectangle on the gradient object that the gradient will use as its fill rect. | |
EAPI void | evas_object_gradient_fill_angle_set (Evas_Object *obj, Evas_Angle angle) |
Sets the angle at which the given evas gradient object's fill sits clockwise from vertical. | |
EAPI Evas_Angle | evas_object_gradient_fill_angle_get (const Evas_Object *obj) |
Retrieves the angle at which the given evas gradient object's fill sits clockwise from the vertical. | |
EAPI void | evas_object_gradient_fill_spread_set (Evas_Object *obj, int tile_mode) |
Sets the tiling mode for the given evas gradient object's fill. | |
EAPI int | evas_object_gradient_fill_spread_get (const Evas_Object *obj) |
Retrieves the spread (tiling mode) for the given gradient object's fill. | |
EAPI void | evas_object_gradient_angle_set (Evas_Object *obj, Evas_Angle angle) |
Sets the angle at which the given evas gradient sits, relative to whatever intrinsic orientation of the grad type. | |
EAPI Evas_Angle | evas_object_gradient_angle_get (const Evas_Object *obj) |
Retrieves the angle at which the given evas gradient object sits rel to its intrinsic orientation. | |
EAPI void | evas_object_gradient_direction_set (Evas_Object *obj, int direction) |
Sets the direction of the given evas gradient object's spectrum. | |
EAPI int | evas_object_gradient_direction_get (const Evas_Object *obj) |
Retrieves the evas gradient object's spectrum direction. | |
EAPI void | evas_object_gradient_offset_set (Evas_Object *obj, float offset) |
Sets the offset of the given evas gradient object's spectrum. | |
EAPI float | evas_object_gradient_offset_get (const Evas_Object *obj) |
Retrieves the spectrum's offset. | |
EAPI Evas_Object * | evas_object_polygon_add (Evas *e) |
Adds a new evas polygon object to the given evas. | |
EAPI void | evas_object_polygon_point_add (Evas_Object *obj, Evas_Coord x, Evas_Coord y) |
Adds the given point to the given evas polygon object. | |
EAPI void | evas_object_polygon_points_clear (Evas_Object *obj) |
Removes all of the points from the given evas polygon object. | |
EAPI Evas_Object * | evas_object_image_add (Evas *e) |
Creates a new image object on the given evas. | |
EAPI void | evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key) |
Sets the filename and key of the given image object. | |
EAPI void | evas_object_image_file_get (const Evas_Object *obj, const char **file, const char **key) |
Retrieves the filename and key of the given image object. | |
EAPI void | evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b) |
Sets how much of each border of the given image object is not to be scaled. | |
EAPI void | evas_object_image_border_get (const Evas_Object *obj, int *l, int *r, int *t, int *b) |
Retrieves how much of each border of the given image object is not to be scaled. | |
EAPI void | evas_object_image_border_center_fill_set (Evas_Object *obj, Evas_Bool fill) |
Sets if the center part of the given image object (not the border) should be drawn. | |
EAPI Evas_Bool | evas_object_image_border_center_fill_get (const Evas_Object *obj) |
Retrieves if the center of the given image object is to be drawn or not. | |
EAPI void | evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) |
Sets the rectangle of the given image object that the image will be drawn to. | |
EAPI void | evas_object_image_fill_get (const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) |
Retrieves the dimensions of the rectangle of the given image object that the image will be drawn to. | |
EAPI void | evas_object_image_size_set (Evas_Object *obj, int w, int h) |
Sets the size of the given image object. | |
EAPI void | evas_object_image_size_get (const Evas_Object *obj, int *w, int *h) |
Retrieves the size of the given image object. | |
EAPI int | evas_object_image_stride_get (const Evas_Object *obj) |
Retrieves the row stride of the given image object,. | |
EAPI int | evas_object_image_load_error_get (const Evas_Object *obj) |
Retrieves a number representing any error that occurred during the last load of the given image object. | |
EAPI void | evas_object_image_data_set (Evas_Object *obj, void *data) |
Sets the raw image data of the given image object. | |
EAPI void * | evas_object_image_data_get (const Evas_Object *obj, Evas_Bool for_writing) |
Get a pointer to the raw image data of the given image object. | |
EAPI void | evas_object_image_data_copy_set (Evas_Object *obj, void *data) |
Replaces the raw image data of the given image object. | |
EAPI void | evas_object_image_data_update_add (Evas_Object *obj, int x, int y, int w, int h) |
Mark a sub-region of the given image object to be redrawn. | |
EAPI void | evas_object_image_alpha_set (Evas_Object *obj, Evas_Bool has_alpha) |
Enable or disable alpha channel of the given image object. | |
EAPI Evas_Bool | evas_object_image_alpha_get (const Evas_Object *obj) |
Retrieves the alpha channel setting of the given image object. | |
EAPI void | evas_object_image_smooth_scale_set (Evas_Object *obj, Evas_Bool smooth_scale) |
Sets whether to use of high-quality image scaling algorithm of the given image object. | |
EAPI Evas_Bool | evas_object_image_smooth_scale_get (const Evas_Object *obj) |
Retrieves whether the given image object is using use a high-quality image scaling algorithm. | |
EAPI void | evas_object_image_reload (Evas_Object *obj) |
To be documented. | |
EAPI Evas_Bool | evas_object_image_save (const Evas_Object *obj, const char *file, const char *key, const char *flags) |
Save the given image object to a file. | |
EAPI Evas_Bool | evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels) |
To be documented. | |
EAPI void | evas_object_image_pixels_get_callback_set (Evas_Object *obj, void(*func)(void *data, Evas_Object *o), void *data) |
To be documented. | |
EAPI void | evas_object_image_pixels_dirty_set (Evas_Object *obj, Evas_Bool dirty) |
Mark whether the given image object is dirty (needs to be redrawn). | |
EAPI Evas_Bool | evas_object_image_pixels_dirty_get (const Evas_Object *obj) |
Retrieves whether the given image object is dirty (needs to be redrawn). | |
EAPI void | evas_object_image_load_dpi_set (Evas_Object *obj, double dpi) |
To be documented. | |
EAPI double | evas_object_image_load_dpi_get (const Evas_Object *obj) |
To be documented. | |
EAPI void | evas_object_image_load_size_set (Evas_Object *obj, int w, int h) |
To be documented. | |
EAPI void | evas_object_image_load_scale_down_set (Evas_Object *obj, int scale_down) |
To be documented. | |
EAPI int | evas_object_image_load_scale_down_get (const Evas_Object *obj) |
To be documented. | |
EAPI void | evas_object_image_colorspace_set (Evas_Object *obj, Evas_Colorspace cspace) |
To be documented. | |
EAPI Evas_Colorspace | evas_object_image_colorspace_get (const Evas_Object *obj) |
To be documented. | |
EAPI void | evas_object_image_native_surface_set (Evas_Object *obj, Evas_Native_Surface *surf) |
To be documented. | |
EAPI Evas_Native_Surface * | evas_object_image_native_surface_get (const Evas_Object *obj) |
To be documented. | |
EAPI void | evas_image_cache_flush (Evas *e) |
To be documented. | |
EAPI void | evas_image_cache_reload (Evas *e) |
To be documented. | |
EAPI void | evas_image_cache_set (Evas *e, int size) |
To be documented. | |
EAPI int | evas_image_cache_get (const Evas *e) |
To be documented. | |
EAPI Evas_Object * | evas_object_text_add (Evas *e) |
Creates a new text Evas_Object on the provided Evas canvas. | |
EAPI void | evas_object_text_font_source_set (Evas_Object *obj, const char *font) |
To be documented. | |
EAPI const char * | evas_object_text_font_source_get (const Evas_Object *obj) |
To be documented. | |
EAPI void | evas_object_text_font_set (Evas_Object *obj, const char *font, Evas_Font_Size size) |
To be documented. | |
EAPI void | evas_object_text_font_get (const Evas_Object *obj, const char **font, Evas_Font_Size *size) |
Query evas for font information of a text Evas_Object . | |
EAPI void | evas_object_text_text_set (Evas_Object *obj, const char *text) |
Sets the text to be displayed by the given evas text object. | |
EAPI const char * | evas_object_text_text_get (const Evas_Object *obj) |
Retrieves the text currently being displayed by the given evas text object. | |
EAPI Evas_Coord | evas_object_text_ascent_get (const Evas_Object *obj) |
To be documented. | |
EAPI Evas_Coord | evas_object_text_descent_get (const Evas_Object *obj) |
To be documented. | |
EAPI Evas_Coord | evas_object_text_max_ascent_get (const Evas_Object *obj) |
To be documented. | |
EAPI Evas_Coord | evas_object_text_max_descent_get (const Evas_Object *obj) |
To be documented. | |
EAPI Evas_Coord | evas_object_text_horiz_advance_get (const Evas_Object *obj) |
To be documented. | |
EAPI Evas_Coord | evas_object_text_vert_advance_get (const Evas_Object *obj) |
To be documented. | |
EAPI Evas_Coord | evas_object_text_inset_get (const Evas_Object *obj) |
To be documented. | |
EAPI int | evas_object_text_char_pos_get (const Evas_Object *obj, int pos, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) |
Retrieve position and dimension information of a character within a text Evas_Object . | |
EAPI int | evas_object_text_char_coords_get (const Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) |
To be documented. | |
EAPI Evas_Text_Style_Type | evas_object_text_style_get (const Evas_Object *obj) |
To be documented. | |
EAPI void | evas_object_text_style_set (Evas_Object *obj, Evas_Text_Style_Type type) |
To be documented. | |
EAPI void | evas_object_text_shadow_color_set (Evas_Object *obj, int r, int g, int b, int a) |
To be documented. | |
EAPI void | evas_object_text_shadow_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) |
To be documented. | |
EAPI void | evas_object_text_glow_color_set (Evas_Object *obj, int r, int g, int b, int a) |
To be documented. | |
EAPI void | evas_object_text_glow_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) |
To be documented. | |
EAPI void | evas_object_text_glow2_color_set (Evas_Object *obj, int r, int g, int b, int a) |
To be documented. | |
EAPI void | evas_object_text_glow2_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) |
To be documented. | |
EAPI void | evas_object_text_outline_color_set (Evas_Object *obj, int r, int g, int b, int a) |
To be documented. | |
EAPI void | evas_object_text_outline_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) |
To be documented. | |
EAPI void | evas_object_text_style_pad_get (const Evas_Object *obj, int *l, int *r, int *t, int *b) |
To be documented. | |
EAPI int | evas_string_char_next_get (const char *str, int pos, int *decoded) |
To be documented. | |
EAPI int | evas_string_char_prev_get (const char *str, int pos, int *decoded) |
To be documented. | |
EAPI void | evas_font_path_clear (Evas *e) |
Removes all font paths loaded into memory for the given evas. | |
EAPI void | evas_font_path_append (Evas *e, const char *path) |
Appends a font path to the list of font paths used by the given evas. | |
EAPI void | evas_font_path_prepend (Evas *e, const char *path) |
Prepends a font path to the list of font paths used by the given evas. | |
EAPI const Evas_List * | evas_font_path_list (const Evas *e) |
Retrieves the list of font paths used by the given evas. | |
EAPI void | evas_font_cache_flush (Evas *e) |
To be documented. | |
EAPI void | evas_font_cache_set (Evas *e, int size) |
To be documented. | |
EAPI int | evas_font_cache_get (const Evas *e) |
To be documented. | |
EAPI Evas_List * | evas_font_available_list (const Evas *e) |
To be documented. | |
EAPI void | evas_font_available_list_free (Evas *e, Evas_List *available) |
To be documented. | |
EAPI Evas_Object * | evas_object_textblock_add (Evas *e) |
Adds a textblock to the given evas. | |
EAPI void | evas_object_del (Evas_Object *obj) |
Deletes the given evas object and frees its memory. | |
EAPI const char * | evas_object_type_get (const Evas_Object *obj) |
Retrieves the name of the type of the given evas object. | |
EAPI void | evas_object_layer_set (Evas_Object *obj, short l) |
Sets the layer of the evas that the given object will be part of. | |
EAPI short | evas_object_layer_get (const Evas_Object *obj) |
Retrieves the layer of the evas that the given object is part of. | |
EAPI void | evas_object_raise (Evas_Object *obj) |
Raise obj to the top of its layer. | |
EAPI void | evas_object_lower (Evas_Object *obj) |
Lower obj to the bottom of its layer. | |
EAPI void | evas_object_stack_above (Evas_Object *obj, Evas_Object *above) |
Stack obj immediately above above . | |
EAPI void | evas_object_stack_below (Evas_Object *obj, Evas_Object *below) |
Stack obj immediately below below . | |
EAPI Evas_Object * | evas_object_above_get (const Evas_Object *obj) |
Get the evas object above obj . | |
EAPI Evas_Object * | evas_object_below_get (const Evas_Object *obj) |
Get the evas object below obj . | |
EAPI Evas_Object * | evas_object_bottom_get (const Evas *e) |
Get the lowest evas object on the Evas e . | |
EAPI Evas_Object * | evas_object_top_get (const Evas *e) |
Get the highest evas object on the Evas e . | |
EAPI void | evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y) |
Moves the given evas object to the given location. | |
EAPI void | evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Changes the size of the given evas object. | |
EAPI void | evas_object_geometry_get (const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) |
Retrieves the position and rectangular size of the given evas object. | |
EAPI void | evas_object_size_hint_min_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size hint for the minimum size. | |
EAPI void | evas_object_size_hint_min_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Sets the size hint for the minimum size. | |
EAPI void | evas_object_size_hint_max_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size hint for the maximum size. | |
EAPI void | evas_object_size_hint_max_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Sets the size hint for the maximum size. | |
EAPI void | evas_object_size_hint_request_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size request hint. | |
EAPI void | evas_object_size_hint_request_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Sets the requested size hint. | |
EAPI void | evas_object_size_hint_aspect_get (const Evas_Object *obj, Evas_Aspect_Control *aspect, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size aspect control hint. | |
EAPI void | evas_object_size_hint_aspect_set (Evas_Object *obj, Evas_Aspect_Control aspect, Evas_Coord w, Evas_Coord h) |
Sets the size aspect control hint. | |
EAPI void | evas_object_show (Evas_Object *obj) |
Makes the given evas object visible. | |
EAPI void | evas_object_hide (Evas_Object *obj) |
Makes the given evas object invisible. | |
EAPI Evas_Bool | evas_object_visible_get (const Evas_Object *obj) |
Retrieves whether or not the given evas object is visible. | |
EAPI void | evas_object_render_op_set (Evas_Object *obj, Evas_Render_Op op) |
Sets the render_op to be used for rendering the evas object. | |
EAPI Evas_Render_Op | evas_object_render_op_get (const Evas_Object *obj) |
Retrieves the current value of the operation used for rendering the evas object. | |
EAPI void | evas_object_anti_alias_set (Evas_Object *obj, Evas_Bool antialias) |
Sets whether or not the given evas object is to be drawn anti_aliased. | |
EAPI Evas_Bool | evas_object_anti_alias_get (const Evas_Object *obj) |
Retrieves whether or not the given evas object is to be drawn anti_aliased. | |
EAPI void | evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a) |
Sets the general colour of the given evas object to the given colour. | |
EAPI void | evas_object_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) |
Retrieves the general colour of the given evas object. | |
EAPI void | evas_object_color_interpolation_set (Evas_Object *obj, int color_space) |
Sets the color_space to be used for linear interpolation of colors. | |
EAPI int | evas_object_color_interpolation_get (const Evas_Object *obj) |
Retrieves the current value of the color space used for linear interpolation. | |
EAPI void | evas_object_clip_set (Evas_Object *obj, Evas_Object *clip) |
Clip one object to another. | |
EAPI Evas_Object * | evas_object_clip_get (const Evas_Object *obj) |
Get the object clipping this one (if any). | |
EAPI void | evas_object_clip_unset (Evas_Object *obj) |
Disable clipping for an object. | |
EAPI const Evas_List * | evas_object_clipees_get (const Evas_Object *obj) |
Return a list of objects currently clipped by a specific object. | |
EAPI void | evas_object_data_set (Evas_Object *obj, const char *key, const void *data) |
Set an attached data pointer to an object with a given string key. | |
EAPI void * | evas_object_data_get (const Evas_Object *obj, const char *key) |
Return an attached data pointer by its given string key. | |
EAPI void * | evas_object_data_del (Evas_Object *obj, const char *key) |
Delete at attached data pointer from an object. | |
EAPI void | evas_object_name_set (Evas_Object *obj, const char *name) |
Sets the name of the given evas object to the given name. | |
EAPI const char * | evas_object_name_get (const Evas_Object *obj) |
Retrieves the name of the given evas object. | |
EAPI Evas_Object * | evas_object_name_find (const Evas *e, const char *name) |
Retrieves the object on the given evas with the given name. | |
EAPI Evas * | evas_object_evas_get (const Evas_Object *obj) |
Retrieves the evas that the given evas object is on. | |
EAPI Evas_Object * | evas_object_top_at_xy_get (const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) |
To be documented. | |
EAPI Evas_Object * | evas_object_top_at_pointer_get (const Evas *e) |
To be documented. | |
EAPI Evas_Object * | evas_object_top_in_rectangle_get (const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) |
To be documented. | |
EAPI Evas_List * | evas_objects_at_xy_get (const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) |
To be documented. | |
EAPI Evas_List * | evas_objects_in_rectangle_get (const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) |
To be documented. | |
EAPI void | evas_smart_free (Evas_Smart *s) |
Free an Evas_Smart. | |
EAPI Evas_Smart * | evas_smart_class_new (const Evas_Smart_Class *sc) |
Creates an Evas_Smart from an Evas_Smart_Class. | |
EAPI const Evas_Smart_Class * | evas_smart_class_get (const Evas_Smart *s) |
Get the Evas_Smart_Class of an Evas_Smart. | |
EAPI void * | evas_smart_data_get (const Evas_Smart *s) |
Get the data pointer set on an Evas_Smart. | |
EAPI Evas_Object * | evas_object_smart_add (Evas *e, Evas_Smart *s) |
Instantiates a new smart object described by s . | |
EAPI void | evas_object_smart_member_add (Evas_Object *obj, Evas_Object *smart_obj) |
Set an evas object as a member of a smart object. | |
EAPI void | evas_object_smart_member_del (Evas_Object *obj) |
Removes a member object from a smart object. | |
EAPI Evas_Object * | evas_object_smart_parent_get (const Evas_Object *obj) |
Gets the smart parent of an Evas_Object. | |
EAPI Evas_List * | evas_object_smart_members_get (const Evas_Object *obj) |
Gets the list of the member objects of an Evas_Object. | |
EAPI Evas_Smart * | evas_object_smart_smart_get (const Evas_Object *obj) |
Get the Evas_Smart from which obj was created. | |
EAPI void * | evas_object_smart_data_get (const Evas_Object *obj) |
Retrieve user data stored on a smart object. | |
EAPI void | evas_object_smart_data_set (Evas_Object *obj, void *data) |
Store a pointer to user data for a smart object. | |
EAPI void | evas_object_smart_callback_add (Evas_Object *obj, const char *event, void(*func)(void *data, Evas_Object *obj, void *event_info), const void *data) |
Add a callback for the smart event specified by event . | |
EAPI void * | evas_object_smart_callback_del (Evas_Object *obj, const char *event, void(*func)(void *data, Evas_Object *obj, void *event_info)) |
Remove a smart callback. | |
EAPI void | evas_object_smart_callback_call (Evas_Object *obj, const char *event, void *event_info) |
Call any smart callbacks on obj for event . | |
EAPI void | evas_event_freeze (Evas *e) |
Freeze all event processing. | |
EAPI void | evas_event_thaw (Evas *e) |
Thaw a canvas out after freezing. | |
EAPI int | evas_event_freeze_get (const Evas *e) |
Return the freeze count of a given canvas. | |
EAPI void | evas_event_feed_mouse_down (Evas *e, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_mouse_up (Evas *e, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_mouse_move (Evas *e, int x, int y, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_mouse_in (Evas *e, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_mouse_out (Evas *e, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_mouse_wheel (Evas *e, int direction, int z, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_key_down (Evas *e, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_key_up (Evas *e, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_event_feed_hold (Evas *e, int hold, unsigned int timestamp, const void *data) |
To be documented. | |
EAPI void | evas_object_focus_set (Evas_Object *obj, Evas_Bool focus) |
Sets focus to the given object. | |
EAPI Evas_Bool | evas_object_focus_get (const Evas_Object *obj) |
Test if the object has focus. | |
EAPI Evas_Object * | evas_focus_get (const Evas *e) |
Retrieve the object that currently has focus. | |
EAPI const Evas_Modifier * | evas_key_modifier_get (const Evas *e) |
Returns a handle to the modifiers available in the system. | |
EAPI const Evas_Lock * | evas_key_lock_get (const Evas *e) |
Returns a handle to the locks available in the system. | |
EAPI Evas_Bool | evas_key_modifier_is_set (const Evas_Modifier *m, const char *keyname) |
Checks the state of a given modifier. | |
EAPI Evas_Bool | evas_key_lock_is_set (const Evas_Lock *l, const char *keyname) |
Checks the state of a given lock. | |
EAPI void | evas_key_modifier_add (Evas *e, const char *keyname) |
Adds the keyname to the current list of modifiers. | |
EAPI void | evas_key_modifier_del (Evas *e, const char *keyname) |
Removes the keyname from the current list of modifiers. | |
EAPI void | evas_key_lock_add (Evas *e, const char *keyname) |
Adds the keyname to the current list of locks. | |
EAPI void | evas_key_lock_del (Evas *e, const char *keyname) |
Removes The keyname from the current list of locks. | |
EAPI void | evas_key_modifier_on (Evas *e, const char *keyname) |
Enables or turns on the modifier with name keyname . | |
EAPI void | evas_key_modifier_off (Evas *e, const char *keyname) |
Disables or turns off the modifier with name keyname . | |
EAPI void | evas_key_lock_on (Evas *e, const char *keyname) |
Enables or turns on the lock with name keyname . | |
EAPI void | evas_key_lock_off (Evas *e, const char *keyname) |
Disables or turns off the lock with name keyname . | |
EAPI Evas_Modifier_Mask | evas_key_modifier_mask_get (const Evas *e, const char *keyname) |
Creates a bit mask from the keyname for use with events to check for the presence of the keyname modifier. | |
EAPI Evas_Bool | evas_object_key_grab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Evas_Bool exclusive) |
Requests keyname key events be directed to obj . | |
EAPI void | evas_object_key_ungrab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers) |
Request that the grab on obj be removed. | |
EAPI void | evas_object_pass_events_set (Evas_Object *obj, Evas_Bool pass) |
Set an object's pass events state. | |
EAPI Evas_Bool | evas_object_pass_events_get (const Evas_Object *obj) |
Determine whether an object is set to pass events. | |
EAPI void | evas_object_repeat_events_set (Evas_Object *obj, Evas_Bool repeat) |
Set an object's repeat events state. | |
EAPI Evas_Bool | evas_object_repeat_events_get (const Evas_Object *obj) |
Determine whether an object is set to repeat events. | |
EAPI void | evas_object_propagate_events_set (Evas_Object *obj, Evas_Bool prop) |
Set whether events on a smart member object should propagate to its parent. | |
EAPI Evas_Bool | evas_object_propagate_events_get (const Evas_Object *obj) |
Determine whether an object is set to propagate events. | |
EAPI void | evas_object_pointer_mode_set (Evas_Object *obj, Evas_Object_Pointer_Mode setting) |
Set pointer behavior. | |
EAPI Evas_Object_Pointer_Mode | evas_object_pointer_mode_get (const Evas_Object *obj) |
Determine how pointer will behave. | |
EAPI void | evas_object_precise_is_inside_set (Evas_Object *obj, Evas_Bool precise) |
Set whether to use a precise (usually expensive) point collision detection. | |
EAPI Evas_Bool | evas_object_precise_is_inside_get (const Evas_Object *obj) |
Determine whether an object is set to use a precise point collision detection. | |
EAPI void | evas_object_event_callback_add (Evas_Object *obj, Evas_Callback_Type type, void(*func)(void *data, Evas *e, Evas_Object *obj, void *event_info), const void *data) |
Add a callback function to an object. | |
EAPI void * | evas_object_event_callback_del (Evas_Object *obj, Evas_Callback_Type type, void(*func)(void *data, Evas *e, Evas_Object *obj, void *event_info)) |
Delete a callback function from an object. | |
EAPI void | evas_object_intercept_show_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_show_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj)) |
To be documented. | |
EAPI void | evas_object_intercept_hide_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_hide_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj)) |
To be documented. | |
EAPI void | evas_object_intercept_move_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_move_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y)) |
To be documented. | |
EAPI void | evas_object_intercept_resize_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_resize_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h)) |
To be documented. | |
EAPI void | evas_object_intercept_raise_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_raise_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj)) |
To be documented. | |
EAPI void | evas_object_intercept_lower_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_lower_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj)) |
To be documented. | |
EAPI void | evas_object_intercept_stack_above_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Object *above), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_stack_above_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Object *above)) |
To be documented. | |
EAPI void | evas_object_intercept_stack_below_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Object *below), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_stack_below_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Object *below)) |
To be documented. | |
EAPI void | evas_object_intercept_layer_set_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, int l), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_layer_set_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, int l)) |
To be documented. | |
EAPI void | evas_object_intercept_color_set_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, int r, int g, int b, int a), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_color_set_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, int r, int g, int b, int a)) |
To be documented. | |
EAPI void | evas_object_intercept_clip_set_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Object *clip), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_clip_set_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Evas_Object *clip)) |
To be documented. | |
EAPI void | evas_object_intercept_clip_unset_callback_add (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj), const void *data) |
To be documented. | |
EAPI void * | evas_object_intercept_clip_unset_callback_del (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj)) |
To be documented. | |
EAPI void | evas_color_hsv_to_rgb (float h, float s, float v, int *r, int *g, int *b) |
FIXME: . | |
EAPI void | evas_color_rgb_to_hsv (int r, int g, int b, float *h, float *s, float *v) |
FIXME: . | |
EAPI void | evas_color_argb_premul (int a, int *r, int *g, int *b) |
FIXME: . | |
EAPI void | evas_color_argb_unpremul (int a, int *r, int *g, int *b) |
FIXME: . | |
EAPI void | evas_data_argb_premul (unsigned int *data, unsigned int len) |
FIXME: . | |
EAPI void | evas_data_argb_unpremul (unsigned int *data, unsigned int len) |
FIXME: . |
Detailed Description
These routines are used for Evas library interaction.
Enumeration Type Documentation
enum _Evas_Button_Flags |
enum _Evas_Callback_Type |
- Enumerator:
enum _Evas_Colorspace |
- Enumerator:
enum _Evas_Event_Flags |
enum _Evas_Render_Op |
- Enumerator:
Function Documentation
EAPI int evas_alloc_error | ( | void | ) |
Return if any allocation errors have occured during the prior function.
- Returns:
- The allocation error flag
EVAS_ALLOC_ERROR_NONE means that no errors occured at all and the function worked as expected.
EVAS_ALLOC_ERROR_FATAL means the function was completely unable to perform its job and will have exited as cleanly as possible. The programmer should consider this as a sign of very low memory and should try and safely recover from the prior functions failure (or try free up memory elsewhere and try again after more memory is freed).
EVAS_ALLOC_ERROR_RECOVERED means that an allocation error occured, but was recovered from by evas finding memory of its own it has allocated and freeing what it sees as not really usefully allocated memory. What is freed may vary. Evas may reduce the resolution of images, free cached images or fonts, trhow out pre-rendered data, reduce the complexity of change lists etc. Evas and the program will function as per normal after this, but this is a sign of low memory, and it is suggested that the program try and identify memory it doesn't need, and free it.
Example:
extern Evas_Object *object; void callback (void *data, Evas *e, Evas_Object *obj, void *event_info); evas_object_event_callback_add(object, EVAS_CALLBACK_MOUSE_DOWN, callback, NULL); if (evas_alloc_error() == EVAS_ALLOC_ERROR_FATAL) { fprintf(stderr, "ERROR: Completely unable to attach callabck. Must\n"); fprintf(stderr, " destroy object now as it cannot be used.\n"); evas_object_del(object); object = NULL; fprintf(stderr, "WARNING: Memory is really low. Cleaning out RAM.\n"); my_memory_cleanup(); } if (evas_alloc_error() == EVAS_ALLOC_ERROR_RECOVERED) { fprintf(stderr, "WARNING: Memory is really low. Cleaning out RAM.\n"); my_memory_cleanup(); }
References evas_alloc_error().
Referenced by evas_alloc_error().
EAPI void evas_color_argb_premul | ( | int | a, | |
int * | r, | |||
int * | g, | |||
int * | b | |||
) |
FIXME: .
..
EAPI void evas_color_argb_unpremul | ( | int | a, | |
int * | r, | |||
int * | g, | |||
int * | b | |||
) |
FIXME: .
..
EAPI void evas_color_hsv_to_rgb | ( | float | h, | |
float | s, | |||
float | v, | |||
int * | r, | |||
int * | g, | |||
int * | b | |||
) |
FIXME: .
..
EAPI void evas_color_rgb_to_hsv | ( | int | r, | |
int | g, | |||
int | b, | |||
float * | h, | |||
float * | s, | |||
float * | v | |||
) |
FIXME: .
..
EAPI void evas_damage_rectangle_add | ( | Evas * | e, | |
int | x, | |||
int | y, | |||
int | w, | |||
int | h | |||
) |
To be documented.
FIXME: To be fixed.
References evas_list_append(), _Evas_Rectangle::h, _Evas_Rectangle::w, _Evas_Rectangle::x, and _Evas_Rectangle::y.
EAPI void evas_data_argb_premul | ( | unsigned int * | data, | |
unsigned int | len | |||
) |
FIXME: .
..
EAPI void evas_data_argb_unpremul | ( | unsigned int * | data, | |
unsigned int | len | |||
) |
FIXME: .
..
EAPI void* evas_data_attach_get | ( | const Evas * | e | ) |
Returns the pointer attached by evas_data_attach_set().
- Parameters:
-
e The canvas to attach the pointer to
- Returns:
- The pointer attached
EAPI void evas_data_attach_set | ( | Evas * | e, | |
void * | data | |||
) |
Attaches a specific pointer to the evas for fetching later.
- Parameters:
-
e The canvas to attach the pointer to data The pointer to attach
EAPI void evas_event_feed_hold | ( | Evas * | e, | |
int | hold, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_List::data, _Evas_Event_Hold::data, EVAS_CALLBACK_HOLD, EVAS_EVENT_FLAG_NONE, evas_list_free(), _Evas_Event_Hold::event_flags, _Evas_Event_Hold::hold, _Evas_List::next, and _Evas_Event_Hold::timestamp.
EAPI void evas_event_feed_key_down | ( | Evas * | e, | |
const char * | keyname, | |||
const char * | key, | |||
const char * | string, | |||
const char * | compose, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Key_Down::compose, _Evas_List::data, _Evas_Event_Key_Down::data, EVAS_CALLBACK_KEY_DOWN, EVAS_EVENT_FLAG_NONE, _Evas_Event_Key_Down::event_flags, _Evas_Event_Key_Down::key, _Evas_Event_Key_Down::keyname, _Evas_Event_Key_Down::locks, _Evas_Event_Key_Down::modifiers, _Evas_List::next, _Evas_Event_Key_Down::string, and _Evas_Event_Key_Down::timestamp.
EAPI void evas_event_feed_key_up | ( | Evas * | e, | |
const char * | keyname, | |||
const char * | key, | |||
const char * | string, | |||
const char * | compose, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Key_Up::compose, _Evas_List::data, _Evas_Event_Key_Up::data, EVAS_CALLBACK_KEY_UP, EVAS_EVENT_FLAG_NONE, _Evas_Event_Key_Up::event_flags, _Evas_Event_Key_Up::key, _Evas_Event_Key_Up::keyname, _Evas_Event_Key_Up::locks, _Evas_Event_Key_Up::modifiers, _Evas_List::next, _Evas_Event_Key_Up::string, and _Evas_Event_Key_Up::timestamp.
EAPI void evas_event_feed_mouse_down | ( | Evas * | e, | |
int | b, | |||
Evas_Button_Flags | flags, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Mouse_Down::button, _Evas_Event_Mouse_Down::canvas, _Evas_List::data, _Evas_Event_Mouse_Down::data, EVAS_CALLBACK_MOUSE_DOWN, EVAS_EVENT_FLAG_NONE, evas_list_free(), _Evas_Event_Mouse_Down::event_flags, _Evas_Event_Mouse_Down::flags, _Evas_Event_Mouse_Down::locks, _Evas_Event_Mouse_Down::modifiers, _Evas_List::next, _Evas_Event_Mouse_Down::output, _Evas_Event_Mouse_Down::timestamp, _Evas_Event_Mouse_Down::x, and _Evas_Event_Mouse_Down::y.
EAPI void evas_event_feed_mouse_in | ( | Evas * | e, | |
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Mouse_In::buttons, _Evas_Event_Mouse_In::canvas, _Evas_List::data, _Evas_Event_Mouse_In::data, EVAS_CALLBACK_MOUSE_IN, EVAS_EVENT_FLAG_NONE, evas_list_find(), evas_list_free(), _Evas_Event_Mouse_In::event_flags, _Evas_Event_Mouse_In::locks, _Evas_Event_Mouse_In::modifiers, _Evas_List::next, _Evas_Event_Mouse_In::output, _Evas_Event_Mouse_In::timestamp, _Evas_Event_Mouse_In::x, and _Evas_Event_Mouse_In::y.
EAPI void evas_event_feed_mouse_move | ( | Evas * | e, | |
int | x, | |||
int | y, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Mouse_In::buttons, _Evas_Event_Mouse_Out::buttons, _Evas_Event_Mouse_Move::buttons, _Evas_Event_Mouse_In::canvas, _Evas_Event_Mouse_Out::canvas, _Evas_Event_Mouse_Move::canvas, _Evas_Event_Mouse_Move::cur, _Evas_Event_Mouse_In::data, _Evas_Event_Mouse_Out::data, _Evas_List::data, _Evas_Event_Mouse_Move::data, EVAS_CALLBACK_MOUSE_IN, EVAS_CALLBACK_MOUSE_MOVE, EVAS_CALLBACK_MOUSE_OUT, EVAS_EVENT_FLAG_NONE, evas_list_append(), evas_list_find(), evas_list_free(), evas_list_remove(), _Evas_Event_Mouse_In::event_flags, _Evas_Event_Mouse_Out::event_flags, _Evas_Event_Mouse_Move::event_flags, _Evas_Event_Mouse_In::locks, _Evas_Event_Mouse_Out::locks, _Evas_Event_Mouse_Move::locks, _Evas_Event_Mouse_In::modifiers, _Evas_Event_Mouse_Out::modifiers, _Evas_Event_Mouse_Move::modifiers, _Evas_List::next, _Evas_Event_Mouse_In::output, _Evas_Event_Mouse_Out::output, _Evas_Event_Mouse_Move::output, _Evas_Event_Mouse_Move::prev, _Evas_Event_Mouse_In::timestamp, _Evas_Event_Mouse_Out::timestamp, _Evas_Event_Mouse_Move::timestamp, _Evas_Event_Mouse_In::x, _Evas_Event_Mouse_Out::x, _Evas_Event_Mouse_In::y, and _Evas_Event_Mouse_Out::y.
EAPI void evas_event_feed_mouse_out | ( | Evas * | e, | |
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Mouse_Out::buttons, _Evas_Event_Mouse_Out::canvas, _Evas_List::data, _Evas_Event_Mouse_Out::data, EVAS_CALLBACK_MOUSE_OUT, EVAS_EVENT_FLAG_NONE, evas_list_free(), _Evas_Event_Mouse_Out::event_flags, _Evas_Event_Mouse_Out::locks, _Evas_Event_Mouse_Out::modifiers, _Evas_List::next, _Evas_Event_Mouse_Out::output, _Evas_Event_Mouse_Out::timestamp, _Evas_Event_Mouse_Out::x, and _Evas_Event_Mouse_Out::y.
EAPI void evas_event_feed_mouse_up | ( | Evas * | e, | |
int | b, | |||
Evas_Button_Flags | flags, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Mouse_Up::button, _Evas_Event_Mouse_In::buttons, _Evas_Event_Mouse_Out::buttons, _Evas_Event_Mouse_In::canvas, _Evas_Event_Mouse_Out::canvas, _Evas_Event_Mouse_Up::canvas, _Evas_Event_Mouse_In::data, _Evas_Event_Mouse_Out::data, _Evas_List::data, _Evas_Event_Mouse_Up::data, EVAS_CALLBACK_MOUSE_IN, EVAS_CALLBACK_MOUSE_OUT, EVAS_CALLBACK_MOUSE_UP, EVAS_EVENT_FLAG_NONE, evas_list_find(), evas_list_free(), _Evas_Event_Mouse_In::event_flags, _Evas_Event_Mouse_Out::event_flags, _Evas_Event_Mouse_Up::event_flags, _Evas_Event_Mouse_Up::flags, _Evas_Event_Mouse_In::locks, _Evas_Event_Mouse_Out::locks, _Evas_Event_Mouse_Up::locks, _Evas_Event_Mouse_In::modifiers, _Evas_Event_Mouse_Out::modifiers, _Evas_Event_Mouse_Up::modifiers, _Evas_List::next, _Evas_Event_Mouse_In::output, _Evas_Event_Mouse_Out::output, _Evas_Event_Mouse_Up::output, _Evas_Event_Mouse_In::timestamp, _Evas_Event_Mouse_Out::timestamp, _Evas_Event_Mouse_Up::timestamp, _Evas_Event_Mouse_In::x, _Evas_Event_Mouse_Out::x, _Evas_Event_Mouse_Up::x, _Evas_Event_Mouse_In::y, _Evas_Event_Mouse_Out::y, and _Evas_Event_Mouse_Up::y.
EAPI void evas_event_feed_mouse_wheel | ( | Evas * | e, | |
int | direction, | |||
int | z, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
References _Evas_Event_Mouse_Wheel::canvas, _Evas_List::data, _Evas_Event_Mouse_Wheel::data, _Evas_Event_Mouse_Wheel::direction, EVAS_CALLBACK_MOUSE_WHEEL, EVAS_EVENT_FLAG_NONE, evas_list_free(), _Evas_Event_Mouse_Wheel::event_flags, _Evas_Event_Mouse_Wheel::locks, _Evas_Event_Mouse_Wheel::modifiers, _Evas_List::next, _Evas_Event_Mouse_Wheel::output, _Evas_Event_Mouse_Wheel::timestamp, _Evas_Event_Mouse_Wheel::x, _Evas_Event_Mouse_Wheel::y, and _Evas_Event_Mouse_Wheel::z.
EAPI Evas_Object* evas_focus_get | ( | const Evas * | e | ) |
Retrieve the object that currently has focus.
- Parameters:
-
e The Evas
canvas to query focus on.
- Returns:
- The object that has focus or NULL is there is not one.
To be documented.
FIXME: To be fixed.
EAPI void evas_font_cache_flush | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI int evas_font_cache_get | ( | const Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_font_cache_set | ( | Evas * | e, | |
int | size | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_image_cache_flush | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI int evas_image_cache_get | ( | const Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_image_cache_reload | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_image_cache_set | ( | Evas * | e, | |
int | size | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_key_lock_add | ( | Evas * | e, | |
const char * | keyname | |||
) |
Adds the keyname
to the current list of locks.
Locks can be keys like caps lock, num lock or scroll lock, as well as user defined. This allows custom locks to be added to the evas system at run time. It is then possible to set and unset the lock for other parts of the program to check and act on.
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the key to remove from the modifier list.
EAPI void evas_key_lock_del | ( | Evas * | e, | |
const char * | keyname | |||
) |
Removes The keyname
from the current list of locks.
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the key to remove from the lock list.
Returns a handle to the locks available in the system.
This is required to check for locks with the evas_key_lock_is_set_get function.
- See also:
- evas_key_lock_add
evas_key_lock_is_set_get
- Parameters:
-
e The pointer to the Evas Canvas
- Returns:
- An Evas_Lock handle to query the lock subsystem with evas_key_lock_is_set_get, or NULL on error.
EAPI Evas_Bool evas_key_lock_is_set | ( | const Evas_Lock * | l, | |
const char * | keyname | |||
) |
Checks the state of a given lock.
If the lock is set, such as caps lock, this function returns true.
- Parameters:
-
l The current lock set as returned by evas_key_lock_get. keyname The name of the lock to add the the list. 1 if the keyname
kock is set, 0 otherwise.
EAPI void evas_key_lock_off | ( | Evas * | e, | |
const char * | keyname | |||
) |
Disables or turns off the lock with name keyname
.
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the lock to un-set.
EAPI void evas_key_lock_on | ( | Evas * | e, | |
const char * | keyname | |||
) |
Enables or turns on the lock with name keyname
.
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the lock to set.
EAPI void evas_key_modifier_add | ( | Evas * | e, | |
const char * | keyname | |||
) |
Adds the keyname
to the current list of modifiers.
Modifiers can be keys like shift, alt and ctrl, as well as user defined. This allows custom modifiers to be added to the evas system as run time. It is then possible to set and unset the modifier for other parts of the program to check and act on.
- See also:
- evas_key_modifier_del
evas_key_modifier_is_set_get
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the modifier to add to the list.
EAPI void evas_key_modifier_del | ( | Evas * | e, | |
const char * | keyname | |||
) |
Removes the keyname
from the current list of modifiers.
- See also:
- evas_key_modifier_add
evas_key_modifier_is_set_get
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the key to remove from the modifiers list.
EAPI const Evas_Modifier* evas_key_modifier_get | ( | const Evas * | e | ) |
Returns a handle to the modifiers available in the system.
This is required to check for modifiers with the evas_key_modifier_is_set_get function.
- See also:
- evas_key_modifier_add
evas_key_modifier_is_set_get
- Parameters:
-
e The pointer to the Evas Canvas
- Returns:
- An Evas_Modifier handle to query the modifier subsystem with evas_key_modifier_is_set_get, or NULL on error.
EAPI Evas_Bool evas_key_modifier_is_set | ( | const Evas_Modifier * | m, | |
const char * | keyname | |||
) |
Checks the state of a given modifier.
If the modifier is set, such as shift being pressed this function returns true.
- See also:
- evas_key_modifier_add
- Parameters:
-
m The current modifier set as returned by evas_key_modifier_get. keyname The name of the key to check its status.
- Returns:
- 1 if the
keyname
is on, 0 otherwise.
EAPI Evas_Modifier_Mask evas_key_modifier_mask_get | ( | const Evas * | e, | |
const char * | keyname | |||
) |
Creates a bit mask from the keyname
for use with events to check for the presence of the keyname
modifier.
- See also:
- evas_key_modifier_add
evas_key_modifier_is_set_get
- Parameters:
-
keyname The name of the modifier to create the mask for.
- Returns:
- the bit mask or 0 if the
keyname
wasn't registered as a modifier.
EAPI void evas_key_modifier_off | ( | Evas * | e, | |
const char * | keyname | |||
) |
Disables or turns off the modifier with name keyname
.
- See also:
- evas_key_modifier_add
evas_key_modifier_is_set_get
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the modifier to un-set.
EAPI void evas_key_modifier_on | ( | Evas * | e, | |
const char * | keyname | |||
) |
Enables or turns on the modifier with name keyname
.
- See also:
- evas_key_modifier_add
evas_key_modifier_is_set_get
- Parameters:
-
e The pointer to the Evas Canvas keyname The name of the modifier to set.
Moves the specified data to the head of the list.
Move a specified member to the head of the list
- Parameters:
-
list The list handle to move inside
move_list The list node which is to be moved
- Returns:
- A new list handle to replace the old one
move_list
and moves it to the front of the list
.Example:
extern Evas_List *list; Evas_List *l; extern void *my_data; for (l = list; l; l= l->next) { if (l->data == my_data) { list = evas_list_promote_list(list, l); break; } }
References _Evas_List::accounting, _Evas_List::next, and _Evas_List::prev.
EAPI void evas_norender | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Object* evas_object_above_get | ( | const Evas_Object * | obj | ) |
Get the evas object above obj
.
- Parameters:
-
obj an Evas_Object
- Returns:
- the Evas_Object directly above
EAPI Evas_Object* evas_object_below_get | ( | const Evas_Object * | obj | ) |
Get the evas object below obj
.
- Parameters:
-
obj an Evas_Object
- Returns:
- the Evas_Object directly below
EAPI Evas_Object* evas_object_bottom_get | ( | const Evas * | e | ) |
Get the lowest evas object on the Evas e
.
- Parameters:
-
e an Evas
- Returns:
- the lowest object
EAPI Evas_Bool evas_object_focus_get | ( | const Evas_Object * | obj | ) |
Test if the object has focus.
- Parameters:
-
obj The object to be tested.
- Returns:
- 1 if the object has the focus, 0 otherwise.
EAPI void evas_object_focus_set | ( | Evas_Object * | obj, | |
Evas_Bool | focus | |||
) |
Sets focus to the given object.
- Parameters:
-
obj The object to be focused or unfocused. focus set or remove focus to the object.
If the parameter (focus
) is set, the passed object will be set as the currently focused object. It will receive all keyboard events that are not exclusive key grabs on other objects.
References EVAS_CALLBACK_FOCUS_IN, and EVAS_CALLBACK_FOCUS_OUT.
EAPI Evas_Colorspace evas_object_image_colorspace_get | ( | const Evas_Object * | obj | ) |
EAPI void evas_object_image_colorspace_set | ( | Evas_Object * | obj, | |
Evas_Colorspace | cspace | |||
) |
To be documented.
FIXME: To be fixed.
EAPI double evas_object_image_load_dpi_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_image_load_dpi_set | ( | Evas_Object * | obj, | |
double | dpi | |||
) |
To be documented.
FIXME: To be fixed.
EAPI int evas_object_image_load_scale_down_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_image_load_scale_down_set | ( | Evas_Object * | obj, | |
int | scale_down | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_image_load_size_set | ( | Evas_Object * | obj, | |
int | w, | |||
int | h | |||
) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Native_Surface* evas_object_image_native_surface_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_image_native_surface_set | ( | Evas_Object * | obj, | |
Evas_Native_Surface * | surf | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_image_pixels_get_callback_set | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *o) | func, | |||
void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Bool evas_object_image_pixels_import | ( | Evas_Object * | obj, | |
Evas_Pixel_Import_Source * | pixels | |||
) |
To be documented.
FIXME: To be fixed.
References EVAS_PIXEL_FORMAT_ARGB32, and EVAS_PIXEL_FORMAT_YUV420P_601.
EAPI void evas_object_image_reload | ( | Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_clip_set_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Object *clip) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_clip_set_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Object *clip) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_clip_unset_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_clip_unset_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_color_set_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, int r, int g, int b, int a) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_color_set_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, int r, int g, int b, int a) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_hide_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_hide_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_layer_set_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, int l) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_layer_set_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, int l) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_lower_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_lower_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_move_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_move_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_raise_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_raise_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_resize_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_resize_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_show_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_show_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_stack_above_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Object *above) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_stack_above_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Object *above) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_intercept_stack_below_callback_add | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Object *below) | func, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void* evas_object_intercept_stack_below_callback_del | ( | Evas_Object * | obj, | |
void(*)(void *data, Evas_Object *obj, Evas_Object *below) | func | |||
) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Bool evas_object_key_grab | ( | Evas_Object * | obj, | |
const char * | keyname, | |||
Evas_Modifier_Mask | modifiers, | |||
Evas_Modifier_Mask | not_modifiers, | |||
Evas_Bool | exclusive | |||
) |
Requests keyname
key events be directed to obj
.
Key grabs allow an object to receive key events for specific key strokes even if another object has focus. If the grab is non-exclusive then all objects that have grabs on the key will get the event, however if the grab is exclusive, no other object can get a grab on the key and only that object will get the event.
keyname
is a platform dependent symbolic name for the key pressed. It is sometimes possible to convert the string to an ASCII value of the key, but not always for example the enter key may be returned as the string 'Enter'.
Typical platforms are Linux frame buffer (Ecore_FB) and X server (Ecore_X) when using Evas with Ecore and Ecore_Evas.
For a list of keynames for the Linux frame buffer, please refer to the Ecore_FB documentation.
modifiers
and not_modifiers
are bit masks of all the modifiers that are required and not required respectively for the new grab. Modifiers can be things such as shift and ctrl as well as user defigned types via evas_key_modifier_add.
- See also:
- evas_object_key_ungrab
- Parameters:
-
obj the object to direct keyname
events to.keyname the key to request events for. modifiers a mask of modifiers that should be present to trigger the event. not_modifiers a mask of modifiers that should not be present to trigger the event. exclusive request that the obj
is the only object receiving thekeyname
events.
- Returns:
- Boolean indicating whether the grab succeeded
EAPI void evas_object_key_ungrab | ( | Evas_Object * | obj, | |
const char * | keyname, | |||
Evas_Modifier_Mask | modifiers, | |||
Evas_Modifier_Mask | not_modifiers | |||
) |
Request that the grab on obj
be removed.
Removes the grab on obj
if keyname
, modifiers
, and not_modifiers
match.
- Parameters:
-
obj the object that has an existing grab. keyname the key the grab is for. modifiers a mask of modifiers that should be present to trigger the event. not_modifiers a mask of modifiers that should not be present to trigger the event.
EAPI void evas_object_lower | ( | Evas_Object * | obj | ) |
Lower obj
to the bottom of its layer.
- Parameters:
-
obj the object to lower
EAPI Evas_Object_Pointer_Mode evas_object_pointer_mode_get | ( | const Evas_Object * | obj | ) |
Determine how pointer will behave.
- Parameters:
-
obj
- Returns:
- pointer behavior.
EAPI void evas_object_pointer_mode_set | ( | Evas_Object * | obj, | |
Evas_Object_Pointer_Mode | setting | |||
) |
Set pointer behavior.
- Parameters:
-
obj setting desired behavior.
If setting
is EVAS_OBJECT_POINTER_MODE_AUTOGRAB, then when mouse is down at this object, events will be restricted to it as source, mouse moves, for example, will be emitted even if outside this object area.
If setting
is EVAS_OBJECT_POINTER_MODE_NOGRAB, then events will be emitted just when inside this object area.
The default value is EVAS_OBJECT_POINTER_MODE_AUTOGRAB.
EAPI void evas_object_raise | ( | Evas_Object * | obj | ) |
Raise obj
to the top of its layer.
- Parameters:
-
obj the object to raise
EAPI Evas_Object* evas_object_rectangle_add | ( | Evas * | e | ) |
Adds a rectangle to the given evas.
- Parameters:
-
e The given evas.
- Returns:
- The new rectangle object.
- Todo:
- Find a documentation group to put this under.
EAPI Evas_List* evas_object_smart_members_get | ( | const Evas_Object * | obj | ) |
Gets the list of the member objects of an Evas_Object.
- Parameters:
-
obj the Evas_Object you want to get the list of member objects
- Returns:
- Returns the list of the member objects of obj. The returned list should be freed with evas_list_free() when you no longer need it
References evas_list_append().
EAPI void evas_object_stack_above | ( | Evas_Object * | obj, | |
Evas_Object * | above | |||
) |
Stack obj
immediately above above
.
If obj
is a member of a smart object, then above
must also be a member of the same smart object.
Similarly, if obj
is not a member of smart object, above
may not either.
- Parameters:
-
obj the object to stack above the object above which to stack
EAPI void evas_object_stack_below | ( | Evas_Object * | obj, | |
Evas_Object * | below | |||
) |
Stack obj
immediately below below
.
If obj
is a member of a smart object, then below
must also be a member of the same smart object.
Similarly, if obj
is not a member of smart object, below
may not either.
- Parameters:
-
obj the object to stack below the object below which to stack
EAPI Evas_Object* evas_object_text_add | ( | Evas * | e | ) |
Creates a new text Evas_Object
on the provided Evas
canvas.
- Parameters:
-
e The Evas
canvas to create the text object upon.
- Returns:
- NULL on error, A pointer to a new
Evas_Object
on success.
EAPI Evas_Coord evas_object_text_ascent_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI int evas_object_text_char_coords_get | ( | const Evas_Object * | obj, | |
Evas_Coord | x, | |||
Evas_Coord | y, | |||
Evas_Coord * | cx, | |||
Evas_Coord * | cy, | |||
Evas_Coord * | cw, | |||
Evas_Coord * | ch | |||
) |
To be documented.
FIXME: To be fixed.
EAPI int evas_object_text_char_pos_get | ( | const Evas_Object * | obj, | |
int | pos, | |||
Evas_Coord * | cx, | |||
Evas_Coord * | cy, | |||
Evas_Coord * | cw, | |||
Evas_Coord * | ch | |||
) |
Retrieve position and dimension information of a character within a text Evas_Object
.
This function is used to obtain the X, Y, width and height of a the character located at pos
within the Evas_Object
obj
. obj
must be a text object as created with evas_object_text_add(). Any of the Evas_Coord
parameters (cx
, cy
, cw
, ch
) may be NULL in which case no value will be assigned to that parameter.
- Parameters:
-
obj The text object to retrieve position information for. pos The character position to request co-ordinates for. cx A pointer to an Evas_Coord
to store the X value in (can be NULL).cy A pointer to an Evas_Coord
to store the Y value in (can be NULL).cw A pointer to an Evas_Coord
to store the Width value in (can be NULL).ch A pointer to an Evas_Coord
to store the Height value in (can be NULL).
- Returns:
- 0 on error, 1 on success.
EAPI Evas_Coord evas_object_text_descent_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_font_get | ( | const Evas_Object * | obj, | |
const char ** | font, | |||
Evas_Font_Size * | size | |||
) |
Query evas for font information of a text Evas_Object
.
This function allows the font name and size of a text Evas_Object
as created with evas_object_text_add() to be queried. Be aware that the font name string is still owned by Evas and should NOT have free() called on it by the caller of the function.
- Parameters:
-
obj The evas text object to query for font information. font A pointer to the location to store the font name in (may be NULL). size A pointer to the location to store the font size in (may be NULL).
EAPI void evas_object_text_font_set | ( | Evas_Object * | obj, | |
const char * | font, | |||
Evas_Font_Size | size | |||
) |
To be documented.
FIXME: To be fixed.
EAPI const char* evas_object_text_font_source_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_font_source_set | ( | Evas_Object * | obj, | |
const char * | font_source | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_glow2_color_get | ( | const Evas_Object * | obj, | |
int * | r, | |||
int * | g, | |||
int * | b, | |||
int * | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_glow2_color_set | ( | Evas_Object * | obj, | |
int | r, | |||
int | g, | |||
int | b, | |||
int | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_glow_color_get | ( | const Evas_Object * | obj, | |
int * | r, | |||
int * | g, | |||
int * | b, | |||
int * | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_glow_color_set | ( | Evas_Object * | obj, | |
int | r, | |||
int | g, | |||
int | b, | |||
int | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Coord evas_object_text_horiz_advance_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Coord evas_object_text_inset_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Coord evas_object_text_max_ascent_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Coord evas_object_text_max_descent_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_outline_color_get | ( | const Evas_Object * | obj, | |
int * | r, | |||
int * | g, | |||
int * | b, | |||
int * | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_outline_color_set | ( | Evas_Object * | obj, | |
int | r, | |||
int | g, | |||
int | b, | |||
int | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_shadow_color_get | ( | const Evas_Object * | obj, | |
int * | r, | |||
int * | g, | |||
int * | b, | |||
int * | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_shadow_color_set | ( | Evas_Object * | obj, | |
int | r, | |||
int | g, | |||
int | b, | |||
int | a | |||
) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Text_Style_Type evas_object_text_style_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_style_pad_get | ( | const Evas_Object * | obj, | |
int * | l, | |||
int * | r, | |||
int * | t, | |||
int * | b | |||
) |
To be documented.
FIXME: To be fixed.
EAPI void evas_object_text_style_set | ( | Evas_Object * | obj, | |
Evas_Text_Style_Type | style | |||
) |
To be documented.
FIXME: To be fixed.
EAPI const char* evas_object_text_text_get | ( | const Evas_Object * | obj | ) |
Retrieves the text currently being displayed by the given evas text object.
- Parameters:
-
obj The given evas text object.
- Returns:
- The text currently being displayed. Do not free it.
EAPI void evas_object_text_text_set | ( | Evas_Object * | obj, | |
const char * | text | |||
) |
Sets the text to be displayed by the given evas text object.
- Parameters:
-
obj Evas text object. text Text to display.
EAPI Evas_Coord evas_object_text_vert_advance_get | ( | const Evas_Object * | obj | ) |
To be documented.
FIXME: To be fixed.
EAPI Evas_Object* evas_object_textblock_add | ( | Evas * | e | ) |
Adds a textblock to the given evas.
- Parameters:
-
e The given evas.
- Returns:
- The new textblock object.
- Todo:
- Find a documentation group to put this under.
EAPI Evas_Object* evas_object_top_get | ( | const Evas * | e | ) |
Get the highest evas object on the Evas e
.
- Parameters:
-
e an Evas
- Returns:
- the highest object
EAPI void evas_obscured_clear | ( | Evas * | e | ) |
EAPI void evas_obscured_rectangle_add | ( | Evas * | e, | |
int | x, | |||
int | y, | |||
int | w, | |||
int | h | |||
) |
To be documented.
FIXME: To be fixed.
References evas_list_append(), _Evas_Rectangle::h, _Evas_Rectangle::w, _Evas_Rectangle::x, and _Evas_Rectangle::y.
EAPI void evas_render | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_render_idle_flush | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_render_updates_free | ( | Evas_List * | updates | ) |
EAPI const Evas_Smart_Class* evas_smart_class_get | ( | const Evas_Smart * | s | ) |
Get the Evas_Smart_Class of an Evas_Smart.
- Parameters:
-
s the Evas_Smart
- Returns:
- the Evas_Smart_Class
EAPI Evas_Smart* evas_smart_class_new | ( | const Evas_Smart_Class * | sc | ) |
Creates an Evas_Smart from an Evas_Smart_Class.
- Parameters:
-
Evas_Smart_Class the smart class definition
- Returns:
- an Evas_Smart
References _Evas_Smart_Class::version.
EAPI void* evas_smart_data_get | ( | const Evas_Smart * | s | ) |
Get the data pointer set on an Evas_Smart.
This data pointer is set either as the final parameter to evas_smart_new or as the data field in the Evas_Smart_Class passed in to evas_smart_class_new
- Parameters:
-
Evas_Smart
EAPI void evas_smart_free | ( | Evas_Smart * | s | ) |
Free an Evas_Smart.
If this smart was created using evas_smart_class_new(), the associated Evas_Smart_Class will not be freed.
- Parameters:
-
s the Evas_Smart to free
EAPI int evas_string_char_next_get | ( | const char * | str, | |
int | pos, | |||
int * | decoded | |||
) |
To be documented.
FIXME: To be fixed.
EAPI int evas_string_char_prev_get | ( | const char * | str, | |
int | pos, | |||
int * | decoded | |||
) |
To be documented.
FIXME: To be fixed.