enesim  0.0.23.1
Drawinglibrary
Functions
Figure
Shapes

A figure composed of polygons renderer inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_figure_new (void)
EAPI void enesim_renderer_figure_inner_figure_set (Enesim_Renderer *r, Enesim_Figure *figure)
EAPI Enesim_Figureenesim_renderer_figure_inner_figure_get (Enesim_Renderer *r)

Detailed Description

A figure composed of polygons renderer inherits from \1.


Function Documentation

Creates a background renderer

Returns:
The new renderer

Set the figure of a figure renderer

Parameters:
[in]rThe figure renderer
[in]figureThe figure to set [Transfer full]

Get the figure of a figure renderer

Parameters:
[in]rThe figure renderer
Returns:
The figure of the figure renderer [Transfer none]
Note:
It is always faster to get the figure of a figure renderer and add commands there than create a new figure using enesim_figure_new, set the commands and finally call enesim_renderer_figure_inner_figure_set
 All Data Structures Variables