enesim  0.0.23.1
Drawinglibrary
Functions
Pattern
Renderer

Renderer that repeats an area of another renderer to form a pattern inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_pattern_new (void)
EAPI void enesim_renderer_pattern_source_renderer_set (Enesim_Renderer *r, Enesim_Renderer *source)
 Sets the renderer to use as pattern source .
EAPI Enesim_Rendererenesim_renderer_pattern_source_renderer_get (Enesim_Renderer *r)
 Gets the renderer used as pattern source .
EAPI void enesim_surface_pattern_source_surface_set (Enesim_Renderer *r, Enesim_Surface *source)
EAPI Enesim_Surfaceenesim_renderer_pattern_source_surface_get (Enesim_Renderer *r)
 Gets the surface used as pattern source .
EAPI void enesim_renderer_pattern_repeat_mode_set (Enesim_Renderer *r, Enesim_Repeat_Mode mode)
 Sets the repeat mode of a pattern renderer .
EAPI Enesim_Repeat_Mode enesim_renderer_pattern_repeat_mode_get (Enesim_Renderer *r)
 Gets the repeat mode of a pattern renderer .

Detailed Description

Renderer that repeats an area of another renderer to form a pattern inherits from \1.


Function Documentation

Creates a pattern renderer

Returns:
The new renderer

Sets the renderer to use as pattern source .

Parameters:
[in]rThe pattern renderer
[in]srThe renderer to use [Transfer full]

Gets the renderer used as pattern source .

Parameters:
[in]rThe pattern renderer
Returns:
The renderer to pattern [Transfer none]

Gets the surface used as pattern source .

Parameters:
[in]rThe pattern renderer
Returns:
The surface to pattern [Transfer none]

Sets the repeat mode of a pattern renderer .

Parameters:
[in]rThe pattern renderer
[in]modeThe repeat mode

Gets the repeat mode of a pattern renderer .

Parameters:
[in]rThe pattern renderer
Returns:
mode The repeat mode
 All Data Structures Variables