enesim  0.0.23.1
Drawinglibrary
Functions
Grid
Renderer

Grid pattern renderer inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_grid_new (void)
EAPI void enesim_renderer_grid_inside_width_set (Enesim_Renderer *r, unsigned int width)
EAPI unsigned int enesim_renderer_grid_inside_width_get (Enesim_Renderer *r)
EAPI void enesim_renderer_grid_inside_height_set (Enesim_Renderer *r, unsigned int height)
EAPI unsigned int enesim_renderer_grid_inside_height_get (Enesim_Renderer *r)
EAPI void enesim_renderer_grid_inside_color_set (Enesim_Renderer *r, Enesim_Color color)
EAPI Enesim_Color enesim_renderer_grid_inside_color_get (Enesim_Renderer *r)
EAPI void enesim_renderer_grid_border_hthickness_set (Enesim_Renderer *r, unsigned int hthickness)
EAPI unsigned int enesim_renderer_grid_border_hthickness_get (Enesim_Renderer *r)
EAPI void enesim_renderer_grid_border_vthickness_set (Enesim_Renderer *r, unsigned int vthickness)
EAPI unsigned int enesim_renderer_grid_border_vthickness_get (Enesim_Renderer *r)
EAPI void enesim_renderer_grid_border_color_set (Enesim_Renderer *r, Enesim_Color color)
EAPI Enesim_Color enesim_renderer_grid_border_color_get (Enesim_Renderer *r)

Detailed Description

Grid pattern renderer inherits from \1.


Function Documentation

Creates a new grid renderer

A grid renderer is composed of an inside box and an outside stroke. Both, the inside and outside elements can be configurable through the color, width and height.

Returns:
The renderer
EAPI void enesim_renderer_grid_inside_width_set ( Enesim_Renderer r,
unsigned int  width 
)

Sets the width of the inner box of a grid renderer

Parameters:
[in]rThe grid renderer
[in]widthThe width

Gets the width of the inner box of a grid renderer

Parameters:
[in]rThe grid renderer
Returns:
The width
EAPI void enesim_renderer_grid_inside_height_set ( Enesim_Renderer r,
unsigned int  height 
)

Sets the height of the inner box of a grid renderer

Parameters:
[in]rThe grid renderer
[in]heightThe height

Gets the height of the inner box of a grid renderer

Parameters:
[in]rThe grid renderer
Returns:
The height

Sers the color of the inner box of a grid renderer

Parameters:
[in]rThe grid renderer
[in]colorThe color

Gets the color of the inner box of a grid renderer

Parameters:
[in]rThe grid renderer
Returns:
The color
EAPI void enesim_renderer_grid_border_hthickness_set ( Enesim_Renderer r,
unsigned int  hthickness 
)

Sets the horizontal thickness of the border of a grid renderer

Parameters:
[in]rThe grid renderer
[in]hthicknessThe horizontal thickness

Gets the horizontal thickness of the border of a grid renderer

Parameters:
[in]rThe grid renderer
Returns:
The horizontal thickness
EAPI void enesim_renderer_grid_border_vthickness_set ( Enesim_Renderer r,
unsigned int  vthickness 
)

Sets the vertical thickness of the border of a grid renderer

Parameters:
[in]rThe grid renderer
[in]vthicknessThe vertical thickness

Gets the vertical thickness of the border of a grid renderer

Parameters:
[in]rThe grid renderer
Returns:
The vertical thickness

Sets the color of the border of a grid renderer

Parameters:
[in]rThe grid renderer
[in]colorThe color

Gets the color of the border of a grid renderer

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