enesim  0.0.23.1
Drawinglibrary
Modules | Functions
Compound
Renderer

Renderer that contains other renderers inherits from \1. More...

Modules

 Compound Layer
 

Compound layer inherits from \1.


Functions

EAPI Enesim_Rendererenesim_renderer_compound_new (void)
 Creates a compound renderer.
EAPI void enesim_renderer_compound_layer_add (Enesim_Renderer *r, Enesim_Renderer_Compound_Layer *layer)
EAPI void enesim_renderer_compound_layer_prepend (Enesim_Renderer *r, Enesim_Renderer_Compound_Layer *layer)
EAPI void enesim_renderer_compound_layer_remove (Enesim_Renderer *r, Enesim_Renderer_Compound_Layer *layer)
 Removes a layer.
EAPI void enesim_renderer_compound_layer_clear (Enesim_Renderer *r)
 Clears up all the layers.
EAPI void enesim_renderer_compound_layer_foreach (Enesim_Renderer *r, Enesim_Renderer_Compund_Foreach_Layer cb, void *user_data)
 Iterates over all the layers of a compound renderer.
EAPI void enesim_renderer_compound_layer_reverse_foreach (Enesim_Renderer *r, Enesim_Renderer_Compund_Foreach_Layer cb, void *user_data)
 Iterates over all the layers of a compound renderer in reverse order.
EAPI void enesim_renderer_compound_background_enable_set (Enesim_Renderer *r, Eina_Bool enable)
 Enables or disables the background on the compound renderer .
EAPI Eina_Bool enesim_renderer_compound_background_enable_get (Enesim_Renderer *r)
 Gets the enable flag on the background .
EAPI void enesim_renderer_compound_background_color_set (Enesim_Renderer *r, Enesim_Color color)
 Sets the background color of the compound renderer .
EAPI Enesim_Color enesim_renderer_compound_background_color_get (Enesim_Renderer *r)
 Gets the background color of the compound renderer .

Detailed Description

Renderer that contains other renderers inherits from \1.


Function Documentation

Creates a compound renderer.

Returns:
The new renderer

Adds a layer

Parameters:
[in]rThe compound renderer
[in]layerThe layer to add [Transfer full]

Prepends a layer

Parameters:
[in]rThe compound renderer
[in]layerThe layer to prepend [Transfer full]

Removes a layer.

Parameters:
[in]rThe compound renderer
[in]layerThe layer to remove [Transfer full]

Clears up all the layers.

Parameters:
[in]rThe compound renderer

Iterates over all the layers of a compound renderer.

Parameters:
[in]rThe compound renderer
[in]cbThe function to call on every layer
[in]user_dataUser provided data

Iterates over all the layers of a compound renderer in reverse order.

Parameters:
[in]rThe compound renderer
[in]cbThe function to call on every layer
[in]user_dataUser provided data
EAPI void enesim_renderer_compound_background_enable_set ( Enesim_Renderer r,
Eina_Bool  enable 
)

Enables or disables the background on the compound renderer .

Parameters:
[in]rThe compound renderer
[in]enableEINA_TRUE to enable, EINA_FALSE to disable

Gets the enable flag on the background .

Parameters:
[in]rThe compound renderer
Returns:
EINA_TRUE if the background is enabled, EINA_FALSE otherwise

Sets the background color of the compound renderer .

Parameters:
[in]rThe compound renderer
[in]cThe color to set

Gets the background color of the compound renderer .

Parameters:
[in]rThe compound renderer
Returns:
The color
 All Data Structures Variables