Evas.h File Reference
These routines are used for Evas library interaction. More...
Data Structures | |
struct | _Evas_Transform |
An affine or projective coordinate transformation matrix. 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 button release 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_SMART_CLASS_INIT_NULL {NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer to zero a whole Evas_Smart_Class structure. | |
#define | EVAS_SMART_CLASS_INIT_VERSION {NULL, EVAS_SMART_CLASS_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer to zero a whole Evas_Smart_Class structure and set version. | |
#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} |
Initializer to zero a whole Evas_Smart_Class structure and set name and version. | |
#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 | |
#define | EVAS_OBJECT_BOX_API_INIT(smart_class_init) {smart_class_init, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer for whole Evas_Object_Box_Api structure. | |
#define | EVAS_OBJECT_BOX_API_INIT_NULL EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_NULL) |
Initializer to zero a whole Evas_Object_Box_Api structure. | |
#define | EVAS_OBJECT_BOX_API_INIT_VERSION EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_VERSION) |
Initializer to zero a whole Evas_Object_Box_Api structure and set version. | |
#define | EVAS_OBJECT_BOX_API_INIT_NAME_VERSION(name) EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_NAME_VERSION(name)) |
Initializer to zero a whole Evas_Object_Box_Api structure and set name and version. | |
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_Transform | Evas_Transform |
An Evas projective or affine transform. | |
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 | 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. | |
typedef struct _Evas_Object_Smart_Clipped_Data | Evas_Object_Smart_Clipped_Data |
Utilities:. | |
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, EVAS_CALLBACK_IMAGE_PRELOADED } |
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 int | evas_alloc_error (void) |
Return if any allocation errors have occured during the prior function. | |
EAPI Evas * | evas_new (void) EINA_WARN_UNUSED_RESULT EINA_MALLOC |
Creates a new empty evas. | |
EAPI void | evas_free (Evas *e) EINA_ARG_NONNULL(1) |
Frees the given evas and any objects created on it. | |
EAPI int | evas_render_method_lookup (const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
Look up a numeric ID from a string name of a rendering engine. | |
EAPI Eina_List * | evas_render_method_list (void) EINA_WARN_UNUSED_RESULT |
List all the rendering engines compiled into the copy of the Evas library. | |
EAPI void | evas_render_method_list_free (Eina_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) EINA_ARG_NONNULL(1) |
Sets the output engine for the given evas. | |
EAPI int | evas_output_method_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the number of the output engine used for the given evas. | |
EAPI Evas_Engine_Info * | evas_engine_info_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the current render engine info struct from the given evas. | |
EAPI int | evas_engine_info_set (Evas *e, Evas_Engine_Info *info) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
This function returns the current known pointer co-ordinates. | |
EAPI int | evas_pointer_button_down_mask_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
Returns a bitmask with the mouse buttons currently pressed, set to 1. | |
EAPI Eina_Bool | evas_pointer_inside_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
Returns whether the mouse pointer is logically inside the canvas. | |
EAPI void | evas_data_attach_set (Evas *e, void *data) EINA_ARG_NONNULL(1) |
Attaches a specific pointer to the evas for fetching later. | |
EAPI void * | evas_data_attach_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_obscured_clear (Evas *e) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI Eina_List * | evas_render_updates (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_render_updates_free (Eina_List *updates) |
To be documented. | |
EAPI void | evas_render (Evas *e) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_norender (Evas *e) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_render_idle_flush (Evas *e) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI Evas_Object * | evas_object_rectangle_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Adds a rectangle to the given evas. | |
EAPI Evas_Object * | evas_object_line_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
Adds an alpha stop to the given evas gradient object. | |
EAPI void EAPI void EAPI void | evas_object_gradient_clear (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Deletes all stops set for the given evas gradient object or any set data. | |
EAPI void EAPI void EAPI void | evas_object_gradient_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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) EINA_ARG_NONNULL(1) |
Sets the tiling mode for the given evas gradient object's fill. | |
EAPI int | evas_object_gradient_fill_spread_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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) EINA_ARG_NONNULL(1) |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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) EINA_ARG_NONNULL(1) |
Sets the direction of the given evas gradient object's spectrum. | |
EAPI int | evas_object_gradient_direction_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the evas gradient object's spectrum direction. | |
EAPI void | evas_object_gradient_offset_set (Evas_Object *obj, float offset) EINA_ARG_NONNULL(1) |
Sets the offset of the given evas gradient object's spectrum. | |
EAPI float | evas_object_gradient_offset_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the spectrum's offset. | |
EAPI void | evas_object_gradient2_color_np_stop_insert (Evas_Object *obj, int r, int g, int b, int a, float pos) EINA_ARG_NONNULL(1) |
Inserts a color stop to the given evas gradient object. | |
EAPI void | evas_object_gradient2_fill_spread_set (Evas_Object *obj, int tile_mode) EINA_ARG_NONNULL(1) |
Sets the tiling mode for the given evas gradient object's fill. | |
EAPI int | evas_object_gradient2_fill_spread_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the spread (tiling mode) for the given gradient object's fill. | |
EAPI Evas_Object * | evas_object_gradient2_linear_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Adds a gradient object to the given evas. | |
EAPI void | evas_object_gradient2_linear_fill_set (Evas_Object *obj, float x0, float y0, float x1, float y1) EINA_ARG_NONNULL(1) |
Sets the start and end points of the linear gradient geometry for the object. | |
EAPI Evas_Object * | evas_object_gradient2_radial_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Adds a gradient object to the given evas. | |
EAPI void | evas_object_gradient2_radial_fill_set (Evas_Object *obj, float cx, float cy, float rx, float ry) EINA_ARG_NONNULL(1) |
Sets the center and radii of the radial gradient geometry for the object. | |
EAPI Evas_Object * | evas_object_polygon_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
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) EINA_ARG_NONNULL(1) |
Adds the given point to the given evas polygon object. | |
EAPI void | evas_object_polygon_points_clear (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Removes all of the points from the given evas polygon object. | |
EAPI Evas_Object * | evas_object_image_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Creates a new image object on the given evas. | |
EAPI Evas_Object * | evas_object_image_filled_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Creates a new image object that automatically scales on the given evas. | |
EAPI void EAPI void EAPI void | evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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_Border_Fill_Mode fill) EINA_ARG_NONNULL(1) |
Sets if the center part of the given image object (not the border) should be drawn. | |
EAPI Evas_Border_Fill_Mode | evas_object_image_border_center_fill_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves if the center of the given image object is to be drawn or not. | |
EAPI void | evas_object_image_filled_set (Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1) |
Sets if image fill property should track object size. | |
EAPI Eina_Bool | evas_object_image_filled_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves if image fill property is tracking object size. | |
EAPI void | evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
Retrieves the dimensions of the rectangle of the given image object that the image will be drawn to. | |
EAPI void | evas_object_image_fill_spread_set (Evas_Object *obj, int tile_mode) EINA_ARG_NONNULL(1) |
Sets the tiling mode for the given evas image object's fill. | |
EAPI int | evas_object_image_fill_spread_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the spread (tiling mode) for the given image object's fill. | |
EAPI void EAPI void | evas_object_image_size_set (Evas_Object *obj, int w, int h) EINA_ARG_NONNULL(1) |
Sets the size of the given image object. | |
EAPI void | evas_object_image_size_get (const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1) |
Retrieves the size of the given image object. | |
EAPI int | evas_object_image_stride_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the row stride of the given image object,. | |
EAPI int | evas_object_image_load_error_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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) EINA_ARG_NONNULL(1) |
Sets the raw image data of the given image object. | |
EAPI void * | evas_object_image_data_convert (Evas_Object *obj, Evas_Colorspace to_cspace) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Converts the raw image data of the given image object to the specified colorspace. | |
EAPI void * | evas_object_image_data_get (const Evas_Object *obj, Eina_Bool for_writing) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
Mark a sub-region of the given image object to be redrawn. | |
EAPI void | evas_object_image_alpha_set (Evas_Object *obj, Eina_Bool has_alpha) EINA_ARG_NONNULL(1) |
Enable or disable alpha channel of the given image object. | |
EAPI Eina_Bool | evas_object_image_alpha_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the alpha channel setting of the given image object. | |
EAPI void | evas_object_image_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth_scale) EINA_ARG_NONNULL(1) |
Sets whether to use of high-quality image scaling algorithm of the given image object. | |
EAPI Eina_Bool | evas_object_image_smooth_scale_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves whether the given image object is using use a high-quality image scaling algorithm. | |
EAPI void | evas_object_image_preload (Evas_Object *obj, Eina_Bool cancel) EINA_ARG_NONNULL(1) |
Preload image in the background. | |
EAPI void | evas_object_image_reload (Evas_Object *obj) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI Eina_Bool EAPI Eina_Bool EAPI void EAPI void | evas_object_image_pixels_dirty_set (Evas_Object *obj, Eina_Bool dirty) EINA_ARG_NONNULL(1) |
Mark whether the given image object is dirty (needs to be redrawn). | |
EAPI Eina_Bool | evas_object_image_pixels_dirty_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI double | evas_object_image_load_dpi_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void | evas_object_image_load_size_set (Evas_Object *obj, int w, int h) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_image_load_scale_down_set (Evas_Object *obj, int scale_down) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI int | evas_object_image_load_scale_down_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void | evas_object_image_colorspace_set (Evas_Object *obj, Evas_Colorspace cspace) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI Evas_Colorspace | evas_object_image_colorspace_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void EAPI Evas_Native_Surface * | evas_object_image_native_surface_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void | evas_object_image_scale_hint_set (Evas_Object *obj, Evas_Image_Scale_Hint hint) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_image_cache_flush (Evas *e) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_image_cache_reload (Evas *e) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_image_cache_set (Evas *e, int size) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI int | evas_image_cache_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Object * | evas_object_text_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
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) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI const char * | evas_object_text_font_source_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void | evas_object_text_font_set (Evas_Object *obj, const char *font, Evas_Font_Size size) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void EAPI void | evas_object_text_text_set (Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1) |
Sets the text to be displayed by the given evas text object. | |
EAPI const char * | evas_object_text_text_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the text currently being displayed by the given evas text object. | |
EAPI Evas_Coord | evas_object_text_ascent_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Coord | evas_object_text_descent_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Coord | evas_object_text_max_ascent_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Coord | evas_object_text_max_descent_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Coord | evas_object_text_horiz_advance_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Coord | evas_object_text_vert_advance_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Coord | evas_object_text_inset_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Eina_Bool | evas_object_text_char_pos_get (const Evas_Object *obj, int pos, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI Evas_Text_Style_Type | evas_object_text_style_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void | evas_object_text_style_set (Evas_Object *obj, Evas_Text_Style_Type type) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_shadow_color_set (Evas_Object *obj, int r, int g, int b, int a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_shadow_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_glow_color_set (Evas_Object *obj, int r, int g, int b, int a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_glow_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_glow2_color_set (Evas_Object *obj, int r, int g, int b, int a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_glow2_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_outline_color_set (Evas_Object *obj, int r, int g, int b, int a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_outline_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_text_style_pad_get (const Evas_Object *obj, int *l, int *r, int *t, int *b) EINA_ARG_NONNULL(1) |
Gets the text style pad. | |
EAPI int | evas_string_char_next_get (const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI int | evas_string_char_prev_get (const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI int | evas_string_char_len_get (const char *str) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the length in characters of the string. | |
EAPI void | evas_font_path_clear (Evas *e) EINA_ARG_NONNULL(1) |
Removes all font paths loaded into memory for the given evas. | |
EAPI void EAPI void EAPI const Eina_List * | evas_font_path_list (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the list of font paths used by the given evas. | |
EAPI void | evas_font_cache_flush (Evas *e) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_font_cache_set (Evas *e, int size) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI int | evas_font_cache_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Eina_List * | evas_font_available_list (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void | evas_font_available_list_free (Evas *e, Eina_List *available) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI Evas_Object * | evas_object_textblock_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Adds a textblock to the given evas. | |
EAPI const char * | evas_textblock_escape_string_get (const char *escape) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI const char * | evas_textblock_string_escape_get (const char *string, int *len_ret) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI Evas_Textblock_Style * | evas_textblock_style_new (void) EINA_WARN_UNUSED_RESULT EINA_MALLOC |
Creates a new textblock style. | |
EAPI void | evas_textblock_style_free (Evas_Textblock_Style *ts) EINA_ARG_NONNULL(1) |
Destroys a textblock style. | |
EAPI void EAPI const char * | evas_textblock_style_get (const Evas_Textblock_Style *ts) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI void | evas_object_textblock_style_set (Evas_Object *obj, Evas_Textblock_Style *ts) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI const Evas_Textblock_Style * | evas_object_textblock_style_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI void | evas_object_textblock_replace_char_set (Evas_Object *obj, const char *ch) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI const char * | evas_object_textblock_replace_char_get (Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI void | evas_object_textblock_text_markup_set (Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void EAPI const char * | evas_object_textblock_text_markup_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI const Evas_Textblock_Cursor * | evas_object_textblock_cursor_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI Evas_Textblock_Cursor * | evas_object_textblock_cursor_new (Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
to be documented. | |
EAPI void | evas_textblock_cursor_free (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_textblock_cursor_node_first (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_textblock_cursor_node_last (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI Eina_Bool | evas_textblock_cursor_node_next (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI Eina_Bool | evas_textblock_cursor_node_prev (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI Eina_Bool | evas_textblock_cursor_char_next (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI Eina_Bool | evas_textblock_cursor_char_prev (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_textblock_cursor_char_first (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_textblock_cursor_char_last (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_textblock_cursor_line_first (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_textblock_cursor_line_last (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI int | evas_textblock_cursor_pos_get (const Evas_Textblock_Cursor *cur) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI void | evas_textblock_cursor_pos_set (Evas_Textblock_Cursor *cur, int pos) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI Eina_Bool | evas_textblock_cursor_line_set (Evas_Textblock_Cursor *cur, int line) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void EAPI void EAPI void EAPI void EAPI void EAPI void | evas_textblock_cursor_node_delete (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_textblock_cursor_char_delete (Evas_Textblock_Cursor *cur) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void EAPI const char * | evas_textblock_cursor_node_text_get (const Evas_Textblock_Cursor *cur) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI int | evas_textblock_cursor_node_text_length_get (const Evas_Textblock_Cursor *cur) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI const char * | evas_textblock_cursor_node_format_get (const Evas_Textblock_Cursor *cur) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI Eina_Bool | evas_textblock_cursor_node_format_is_visible_get (const Evas_Textblock_Cursor *cur) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
to be documented. | |
EAPI int | evas_textblock_cursor_char_geometry_get (const Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI int | evas_textblock_cursor_line_geometry_get (const Evas_Textblock_Cursor *cur, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI Eina_Bool | evas_textblock_cursor_char_coord_set (Evas_Textblock_Cursor *cur, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI int | evas_textblock_cursor_line_coord_set (Evas_Textblock_Cursor *cur, Evas_Coord y) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI Eina_Bool | evas_object_textblock_line_number_geometry_get (const Evas_Object *obj, int line, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_object_textblock_clear (Evas_Object *obj) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_object_textblock_size_formatted_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_object_textblock_size_native_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_object_textblock_style_insets_get (const Evas_Object *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b) EINA_ARG_NONNULL(1) |
to be documented. | |
EAPI void | evas_object_del (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Deletes the given evas object and frees its memory. | |
EAPI const char * | evas_object_type_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the name of the type of the given evas object. | |
EAPI void | evas_object_layer_set (Evas_Object *obj, short l) EINA_ARG_NONNULL(1) |
Sets the layer of the evas that the given object will be part of. | |
EAPI short | evas_object_layer_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the layer of the evas that the given object is part of. | |
EAPI void | evas_object_raise (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Raise obj to the top of its layer. | |
EAPI void | evas_object_lower (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Lower obj to the bottom of its layer. | |
EAPI void EAPI void EAPI Evas_Object * | evas_object_above_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the evas object above obj . | |
EAPI Evas_Object * | evas_object_below_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the evas object below obj . | |
EAPI Evas_Object * | evas_object_bottom_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the lowest evas object on the Evas e . | |
EAPI Evas_Object * | evas_object_top_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the highest evas object on the Evas e . | |
EAPI void | evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1) |
Moves the given evas object to the given location. | |
EAPI void | evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
Retrieves the size request hint. | |
EAPI void | evas_object_size_hint_request_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
Sets the size aspect control hint. | |
EAPI void | evas_object_size_hint_align_get (const Evas_Object *obj, double *x, double *y) EINA_ARG_NONNULL(1) |
Retrieves the size align control hint. | |
EAPI void | evas_object_size_hint_align_set (Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1) |
Sets the size align control hint. | |
EAPI void | evas_object_size_hint_weight_get (const Evas_Object *obj, double *x, double *y) EINA_ARG_NONNULL(1) |
Retrieves the size weight control hint. | |
EAPI void | evas_object_size_hint_weight_set (Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1) |
Sets the size weight control hint. | |
EAPI void | evas_object_size_hint_padding_get (const Evas_Object *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b) EINA_ARG_NONNULL(1) |
Retrieves the size padding control hint. | |
EAPI void | evas_object_size_hint_padding_set (Evas_Object *obj, Evas_Coord l, Evas_Coord r, Evas_Coord t, Evas_Coord b) EINA_ARG_NONNULL(1) |
Sets the size padding control hint. | |
EAPI void | evas_object_show (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Makes the given evas object visible. | |
EAPI void | evas_object_hide (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Makes the given evas object invisible. | |
EAPI Eina_Bool | evas_object_visible_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves whether or not the given evas object is visible. | |
EAPI void | evas_object_render_op_set (Evas_Object *obj, Evas_Render_Op op) EINA_ARG_NONNULL(1) |
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) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the current value of the operation used for rendering the evas object. | |
EAPI void | evas_object_anti_alias_set (Evas_Object *obj, Eina_Bool antialias) EINA_ARG_NONNULL(1) |
Sets whether or not the given evas object is to be drawn anti_aliased. | |
EAPI Eina_Bool | evas_object_anti_alias_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves whether or not the given evas object is to be drawn anti_aliased. | |
EAPI void | evas_object_scale_set (Evas_Object *obj, double scale) EINA_ARG_NONNULL(1) |
Sets the scaling factor for an evas object. | |
EAPI double | evas_object_scale_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the scaling factor for the given evas object. | |
EAPI void | evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
Retrieves the general colour of the given evas object. | |
EAPI void | evas_object_color_interpolation_set (Evas_Object *obj, int color_space) EINA_ARG_NONNULL(1) |
Sets the color_space to be used for linear interpolation of colors. | |
EAPI int | evas_object_color_interpolation_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the current value of the color space used for linear interpolation. | |
EAPI void EAPI Evas_Object * | evas_object_clip_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the object clipping this one (if any). | |
EAPI void | evas_object_clip_unset (Evas_Object *obj) |
Disable clipping for an object. | |
EAPI const Eina_List * | evas_object_clipees_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Return a list of objects currently clipped by a specific object. | |
EAPI void *EAPI void | evas_object_name_set (Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1) |
Sets the name of the given evas object to the given name. | |
EAPI const char * | evas_object_name_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the name of the given evas object. | |
EAPI Evas_Object * | evas_object_name_find (const Evas *e, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the object on the given evas with the given name. | |
EAPI Evas * | evas_object_evas_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Evas_Object * | evas_object_top_at_pointer_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Eina_List * | evas_objects_at_xy_get (const Evas *e, Evas_Coord x, Evas_Coord y, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI Eina_List * | evas_objects_in_rectangle_get (const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
To be documented. | |
EAPI void | evas_smart_free (Evas_Smart *s) EINA_ARG_NONNULL(1) |
Free an Evas_Smart. | |
EAPI Evas_Smart * | evas_smart_class_new (const Evas_Smart_Class *sc) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Creates an Evas_Smart from an Evas_Smart_Class. | |
EAPI const Evas_Smart_Class * | evas_smart_class_get (const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the Evas_Smart_Class of an Evas_Smart. | |
EAPI void * | evas_smart_data_get (const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the data pointer set on an Evas_Smart. | |
EAPI void EAPI void | evas_object_smart_member_del (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Removes a member object from a smart object. | |
EAPI Evas_Object * | evas_object_smart_parent_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Gets the smart parent of an Evas_Object. | |
EAPI Eina_List * | evas_object_smart_members_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Gets the list of the member objects of an Evas_Object. | |
EAPI Evas_Smart * | evas_object_smart_smart_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the Evas_Smart from which obj was created. | |
EAPI void * | evas_object_smart_data_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieve user data stored on a smart object. | |
EAPI void | evas_object_smart_data_set (Evas_Object *obj, void *data) EINA_ARG_NONNULL(1) |
Store a pointer to user data for a smart object. | |
EAPI void EAPI void EAPI void EAPI void | evas_object_smart_changed (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Mark smart object as changed, dirty. | |
EAPI void | evas_object_smart_need_recalculate_set (Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1) |
Set the need_recalculate flag of given smart object. | |
EAPI Eina_Bool | evas_object_smart_need_recalculate_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the current value of need_recalculate flag. | |
EAPI void | evas_object_smart_calculate (Evas_Object *obj) EINA_ARG_NONNULL(1) |
Call user provided calculate() and unset need_calculate. | |
EAPI void | evas_event_freeze (Evas *e) EINA_ARG_NONNULL(1) |
Freeze all event processing. | |
EAPI void | evas_event_thaw (Evas *e) EINA_ARG_NONNULL(1) |
Thaw a canvas out after freezing. | |
EAPI int | evas_event_freeze_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
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) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_event_feed_mouse_up (Evas *e, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_event_feed_mouse_move (Evas *e, int x, int y, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_event_feed_mouse_in (Evas *e, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_event_feed_mouse_out (Evas *e, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_event_feed_mouse_cancel (Evas *e, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_event_feed_mouse_wheel (Evas *e, int direction, int z, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
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) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_event_feed_hold (Evas *e, int hold, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
To be documented. | |
EAPI void | evas_object_focus_set (Evas_Object *obj, Eina_Bool focus) EINA_ARG_NONNULL(1) |
Sets focus to the given object. | |
EAPI Eina_Bool | evas_object_focus_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Test if the object has focus. | |
EAPI Evas_Object * | evas_focus_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieve the object that currently has focus. | |
EAPI const Evas_Modifier * | evas_key_modifier_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Returns a handle to the modifiers available in the system. | |
EAPI const Evas_Lock * | evas_key_lock_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Returns a handle to the locks available in the system. | |
EAPI Eina_Bool EAPI void EAPI void | evas_object_pass_events_set (Evas_Object *obj, Eina_Bool pass) EINA_ARG_NONNULL(1) |
Set an object's pass events state. | |
EAPI Eina_Bool | evas_object_pass_events_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Determine whether an object is set to pass events. | |
EAPI void | evas_object_repeat_events_set (Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1) |
Set an object's repeat events state. | |
EAPI Eina_Bool | evas_object_repeat_events_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Determine whether an object is set to repeat events. | |
EAPI void | evas_object_propagate_events_set (Evas_Object *obj, Eina_Bool prop) EINA_ARG_NONNULL(1) |
Set whether events on a smart member object should propagate to its parent. | |
EAPI Eina_Bool | evas_object_propagate_events_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Determine whether an object is set to propagate events. | |
EAPI void | evas_object_pointer_mode_set (Evas_Object *obj, Evas_Object_Pointer_Mode setting) EINA_ARG_NONNULL(1) |
Set pointer behavior. | |
EAPI Evas_Object_Pointer_Mode | evas_object_pointer_mode_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Determine how pointer will behave. | |
EAPI void | evas_object_precise_is_inside_set (Evas_Object *obj, Eina_Bool precise) EINA_ARG_NONNULL(1) |
Set whether to use a precise (usually expensive) point collision detection. | |
EAPI Eina_Bool | evas_object_precise_is_inside_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Determine whether an object is set to use a precise point collision detection. | |
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: . | |
EAPI Evas_Object * | evas_object_smart_clipped_clipper_get (Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the clipper object for the given clipped smart object. | |
EAPI void | evas_object_smart_clipped_smart_set (Evas_Smart_Class *sc) EINA_ARG_NONNULL(1) |
Set smart class callbacks so it implements the "Clipped Smart Object". | |
EAPI void | evas_object_smart_move_children_relative (Evas_Object *obj, Evas_Coord dx, Evas_Coord dy) EINA_ARG_NONNULL(1) |
Moves all children objects relative to given offset. | |
EAPI void | evas_object_box_smart_set (Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1) |
Set the default box api struct (Evas_Object_Box_Api) with the default values. | |
EAPI void EAPI Evas_Object * | evas_object_box_add (Evas *evas) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Create a new box. | |
EAPI Evas_Object * | evas_object_box_add_to (Evas_Object *parent) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Create a box that is child of a given element parent. | |
EAPI void EAPI void EAPI void EAPI void EAPI void EAPI void EAPI void EAPI void EAPI void EAPI void | evas_object_box_align_set (Evas_Object *o, double horizontal, double vertical) EINA_ARG_NONNULL(1) |
Set the alignment of the whole bounding box of contents. | |
EAPI void | evas_object_box_align_get (const Evas_Object *o, double *horizontal, double *vertical) EINA_ARG_NONNULL(1) |
Get alignment of the whole bounding box of contents. | |
EAPI void | evas_object_box_padding_set (Evas_Object *o, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1) |
Set the space (padding) between cells. | |
EAPI void | evas_object_box_padding_get (const Evas_Object *o, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1) |
Get the (space) padding between cells. | |
EAPI Evas_Object_Box_Option *EAPI Evas_Object_Box_Option *EAPI Evas_Object_Box_Option EAPI Evas_Object_Box_Option *EAPI Eina_Bool EAPI Eina_Bool | evas_object_box_remove_at (Evas_Object *o, unsigned int pos) EINA_ARG_NONNULL(1) |
Remove an object from the box o which occupies position pos. | |
EAPI Eina_Bool | evas_object_box_remove_all (Evas_Object *o, Eina_Bool clear) EINA_ARG_NONNULL(1) |
Remove all child objects. | |
EAPI Eina_Iterator * | evas_object_box_iterator_new (const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Get an iterator to walk the list of children for the box. | |
EAPI Eina_Accessor * | evas_object_box_accessor_new (const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Get an accessor to get random access to the list of children for the box. | |
EAPI Eina_List * | evas_object_box_children_get (const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Get the list of children for the box. | |
EAPI const char * | evas_object_box_option_property_name_get (Evas_Object *o, int property) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the name of the property of the child elements of the box o whose id is property. | |
EAPI Eina_Bool EAPI Eina_Bool EAPI Eina_Bool EAPI Eina_Bool EAPI Evas_Object * | evas_object_table_add (Evas *evas) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Create a new table. | |
EAPI Evas_Object * | evas_object_table_add_to (Evas_Object *parent) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Create a table that is child of a given element parent. | |
EAPI void | evas_object_table_homogeneous_set (Evas_Object *o, Evas_Object_Table_Homogeneous_Mode homogeneous) EINA_ARG_NONNULL(1) |
Set how this table should layout children. | |
EAPI Evas_Object_Table_Homogeneous_Mode | evas_object_table_homogeneous_get (const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the current layout homogeneous mode. | |
EAPI void | evas_object_table_padding_set (Evas_Object *o, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1) |
Set padding between cells. | |
EAPI void | evas_object_table_padding_get (const Evas_Object *o, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1) |
Get padding between cells. | |
EAPI void | evas_object_table_align_set (Evas_Object *o, double horizontal, double vertical) EINA_ARG_NONNULL(1) |
Set the alignment of the whole bounding box of contents. | |
EAPI void | evas_object_table_align_get (const Evas_Object *o, double *horizontal, double *vertical) EINA_ARG_NONNULL(1) |
Get alignment of the whole bounding box of contents. | |
EAPI Eina_Bool EAPI Eina_Bool EAPI void | evas_object_table_clear (Evas_Object *o, Eina_Bool clear) EINA_ARG_NONNULL(1) |
Faster way to remove all child objects. | |
EAPI void | evas_object_table_col_row_size_get (const Evas_Object *o, int *cols, int *rows) EINA_ARG_NONNULL(1) |
Get the number of columns and rows this table takes. | |
EAPI Eina_Iterator * | evas_object_table_iterator_new (const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Get an iterator to walk the list of children for the table. | |
EAPI Eina_Accessor * | evas_object_table_accessor_new (const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Get an accessor to get random access to the list of children for the table. | |
EAPI Eina_List * | evas_object_table_children_get (const Evas_Object *o) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC |
Get the list of children for the table. |
Detailed Description
These routines are used for Evas library interaction.
- Todo:
check boolean return values and convert to Eina_Bool
change all api to use EINA_SAFETY_*
finish api documentation
Define Documentation
#define EVAS_OBJECT_BOX_API_INIT | ( | smart_class_init | ) | {smart_class_init, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer for whole Evas_Object_Box_Api structure.
- Parameters:
-
smart_class_init initializer to use for the "base" field (Evas_Smart_Class).
#define EVAS_OBJECT_BOX_API_INIT_NAME_VERSION | ( | name | ) | EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_NAME_VERSION(name)) |
Initializer to zero a whole Evas_Object_Box_Api structure and set name and version.
Similar to EVAS_OBJECT_BOX_API_INIT_NULL, but will set version field of Evas_Smart_Class (base field) to latest EVAS_SMART_CLASS_VERSION and name to the specific value.
It will keep a reference to name field as a "const char *", that is, name must be available while the structure is used (hint: static or global!) and will not be modified.
#define EVAS_OBJECT_BOX_API_INIT_NULL EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_NULL) |
Initializer to zero a whole Evas_Object_Box_Api structure.
#define EVAS_OBJECT_BOX_API_INIT_VERSION EVAS_OBJECT_BOX_API_INIT(EVAS_SMART_CLASS_INIT_VERSION) |
Initializer to zero a whole Evas_Object_Box_Api structure and set version.
Similar to EVAS_OBJECT_BOX_API_INIT_NULL, but will set version field of Evas_Smart_Class (base field) to latest EVAS_SMART_CLASS_VERSION
#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} |
Initializer to zero a whole Evas_Smart_Class structure and set name and version.
Similar to EVAS_SMART_CLASS_INIT_NULL, but will set version field to latest EVAS_SMART_CLASS_VERSION and name to the specified value.
It will keep a reference to name field as a "const char *", that is, name must be available while the structure is used (hint: static or global!) and will not be modified.
#define EVAS_SMART_CLASS_INIT_NULL {NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer to zero a whole Evas_Smart_Class structure.
#define EVAS_SMART_CLASS_INIT_VERSION {NULL, EVAS_SMART_CLASS_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer to zero a whole Evas_Smart_Class structure and set version.
Similar to EVAS_SMART_CLASS_INIT_NULL, but will set version field to latest EVAS_SMART_CLASS_VERSION.
Typedef Documentation
typedef struct _Evas_Object_Smart_Clipped_Data Evas_Object_Smart_Clipped_Data |
Utilities:.
Every subclass should provide this at the beginning of their own data set with evas_object_smart_data_set().
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
This function will return if any memory allocation errors occured during, and what kind they were. The return value will be one of EVAS_ALLOC_ERROR_NONE, EVAS_ALLOC_ERROR_FATAL or EVAS_ALLOC_ERROR_RECOVERED with each meaning something different.
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.
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_CALLBACK_HOLD, EVAS_EVENT_FLAG_NONE, and _Evas_Event_Hold::hold.
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_CALLBACK_KEY_DOWN, EVAS_EVENT_FLAG_NONE, _Evas_Event_Key_Down::key, _Evas_Event_Key_Down::keyname, and _Evas_Event_Key_Down::string.
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_CALLBACK_KEY_UP, EVAS_EVENT_FLAG_NONE, _Evas_Event_Key_Up::key, _Evas_Event_Key_Up::keyname, and _Evas_Event_Key_Up::string.
EAPI void evas_event_feed_mouse_cancel | ( | Evas * | e, | |
unsigned int | timestamp, | |||
const void * | data | |||
) |
To be documented.
FIXME: To be fixed.
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_CALLBACK_MOUSE_DOWN, and EVAS_EVENT_FLAG_NONE.
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_CALLBACK_MOUSE_IN, and EVAS_EVENT_FLAG_NONE.
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_CALLBACK_MOUSE_IN, EVAS_CALLBACK_MOUSE_MOVE, EVAS_CALLBACK_MOUSE_OUT, and EVAS_EVENT_FLAG_NONE.
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_CALLBACK_MOUSE_OUT, and EVAS_EVENT_FLAG_NONE.
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_CALLBACK_MOUSE_IN, EVAS_CALLBACK_MOUSE_OUT, EVAS_CALLBACK_MOUSE_UP, and EVAS_EVENT_FLAG_NONE.
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_CALLBACK_MOUSE_WHEEL, and EVAS_EVENT_FLAG_NONE.
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 currently has focus, NULL otherwise.
- See also:
- evas_object_focus_set
- evas_object_focus_get
- evas_object_key_grab
- evas_object_key_ungrab
- Returns:
- The object that has focus or NULL is there is not one.
EAPI Eina_List* evas_font_available_list | ( | const Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_font_available_list_free | ( | Evas * | e, | |
Eina_List * | available | |||
) |
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.
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_del
- evas_key_lock_on
- evas_key_lock_off
- 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 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_del
- evas_key_modifier_on
- evas_key_modifier_off
- 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 void evas_norender | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI Eina_Bool evas_object_focus_get | ( | const Evas_Object * | obj | ) |
Test if the object has focus.
- Parameters:
-
obj The object to be tested.
If the passed object is the currently focused object 1 is returned, 0 otherwise.
- See also:
- evas_object_focus_set
- evas_focus_get
- evas_object_key_grab
- evas_object_key_ungrab
- Returns:
- 1 if the object has the focus, 0 otherwise.
EAPI void evas_object_focus_set | ( | Evas_Object * | obj, | |
Eina_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.
Changing focus only affects where key events go. There can be only one object focused at any time.
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.
- See also:
- evas_object_focus_get
- evas_focus_get
- evas_object_key_grab
- evas_object_key_ungrab
References EVAS_CALLBACK_FOCUS_IN, and EVAS_CALLBACK_FOCUS_OUT.
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.
This function has direct effect on event callbacks related to mouse.
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 Eina_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 eina_list_free() when you no longer need it
EAPI void evas_obscured_clear | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_obscured_rectangle_add | ( | Evas * | e, | |
int | x, | |||
int | y, | |||
int | w, | |||
int | h | |||
) |
To be documented.
FIXME: To be fixed.
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 Eina_List* evas_render_updates | ( | Evas * | e | ) |
To be documented.
FIXME: To be fixed.
EAPI void evas_render_updates_free | ( | Eina_List * | updates | ) |
To be documented.
FIXME: To be fixed.
EAPI int evas_string_char_len_get | ( | const char * | str | ) |
Get the length in characters of the string.
- Parameters:
-
str The string to get the length of.
- Returns:
- The length in characters (not bytes)
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.