enesim  0.0.23.1
Drawinglibrary
Functions
Transition
Renderer

Rederer that blends two renderers inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_transition_new (void)
EAPI void enesim_renderer_transition_level_set (Enesim_Renderer *r, double level)
EAPI double enesim_renderer_transition_level_get (Enesim_Renderer *r)
EAPI void enesim_renderer_transition_source_set (Enesim_Renderer *r, Enesim_Renderer *r0)
EAPI Enesim_Rendererenesim_renderer_transition_source_get (Enesim_Renderer *r)
EAPI void enesim_renderer_transition_target_set (Enesim_Renderer *r, Enesim_Renderer *r1)
EAPI Enesim_Rendererenesim_renderer_transition_target_get (Enesim_Renderer *r)

Detailed Description

Rederer that blends two renderers inherits from \1.


Function Documentation

Creates a transition renderer

Returns:
The new renderer
EAPI void enesim_renderer_transition_level_set ( Enesim_Renderer r,
double  level 
)

Sets the transition level

Parameters:
[in]rThe transition renderer
[in]levelThe transition level. A value of 0 will render the source renderer, a value of 1 will render the target renderer and any other value will inteprolate between both renderers

Gets the transition level

Parameters:
[in]rThe transition renderer
Returns:
The level

Sets the source renderer

Parameters:
[in]rThe transition renderer
[in]r0The source renderer

Gets the source renderer

Parameters:
[in]rThe transition renderer
Returns:
The source renderer

Sets the target renderer

Parameters:
[in]rThe transition renderer
[in]r1The target renderer

Gets the target renderer

Parameters:
[in]rThe transition renderer
Returns:
The target renderer
 All Data Structures Variables