enesim  0.0.23.1
Drawinglibrary
Typedefs | Functions
Compound Layer
Compound

Compound layer inherits from \1. More...

Typedefs

typedef struct
_Enesim_Renderer_Compound_Layer 
Enesim_Renderer_Compound_Layer
typedef Eina_Bool(* Enesim_Renderer_Compund_Foreach_Layer )(Enesim_Renderer *r, Enesim_Renderer_Compound_Layer *layer, void *data)

Functions

EAPI
Enesim_Renderer_Compound_Layer
enesim_renderer_compound_layer_new (void)
 Creates a compound renderer layer.
EAPI void enesim_renderer_compound_layer_renderer_set (Enesim_Renderer_Compound_Layer *l, Enesim_Renderer *r)
 Sets the renderer of a layer .
EAPI Enesim_Rendererenesim_renderer_compound_layer_renderer_get (Enesim_Renderer_Compound_Layer *l)
 Gets the renderer of a layer .
EAPI void enesim_renderer_compound_layer_rop_set (Enesim_Renderer_Compound_Layer *l, Enesim_Rop rop)
 Sets the raster operation of a layer .
EAPI
Enesim_Renderer_Compound_Layer
enesim_renderer_compound_layer_ref (Enesim_Renderer_Compound_Layer *l)
 Increase the reference counter of a layer.
EAPI void enesim_renderer_compound_layer_unref (Enesim_Renderer_Compound_Layer *l)
 Decrease the reference counter of a layer.

Detailed Description

Compound layer inherits from \1.


Typedef Documentation

typedef struct _Enesim_Renderer_Compound_Layer Enesim_Renderer_Compound_Layer

Compound Layer handle

Parameters:
rThe compound renderer to get the layers from
layerThe layer found on this iteration
dataThe user provided data

Function Documentation

Creates a compound renderer layer.

Todo:
  • Handle the case whenever the renderer supports the ROP itself
  • Another way to optmize this is to make the setup() function of every layer thread safe, that way given that each layer does not depend on the other the setup can be done on parallel
Returns:
The new layer

Sets the renderer of a layer .

Parameters:
[in]lThe layer to set the renderer on
[in]rThe renderer to set on the layer [Transfer full]

Gets the renderer of a layer .

Parameters:
[in]lThe layer to get the renderer from
Returns:
The renderer of the layer [Transfer none]

Sets the raster operation of a layer .

Parameters:
[in]lThe layer to set the raster operation on
[in]ropThe raster operation to set on the layer

Increase the reference counter of a layer.

Parameters:
[in]lThe layer
Returns:
The input parameter l for programming convenience

Decrease the reference counter of a layer.

Parameters:
[in]lThe layer
 All Data Structures Variables