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_HINT_EXPAND 1.0 |
Use with evas_object_size_hint_weight_set(), evas_object_size_hint_eight_get(). | |
#define | EVAS_HINT_FILL -1.0 |
Use with evas_object_size_hint_align_set(), evas_object_size_hint_align_get(), evas_object_size_hint_fill_set(), evas_object_size_hint_fill_get(). | |
#define | evas_object_size_hint_fill_set evas_object_size_hint_align_set |
Convenience macro to make it easier to understand that align is also used for fill properties (as fill is mutually exclusive to align). | |
#define | evas_object_size_hint_fill_get evas_object_size_hint_align_get |
Convenience macro to make it easier to understand that align is also used for fill properties (as fill is mutually exclusive to align). | |
#define | EVAS_OBJECT_BOX_API_INIT(smart_class_init) {smart_class_init, EVAS_OBJECT_BOX_API_VERSION, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
Initializer for 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_Map | Evas_Map |
An array of map points. | |
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 int | evas_init (void) |
Initialize Evas. | |
EAPI int | evas_shutdown (void) |
Shutdown Evas. | |
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) |
Add a damage rectangle. | |
EAPI void | evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h) EINA_ARG_NONNULL(1) |
Add an obscured region. | |
EAPI void | evas_obscured_clear (Evas *e) EINA_ARG_NONNULL(1) |
Remove all obscured region rectangles from the canvas. | |
EAPI Eina_List * | evas_render_updates (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) |
Force immediate renderization of the given canvas. | |
EAPI void | evas_render_updates_free (Eina_List *updates) |
Free the rectangles returned by evas_render_updates(). | |
EAPI void | evas_render (Evas *e) EINA_ARG_NONNULL(1) |
Force renderization of a region. | |
EAPI void | evas_norender (Evas *e) EINA_ARG_NONNULL(1) |
Update the canvas internal objects but not triggering immediate renderization. | |
EAPI void | evas_render_idle_flush (Evas *e) EINA_ARG_NONNULL(1) |
Make the canvas discard internally cached data used for renderization. | |
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) |
Reload a image of the canvas. | |
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) |
Set the dpi resolution of a loaded image of the canvas. | |
EAPI double | evas_object_image_load_dpi_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the dpi resolution of a loaded image of the canvas. | |
EAPI void | evas_object_image_load_size_set (Evas_Object *obj, int w, int h) EINA_ARG_NONNULL(1) |
Set the size of a loaded image of the canvas. | |
EAPI void | evas_object_image_load_size_get (const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1) |
Get the size of a loaded image of the canvas. | |
EAPI void | evas_object_image_load_scale_down_set (Evas_Object *obj, int scale_down) EINA_ARG_NONNULL(1) |
Set the scale down of a loaded image of the canvas. | |
EAPI int | evas_object_image_load_scale_down_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the scale down value of given image of the canvas. | |
EAPI void | evas_object_image_colorspace_set (Evas_Object *obj, Evas_Colorspace cspace) EINA_ARG_NONNULL(1) |
Set the colorspace of a given image of the canvas. | |
EAPI Evas_Colorspace | evas_object_image_colorspace_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the colorspace of a given image of the canvas. | |
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 |
Get the native surface of a given image of the canvas. | |
EAPI void | evas_object_image_scale_hint_set (Evas_Object *obj, Evas_Image_Scale_Hint hint) EINA_ARG_NONNULL(1) |
Set the scale hint of a given image of the canvas. | |
EAPI Evas_Image_Scale_Hint | evas_object_image_scale_hint_get (const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Get the scale hint of a given image of the canvas. | |
EAPI void | evas_image_cache_flush (Evas *e) EINA_ARG_NONNULL(1) |
Flush the image cache of the canvas. | |
EAPI void | evas_image_cache_reload (Evas *e) EINA_ARG_NONNULL(1) |
Reload the image cache. | |
EAPI void | evas_image_cache_set (Evas *e, int size) EINA_ARG_NONNULL(1) |
Set the image cache. | |
EAPI int | evas_image_cache_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Set the image cache. | |
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 int | evas_object_text_last_up_to_pos (const Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1) |
Returns the logical position of the last char in the text up to the pos given. | |
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 of a text object. | |
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) |
Change the charset in use inside the given textblock object. | |
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 |
Retrieves the top object at the given position (x,y). | |
EAPI Evas_Object * | evas_object_top_at_pointer_get (const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE |
Retrieves the top object at mouse pointer position. | |
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 |
Retrieves the top object in the given rectangle region. | |
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 |
Retrieves the objects at the given position. | |
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_object_map_enable_set (Evas_Object *obj, Eina_Bool enabled) |
Enable or disable the map that is set. | |
EAPI Eina_Bool | evas_object_map_enable_get (const Evas_Object *obj) |
Get the map enabled state. | |
EAPI void | evas_object_map_set (Evas_Object *obj, const Evas_Map *map) |
Set current object transformation map. | |
EAPI const Evas_Map * | evas_object_map_get (const Evas_Object *obj) |
Get current object transformation map. | |
EAPI void | evas_map_util_points_populate_from_object_full (Evas_Map *m, const Evas_Object *obj, Evas_Coord z) |
Populate source and destination map points to match exactly object. | |
EAPI void | evas_map_util_points_populate_from_object (Evas_Map *m, const Evas_Object *obj) |
Populate source and destination map points to match exactly object. | |
EAPI void | evas_map_util_points_populate_from_geometry (Evas_Map *m, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Coord z) |
Populate source and destination map points to match given geometry. | |
EAPI void | evas_map_util_points_color_set (Evas_Map *m, int r, int g, int b, int a) |
Set color of all points to given color. | |
EAPI void | evas_map_util_rotate (Evas_Map *m, double degrees, Evas_Coord cx, Evas_Coord cy) |
Change the map to apply the given rotation. | |
EAPI void | evas_map_util_zoom (Evas_Map *m, double zoomx, double zoomy, Evas_Coord cx, Evas_Coord cy) |
Change the map to apply the given zooming. | |
EAPI void | evas_map_util_3d_rotate (Evas_Map *m, double dx, double dy, double dz, Evas_Coord cx, Evas_Coord cy, Evas_Coord cz) |
Rotate the map around 3 axes in 3D. | |
EAPI void | evas_map_util_3d_lighting (Evas_Map *m, Evas_Coord lx, Evas_Coord ly, Evas_Coord lz, int lr, int lg, int lb, int ar, int ab, int ag) |
Perform lighting calculations on the given Map. | |
EAPI void | evas_map_util_3d_perspective (Evas_Map *m, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc) |
Apply a perspective transform to the map. | |
EAPI Eina_Bool | evas_map_util_clockwise_get (Evas_Map *m) |
Get the clockwise state of a map. | |
EAPI Evas_Map * | evas_map_new (int count) |
Create map of transformation points to be later used with an evas object. | |
EAPI void | evas_map_smooth_set (Evas_Map *m, Eina_Bool enabled) |
Set the smoothing for map rendering. | |
EAPI Eina_Bool | evas_map_smooth_get (const Evas_Map *m) |
get the smoothing for map rendering | |
EAPI void | evas_map_alpha_set (Evas_Map *m, Eina_Bool enabled) |
Set the alpha flag for map rendering. | |
EAPI Eina_Bool | evas_map_alpha_get (const Evas_Map *m) |
get the alpha flag for map rendering | |
EAPI Evas_Map * | evas_map_dup (const Evas_Map *m) |
Copy a previously allocated map. | |
EAPI void | evas_map_free (Evas_Map *m) |
Free a previously allocated map. | |
EAPI void | evas_map_point_coord_set (Evas_Map *m, int idx, Evas_Coord x, Evas_Coord y, Evas_Coord z) |
Change the map point's coordinate. | |
EAPI void | evas_map_point_coord_get (const Evas_Map *m, int idx, Evas_Coord *x, Evas_Coord *y, Evas_Coord *z) |
Get the map point's coordinate. | |
EAPI void | evas_map_point_image_uv_set (Evas_Map *m, int idx, double u, double v) |
Change the map point's U and V texture source point. | |
EAPI void | evas_map_point_image_uv_get (const Evas_Map *m, int idx, double *u, double *v) |
Get the map point's U and V texture source points. | |
EAPI void | evas_map_point_color_set (Evas_Map *m, int idx, int r, int g, int b, int a) |
Set the color of a vertex in the map. | |
EAPI void | evas_map_point_color_get (const Evas_Map *m, int idx, int *r, int *g, int *b, int *a) |
Get the color set on a vertex in the map. | |
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_smart_objects_calculate (Evas *e) |
Call user provided calculate() and unset need_calculate on all objects. | |
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) |
Mouse down event feed. | |
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) |
Mouse up event feed. | |
EAPI void | evas_event_feed_mouse_move (Evas *e, int x, int y, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
Mouse move event feed. | |
EAPI void | evas_event_feed_mouse_in (Evas *e, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
Mouse in event feed. | |
EAPI void | evas_event_feed_mouse_out (Evas *e, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
Mouse out event feed. | |
EAPI void | evas_event_feed_mouse_cancel (Evas *e, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
Mouse cancel event feed. | |
EAPI void | evas_event_feed_mouse_wheel (Evas *e, int direction, int z, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
Mouse wheel event feed. | |
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) |
Key down event feed. | |
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) |
Key up event feed. | |
EAPI void | evas_event_feed_hold (Evas *e, int hold, unsigned int timestamp, const void *data) EINA_ARG_NONNULL(1) |
Hold event feed. | |
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 EAPI void *EAPI void *EAPI int | evas_async_events_fd_get (void) EINA_WARN_UNUSED_RESULT EINA_PURE |
Get evas' internal asynchronous events read file descriptor. | |
EAPI int | evas_async_events_process (void) |
Trigger the processing of all events waiting on the file descriptor returned by evas_async_events_fd_get(). | |
EAPI void | evas_color_hsv_to_rgb (float h, float s, float v, int *r, int *g, int *b) |
Convert a given color from HSV to RGB format. | |
EAPI void | evas_color_rgb_to_hsv (int r, int g, int b, float *h, float *s, float *v) |
Convert a given color from RGB to HSV format. | |
EAPI void | evas_color_argb_premul (int a, int *r, int *g, int *b) |
Pre-multiplies a rgb triplet by an alpha factor. | |
EAPI void | evas_color_argb_unpremul (int a, int *r, int *g, int *b) |
Undo pre-multiplication of a rgb triplet by an alpha factor. | |
EAPI void | evas_data_argb_premul (unsigned int *data, unsigned int len) |
Pre-multiplies data by an alpha factor. | |
EAPI void | evas_data_argb_unpremul (unsigned int *data, unsigned int len) |
Undo pre-multiplication data by an alpha factor. | |
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 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 from a table object. | |
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, EVAS_OBJECT_BOX_API_VERSION, NULL, 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 EAPI void* EAPI void* EAPI int evas_async_events_fd_get | ( | void | ) |
Get evas' internal asynchronous events read file descriptor.
- Returns:
- The canvas' asynchronous events read file descriptor.
Evas' asynchronous events are meant to be dealt with internally, i. e., when building stuff to be glued together into the EFL infrastructure -- a module, for example. The context which demands its use is when calculations need to be done out of the main thread, asynchronously, and some action must be performed after that.
An example of actual use of this API is for image asynchronous preload inside evas. If the canvas was instantiated throught ecore-evas usage, ecore itself will take care of calling those events' processing.
This function returns the read file descriptor where to get the asynchronous events of the canvas. Naturally, other mainloops, apart from ecore, may make use of it.
EAPI int evas_async_events_process | ( | void | ) |
Trigger the processing of all events waiting on the file descriptor returned by evas_async_events_fd_get().
- Returns:
- The number of events processed.
All asynchronous events queued up by evas_async_events_put() are processed here. More precisely, the callback functions, informed together with other event parameters, when queued, get called (with those parameters), in that order.
EAPI void evas_color_argb_premul | ( | int | a, | |
int * | r, | |||
int * | g, | |||
int * | b | |||
) |
Pre-multiplies a rgb triplet by an alpha factor.
- Parameters:
-
a The alpha factor. r The Red component of the color. g The Green component of the color. b The Blue component of the color.
This function pre-multiplies a given rbg triplet by an alpha factor. Alpha factor is used to define transparency.
EAPI void evas_color_argb_unpremul | ( | int | a, | |
int * | r, | |||
int * | g, | |||
int * | b | |||
) |
Undo pre-multiplication of a rgb triplet by an alpha factor.
- Parameters:
-
a The alpha factor. r The Red component of the color. g The Green component of the color. b The Blue component of the color.
This function undoes pre-multiplication a given rbg triplet by an alpha factor. Alpha factor is used to define transparency.
- See also:
- evas_color_argb_premul().
EAPI void evas_color_hsv_to_rgb | ( | float | h, | |
float | s, | |||
float | v, | |||
int * | r, | |||
int * | g, | |||
int * | b | |||
) |
Convert a given color from HSV to RGB format.
- Parameters:
-
h The Hue component of the color. s The Saturation component of the color. v The Value component of the color. r The Red component of the color. g The Green component of the color. b The Blue component of the color.
This function converts a given color in HSV color format to RGB color format.
EAPI void evas_color_rgb_to_hsv | ( | int | r, | |
int | g, | |||
int | b, | |||
float * | h, | |||
float * | s, | |||
float * | v | |||
) |
Convert a given color from RGB to HSV format.
- Parameters:
-
r The Red component of the color. g The Green component of the color. b The Blue component of the color. h The Hue component of the color. s The Saturation component of the color. v The Value component of the color.
This function converts a given color in RGB color format to HSV color format.
EAPI void evas_damage_rectangle_add | ( | Evas * | e, | |
int | x, | |||
int | y, | |||
int | w, | |||
int | h | |||
) |
Add a damage rectangle.
- Parameters:
-
e The given canvas pointer. x The rectangle's left position. y The rectangle's top position. w The rectangle's width. h The rectangle's height.
This is the function by which one tells evas that a part of the canvas has to be repainted.
EAPI void evas_data_argb_premul | ( | unsigned int * | data, | |
unsigned int | len | |||
) |
Pre-multiplies data by an alpha factor.
- Parameters:
-
data The data value. len The lenght value.
This function pre-multiplies a given data by an alpha factor. Alpha factor is used to define transparency.
EAPI void evas_data_argb_unpremul | ( | unsigned int * | data, | |
unsigned int | len | |||
) |
Undo pre-multiplication data by an alpha factor.
- Parameters:
-
data The data value. len The lenght value.
This function undoes pre-multiplication of a given data by an alpha factor. Alpha factor is used to define transparency.
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 | |||
) |
Hold event feed.
- Parameters:
-
e The given canvas pointer. hold The hold. timestamp The timestamp of the mouse up event. data The data for canvas.
This function makes the object to stop sending events.
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 | |||
) |
Key down event feed.
- Parameters:
-
e The canvas to thaw out keyname Name of the key key The key pressed. string A String compose The compose string timestamp Timestamp of the mouse up event data Data for canvas.
This function will set some evas properties that is necessary when a key is pressed. It prepares information to be treated by the callback function.
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 | |||
) |
Key up event feed.
- Parameters:
-
e The canvas to thaw out keyname Name of the key key The key released. string string compose compose timestamp Timestamp of the mouse up event data Data for canvas.
This function will set some evas properties that is necessary when a key is released. It prepares information to be treated by the callback function.
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 | |||
) |
Mouse cancel event feed.
- Parameters:
-
e The given canvas pointer. timestamp The timestamp of the mouse up event. data The data for canvas.
This function will call evas_event_feed_mouse_up() when a mouse cancel event happens.
EAPI void evas_event_feed_mouse_down | ( | Evas * | e, | |
int | b, | |||
Evas_Button_Flags | flags, | |||
unsigned int | timestamp, | |||
const void * | data | |||
) |
Mouse down event feed.
- Parameters:
-
e The given canvas pointer. b The button number. flags The evas button flags. timestamp The timestamp of the mouse down event. data The data for canvas.
This function will set some evas properties that is necessary when the mouse button is pressed. It prepares information to be treated by the callback function.
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 | |||
) |
Mouse in event feed.
- Parameters:
-
e The given canvas pointer. timestamp The timestamp of the mouse up event. data The data for canvas.
This function will set some evas properties that is necessary when the mouse in event happens. It prepares information to be treated by the callback function.
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 | |||
) |
Mouse move event feed.
- Parameters:
-
e The given canvas pointer. x The horizontal position of the mouse pointer. y The vertical position of the mouse pointer. timestamp The timestamp of the mouse up event. data The data for canvas.
This function will set some evas properties that is necessary when the mouse is moved from its last position. It prepares information to be treated by the callback function.
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 | |||
) |
Mouse out event feed.
- Parameters:
-
e The given canvas pointer. timestamp Timestamp of the mouse up event. data The data for canvas.
This function will set some evas properties that is necessary when the mouse out event happens. It prepares information to be treated by the callback function.
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 | |||
) |
Mouse up event feed.
- Parameters:
-
e The given canvas pointer. b The button number. flags evas button flags. timestamp The timestamp of the mouse up event. data The data for canvas.
This function will set some evas properties that is necessary when the mouse button is released. It prepares information to be treated by the callback function.
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 | |||
) |
Mouse wheel event feed.
- Parameters:
-
e The given canvas pointer. direction The wheel mouse direction. z How much mouse wheel was scrolled up or down. timestamp The timestamp of the mouse up event. data The data for canvas.
This function will set some evas properties that is necessary when the mouse wheel is scrolled up or down. It prepares information to be treated by the callback function.
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.
EAPI int evas_init | ( | void | ) |
Initialize Evas.
- Returns:
- The init counter value.
This function initialize evas, increments a counter of the number of calls to this function and returns this value.
- See also:
- evas_shutdown().
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 Eina_Bool evas_map_alpha_get | ( | const Evas_Map * | m | ) |
get the alpha flag for map rendering
This gets the alph flag for map rendering.
- Parameters:
-
m map to get the alpha from. Must not be NULL.
EAPI void evas_map_alpha_set | ( | Evas_Map * | m, | |
Eina_Bool | enabled | |||
) |
Set the alpha flag for map rendering.
This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects have this currently. Fits stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
- Parameters:
-
m map to modify. Must not be NULL. enabled enable or disable alpha map rendering
Copy a previously allocated map.
This makes a duplicate of the m
object and returns it.
- Parameters:
-
m map to copy. Must not be NULL.
- Returns:
- newly allocated map with the same count and contents as
m
.
EAPI void evas_map_free | ( | Evas_Map * | m | ) |
Free a previously allocated map.
This frees a givem map m
and all memory associated with it. You must NOT free a map returned by evas_object_map_get() as this is internal.
- Parameters:
-
m map to free.
EAPI Evas_Map* evas_map_new | ( | int | count | ) |
Create map of transformation points to be later used with an evas object.
This creates a set of points (currently only 4 is supported. no other number for count
will work). That is empty and ready to be modified with evas_map calls.
- Parameters:
-
count number of points in the map. *
- Returns:
- a newly allocated map or NULL on errors.
EAPI void evas_map_point_color_get | ( | const Evas_Map * | m, | |
int | idx, | |||
int * | r, | |||
int * | g, | |||
int * | b, | |||
int * | a | |||
) |
Get the color set on a vertex in the map.
This gets the color set by evas_map_point_color_set() on the given vertex of the map.
- Parameters:
-
m map to get the color of the vertex from. idx index of point get. Must be smaller than map size. r pointer to red return g pointer to green return b pointer to blue return a pointer to alpha return (0 - 255)
EAPI void evas_map_point_color_set | ( | Evas_Map * | m, | |
int | idx, | |||
int | r, | |||
int | g, | |||
int | b, | |||
int | a | |||
) |
Set the color of a vertex in the map.
This sets the color of the vertex in the map. Colors will be linearly interpolated between vertex points through the map. Color will multiply the "texture" pixels (like GL_MODULATE in OpenGL). The default color of a vertex in a map is white solid (255, 255, 255, 255) which means it will have no affect on modifying the texture pixels.
- Parameters:
-
m map to change the color of. idx index of point to change. Must be smaller than map size. r red (0 - 255) g green (0 - 255) b blue (0 - 255) a alpha (0 - 255)
EAPI void evas_map_point_coord_get | ( | const Evas_Map * | m, | |
int | idx, | |||
Evas_Coord * | x, | |||
Evas_Coord * | y, | |||
Evas_Coord * | z | |||
) |
Get the map point's coordinate.
This returns the coordinates of the given point in the map.
- Parameters:
-
m map to query point. idx index of point to query. Must be smaller than map size. x where to return the X coordinate. y where to return the Y coordinate. z where to return the Z coordinate.
EAPI void evas_map_point_coord_set | ( | Evas_Map * | m, | |
int | idx, | |||
Evas_Coord | x, | |||
Evas_Coord | y, | |||
Evas_Coord | z | |||
) |
Change the map point's coordinate.
This sets the fixen point's coordinate in the map. Note that points describe the outline of a quadrangle and are ordered either clockwise or anit-clock-wise. It is suggested to keep your quadrangles concave and non-complex, though these polygon modes may work, they may not render a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2, 2 and 3, and 3 and 0 to describe the edges of the quandrangle.
The X and Y and Z coordinates are in canvas units. Z is optional and may or may not be honored in drawing. Z is a hint and does not affect the X and Y rendered coordinates. It may be used for calculating fills with perspective correct rendering.
Remember all coordinates are canvas global ones like with move and reize in evas.
- Parameters:
-
m map to change point. Must not be NULL
.idx index of point to change. Must be smaller than map size. x Point X Coordinate y Point Y Coordinate z Point Z Coordinate hint (pre-perspective transform)
EAPI void evas_map_point_image_uv_get | ( | const Evas_Map * | m, | |
int | idx, | |||
double * | u, | |||
double * | v | |||
) |
Get the map point's U and V texture source points.
This returns the texture points set by evas_map_point_image_uv_set().
- Parameters:
-
m map to query point. idx index of point to query. Must be smaller than map size. u where to write the X coordinate within the image/texture source v where to write the Y coordinate within the image/texture source
EAPI void evas_map_point_image_uv_set | ( | Evas_Map * | m, | |
int | idx, | |||
double | u, | |||
double | v | |||
) |
Change the map point's U and V texture source point.
This sets the U and V coordinates for the point. This determines which coordinate in the source image is mapped to the given point, much like OpenGL and textures. Notes that these points do select the pixel, but are double floating point values to allow for accuracy and sub-pixel selection.
- Parameters:
-
m map to change the point of. idx index of point to change. Must be smaller than map size. u the X coordinate within the image/texture source v the Y coordinate within the image/texture source
EAPI Eina_Bool evas_map_smooth_get | ( | const Evas_Map * | m | ) |
get the smoothing for map rendering
This gets smoothing for map rendering.
- Parameters:
-
m map to get the smooth from. Must not be NULL.
EAPI void evas_map_smooth_set | ( | Evas_Map * | m, | |
Eina_Bool | enabled | |||
) |
Set the smoothing for map rendering.
This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
- Parameters:
-
m map to modify. Must not be NULL. enabled enable or disable smooth map rendering
EAPI void evas_map_util_3d_lighting | ( | Evas_Map * | m, | |
Evas_Coord | lx, | |||
Evas_Coord | ly, | |||
Evas_Coord | lz, | |||
int | lr, | |||
int | lg, | |||
int | lb, | |||
int | ar, | |||
int | ab, | |||
int | ag | |||
) |
Perform lighting calculations on the given Map.
This is used to apply lighting calculations (from a single light source) to a given map. The R, G and B values of each vertex will be modified to reflect the lighting based on the lixth point coordinates, the light color and the ambient color, and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.
- Parameters:
-
m map to change. lx X coordinate in space of light point ly Y coordinate in space of light point lz Z coordinate in space of light point lr light red value (0 - 255) lg light green value (0 - 255) lb light blue value (0 - 255) lr ambient color red value (0 - 255) lg ambient color green value (0 - 255) lb ambient color blue value (0 - 255)
EAPI void evas_map_util_3d_perspective | ( | Evas_Map * | m, | |
Evas_Coord | px, | |||
Evas_Coord | py, | |||
Evas_Coord | z0, | |||
Evas_Coord | foc | |||
) |
Apply a perspective transform to the map.
This applies a given perspective (3D) to the map coordinates. X, Y and Z values are used. The px and py points specify the "infinite distance" point in the 3D conversion (where all lines converge to like when artists draw 3D by hand). The z0
value specifis the z value at which there is a 1:1 mapping between spatial coorinates and screen coordinates. Any points on this z value will not have their X and Y values modified in the transform. Those further away (Z value higher) will shrink into the distance, and those less than this value will expand and become bigger. The foc
value determines the "focal length" of the camera. This is in reality the distance between the camera lens plane itself (at or closer than this rendering results are undefined) and the "z0" z value. This allows for some "depth" control and foc
must be greater than 0.
- Parameters:
-
m map to change. px The pespective distance X coordinate py The pespective distance Y coordinate z0 The "0" z plane value foc The focal distance
EAPI void evas_map_util_3d_rotate | ( | Evas_Map * | m, | |
double | dx, | |||
double | dy, | |||
double | dz, | |||
Evas_Coord | cx, | |||
Evas_Coord | cy, | |||
Evas_Coord | cz | |||
) |
Rotate the map around 3 axes in 3D.
This will rotate not just around the "Z" axis as in evas_map_util_rotate() (which is a convenience call for those only wanting 2D). This will rotate around the X, Y and Z axes. The Z axis points "into" the screen with low values at the screen and higher values further away. The X axis runs from left to right on the screen and the Y axis from top to bottom. Like with evas_map_util_rotate(0 you provide a center point to rotate around (in 3D).
- Parameters:
-
m map to change. dx amount of degrees from 0.0 to 360.0 to rotate arount X axis. dy amount of degrees from 0.0 to 360.0 to rotate arount Y axis. dz amount of degrees from 0.0 to 360.0 to rotate arount Z axis. cx rotation's center horizontal positon. cy rotation's center vertical positon. cz rotation's center vertical positon.
EAPI Eina_Bool evas_map_util_clockwise_get | ( | Evas_Map * | m | ) |
Get the clockwise state of a map.
This determines if the output points (X and Y. Z is not used) are clockwise or anti-clockwise. This can be used for "back-face culling". This is where you hide objects that "face away" from you. In this case objects that are not clockwise.
- Parameters:
-
m map to query.
- Returns:
- 1 if clockwise, 0 otherwise
EAPI void evas_map_util_points_color_set | ( | Evas_Map * | m, | |
int | r, | |||
int | g, | |||
int | b, | |||
int | a | |||
) |
Set color of all points to given color.
This call is useful to reuse maps after they had 3d lightning or any other colorization applied before.
- Parameters:
-
m map to change the color of. r red (0 - 255) g green (0 - 255) b blue (0 - 255) a alpha (0 - 255)
- See also:
- evas_map_point_color_set()
EAPI void evas_map_util_points_populate_from_geometry | ( | Evas_Map * | m, | |
Evas_Coord | x, | |||
Evas_Coord | y, | |||
Evas_Coord | w, | |||
Evas_Coord | h, | |||
Evas_Coord | z | |||
) |
Populate source and destination map points to match given geometry.
Similar to evas_map_util_points_populate_from_object_full(), this call takes raw values instead of querying object's unmapped geometry. The given width will be used to calculate destination points (evas_map_point_coord_set()) and set the image uv (evas_map_point_image_uv_set()).
- Parameters:
-
m map to change all 4 points (must be of size 4). x Point X Coordinate y Point Y Coordinate w width to use to calculate second and third points. h height to use to calculate third and fourth points. z Point Z Coordinate hint (pre-perspective transform). This value will be used for all four points.
EAPI void evas_map_util_points_populate_from_object | ( | Evas_Map * | m, | |
const Evas_Object * | obj | |||
) |
Populate source and destination map points to match exactly object.
Usually one initialize map of an object to match it's original position and size, then transform these with evas_map_util_* functions, such as evas_map_util_rotate() or evas_map_util_3d_rotate(). The original set is done by this function, avoiding code duplication all around.
Z Point coordinate is assumed as 0 (zero).
- Parameters:
-
m map to change all 4 points (must be of size 4). obj object to use unmapped geometry to populate map coordinates.
EAPI void evas_map_util_points_populate_from_object_full | ( | Evas_Map * | m, | |
const Evas_Object * | obj, | |||
Evas_Coord | z | |||
) |
Populate source and destination map points to match exactly object.
Usually one initialize map of an object to match it's original position and size, then transform these with evas_map_util_* functions, such as evas_map_util_rotate() or evas_map_util_3d_rotate(). The original set is done by this function, avoiding code duplication all around.
- Parameters:
-
m map to change all 4 points (must be of size 4). obj object to use unmapped geometry to populate map coordinates. z Point Z Coordinate hint (pre-perspective transform). This value will be used for all four points.
EAPI void evas_map_util_rotate | ( | Evas_Map * | m, | |
double | degrees, | |||
Evas_Coord | cx, | |||
Evas_Coord | cy | |||
) |
Change the map to apply the given rotation.
This rotates the indicated map's coordinates around the center coordinate given by cx
and cy
as the rotation center. The points will have their X and Y coordinates rotated clockwise by degrees
degress (360.0 is a full rotation). Negative values for degrees will rotate counter-clockwise by that amount. All coordinates are canvas global coordinates.
- Parameters:
-
m map to change. degrees amount of degrees from 0.0 to 360.0 to rotate. cx rotation's center horizontal positon. cy rotation's center vertical positon.
EAPI void evas_map_util_zoom | ( | Evas_Map * | m, | |
double | zoomx, | |||
double | zoomy, | |||
Evas_Coord | cx, | |||
Evas_Coord | cy | |||
) |
Change the map to apply the given zooming.
Like evas_map_util_rotate(), this zooms the points of the map from a center point. That center is defined by cx
and cy
. The zoomx
and zoomy
parameters specific how much to zoom in the X and Y direction respectively. A value of 1.0 means "don't zoom". 2.0 means "dobule the size". 0.5 is "half the size" etc. All coordinates are canvas global coordinates.
- Parameters:
-
m map to change. zoomx horizontal zoom to use. zoomy vertical zoom to use. cx zooming center horizontal positon. cy zooming center vertical positon.
EAPI void evas_norender | ( | Evas * | e | ) |
Update the canvas internal objects but not triggering immediate renderization.
- Parameters:
-
e The given canvas pointer.
This function updates the canvas internal objects not triggering renderization. To force renderization function evas_render() should be used.
- See also:
- evas_render.
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 Eina_Bool evas_object_map_enable_get | ( | const Evas_Object * | obj | ) |
Get the map enabled state.
This returns the currently enabled state of the map on the object indicated. The default map enable state is off. You can enable and disable it with evas_object_map_enable_set().
- Parameters:
-
obj object to get the map enabled state from
- Returns:
- the map enabled state
EAPI void evas_object_map_enable_set | ( | Evas_Object * | obj, | |
Eina_Bool | enabled | |||
) |
Enable or disable the map that is set.
This enables the map that is set or disables it. On enable, the object geometry will be saved, and the new geometry will change (position and size) to reflect the map geometry set. If none is set yet, this may be an undefined geometry, unless you have already set the map with evas_object_map_set(). It is suggested you first set a map with evas_object_map_set() with valid useful coordinatesm then enable and disable the map with evas_object_map_enable_set() as needed.
- Parameters:
-
obj object to enable the map on enbled enabled state
EAPI const Evas_Map* evas_object_map_get | ( | const Evas_Object * | obj | ) |
Get current object transformation map.
This returns the current internal map set on the indicated object. It is intended for read-only acces and is only valid as long as the object is not deleted or the map on the object is not changed. If you wish to modify the map and set it back do the following:
const Evas_Map *m = evas_object_map_get(obj); Evas_Map *m2 = evas_map_dup(m); evas_map_util_rotate(m2, 30.0, 0, 0); evas_object_map_set(obj); evas_map_free(m2);
- Parameters:
-
obj object to query transformation map.
- Returns:
- map reference to map in use. This is an internal data structure, so do not modify it.
- See also:
- evas_object_map_set()
EAPI void evas_object_map_set | ( | Evas_Object * | obj, | |
const Evas_Map * | map | |||
) |
Set current object transformation map.
This sets the map on a given object. It is copied from the map
pointer, so there is no need to keep the map
object if you don't need it anymore.
A map is a set of 4 points which have canvas x, y coordinates per point, with an optional z point value as a hint for perspective correction, if it is available. As well each point has u and v coordinates. These are like "texture coordinates" in OpenGL in that they define a point in the source image that is mapped to that map vertex/point. The u corresponds to the x coordinate of this mapped point and v, the y coordinate. Note that these coordinates describe a bounding region to sample. If you have a 200x100 source image and wannt to display it at 200x100 with proper pixel precision, then do:
Evas_Map *m = evas_map_new(4); evas_map_point_coord_set(m, 0, 0, 0, 0); evas_map_point_coord_set(m, 1, 200, 0, 0); evas_map_point_coord_set(m, 2, 200, 100, 0); evas_map_point_coord_set(m, 3, 0, 100, 0); evas_map_point_image_uv_set(m, 0, 0, 0); evas_map_point_image_uv_set(m, 1, 200, 0); evas_map_point_image_uv_set(m, 2, 200, 100); evas_map_point_image_uv_set(m, 3, 0, 100); evas_object_map_set(obj, m); evas_map_free(m);
Note that the map points a uv coordinates match the image geometry. If the map
parameter is NULL, the sotred map will be freed and geometry prior to enabling/setting a map will be restored.
- Parameters:
-
obj object to change transformation map map new map to use
- See also:
- evas_map_new()
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 | ) |
Remove all obscured region rectangles from the canvas.
- Parameters:
-
e The given canvas pointer.
This function removes all the rectangles from the obscured list of the canvas. It takes obscured areas added with evas_obscured_rectangle_add() and makes it a region that have to be repainted.
EAPI void evas_obscured_rectangle_add | ( | Evas * | e, | |
int | x, | |||
int | y, | |||
int | w, | |||
int | h | |||
) |
Add an obscured region.
- Parameters:
-
e The given canvas pointer. x The rectangle's left position. y The rectangle's top position w The rectangle's width. h The rectangle's height.
This is the function by which one tells evas that a part of the canvas has not to be repainted. To make this region one that have to be repainted, call the function evas_obscured_clear().
- See also:
- evas_obscured_clear().
EAPI void evas_render | ( | Evas * | e | ) |
Force renderization of a region.
- Parameters:
-
e The given canvas pointer.
This function forces renderization of the region given.
EAPI void evas_render_idle_flush | ( | Evas * | e | ) |
Make the canvas discard internally cached data used for renderization.
- Parameters:
-
e The given canvas pointer.
This function flushes the arrays of delete, active and render objects.
EAPI Eina_List* evas_render_updates | ( | Evas * | e | ) |
Force immediate renderization of the given canvas.
- Parameters:
-
e The given canvas pointer.
- Returns:
- A list of updated rectangles of the canvas.
This function forces an immediate renderization update of the given given canvas.
EAPI void evas_render_updates_free | ( | Eina_List * | updates | ) |
Free the rectangles returned by evas_render_updates().
- Parameters:
-
updates The list of updated rectangles of the canvas.
This function removes the region from the render updates list. It makes the region doesn't be render updated anymore.
EAPI int evas_shutdown | ( | void | ) |
Shutdown Evas.
- Returns:
- The init counter value.
This function finalize evas, decrements the counter of the number of calls to the function evas_init() and returns this value.
- See also:
- evas_init().
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.