enesim  0.0.23.1
Drawinglibrary
Functions
Circle
Shapes

Circle renderer inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_circle_new (void)
 Create a new circle renderer.
EAPI void enesim_renderer_circle_x_set (Enesim_Renderer *r, double x)
 Set the X coordinate of the center of a circle renderer. .
EAPI double enesim_renderer_circle_x_get (Enesim_Renderer *r)
 Gets the X coordinate of the center of a circle renderer. .
EAPI void enesim_renderer_circle_y_set (Enesim_Renderer *r, double y)
 Set the Y coordinate of the center of a circle renderer. .
EAPI double enesim_renderer_circle_y_get (Enesim_Renderer *r)
 Gets the Y coordinate of the center of a circle renderer. .
EAPI void enesim_renderer_circle_center_set (Enesim_Renderer *r, double x, double y)
 Set the coordinates of the center of a circle renderer.
EAPI void enesim_renderer_circle_center_get (Enesim_Renderer *r, double *x, double *y)
 Retrieve the coordinates of the center of a circle renderer.
EAPI void enesim_renderer_circle_radius_set (Enesim_Renderer *r, double radius)
 Set the radius of a circle renderer. .
EAPI double enesim_renderer_circle_radius_get (Enesim_Renderer *r)
 Retrieve the radius of a circle renderer. .

Detailed Description

Circle renderer inherits from \1.


Function Documentation

Create a new circle renderer.

Returns:
A new circle renderer.

This function returns a newly allocated circle renderer.

EAPI void enesim_renderer_circle_x_set ( Enesim_Renderer r,
double  x 
)

Set the X coordinate of the center of a circle renderer. .

Parameters:
[in]rThe circle renderer.
[in]xThe X coordinate.

This function sets the X coordinate of the center of the circle renderer r to the value x.

Gets the X coordinate of the center of a circle renderer. .

Parameters:
[in]rThe circle renderer.
Returns:
The X coordinate.
EAPI void enesim_renderer_circle_y_set ( Enesim_Renderer r,
double  y 
)

Set the Y coordinate of the center of a circle renderer. .

Parameters:
[in]rThe circle renderer.
[in]yThe Y coordinate.

This function sets the Y coordinate of the center of the circle renderer r to the value y.

Gets the Y coordinate of the center of a circle renderer. .

Parameters:
[in]rThe circle renderer.
Returns:
The Y coordinate.
EAPI void enesim_renderer_circle_center_set ( Enesim_Renderer r,
double  x,
double  y 
)

Set the coordinates of the center of a circle renderer.

Parameters:
[in]rThe circle renderer.
[in]xThe X coordinate of the center.
[in]yThe Y coordinate of the center.

This function sets the coordinates of the center of the circle renderer r to the values x and y.

EAPI void enesim_renderer_circle_center_get ( Enesim_Renderer r,
double *  x,
double *  y 
)

Retrieve the coordinates of the center of a circle renderer.

Parameters:
[in]rThe circle renderer.
[out]xThe X coordinate of the center.
[out]yThe Y coordinate of the center.

This function stores the coordinates value of the center of the circle renderer r in the pointers x and y. These pointers can be NULL.

EAPI void enesim_renderer_circle_radius_set ( Enesim_Renderer r,
double  radius 
)

Set the radius of a circle renderer. .

Parameters:
[in]rThe circle renderer.
[in]radiusThe radius.

This function sets the radius of the circle renderer r to the value radius.

Retrieve the radius of a circle renderer. .

Parameters:
[in]rThe circle renderer.
Returns:
The radius
 All Data Structures Variables