enesim  0.0.23.1
Drawinglibrary
Functions
Ellipse
Shapes

Ellipse renderer inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_ellipse_new (void)
 Create a new ellipse renderer.
EAPI void enesim_renderer_ellipse_x_set (Enesim_Renderer *r, double x)
 Set the X coordinate of the center of a ellipse renderer. .
EAPI double enesim_renderer_ellipse_x_get (Enesim_Renderer *r)
 Get the X coordinate of the center of a ellipse renderer. .
EAPI void enesim_renderer_ellipse_y_set (Enesim_Renderer *r, double y)
 Set the Y coordinate of the center of a ellipse renderer. .
EAPI double enesim_renderer_ellipse_y_get (Enesim_Renderer *r)
 Get the Y coordinate of the center of a ellipse renderer. .
EAPI void enesim_renderer_ellipse_radius_x_set (Enesim_Renderer *r, double rad)
 Set the radius along the X axis of a ellipse renderer. .
EAPI double enesim_renderer_ellipse_radius_x_get (Enesim_Renderer *r)
 Get the radius along the X axis of a ellipse renderer. .
EAPI void enesim_renderer_ellipse_radius_y_set (Enesim_Renderer *r, double rad)
 Set the radius along the Y axis of a ellipse renderer. .
EAPI double enesim_renderer_ellipse_radius_y_get (Enesim_Renderer *r)
 Get the radius along the Y axis of a ellipse renderer. .
EAPI void enesim_renderer_ellipse_center_set (Enesim_Renderer *r, double x, double y)
 Set the coordinates of the center of a ellipse renderer.
EAPI void enesim_renderer_ellipse_center_get (Enesim_Renderer *r, double *x, double *y)
 Retrieve the coordinates of the center of a ellipse renderer.
EAPI void enesim_renderer_ellipse_radii_set (Enesim_Renderer *r, double radius_x, double radius_y)
 Set the radii of a ellipse renderer.
EAPI void enesim_renderer_ellipse_radii_get (Enesim_Renderer *r, double *radius_x, double *radius_y)
 Retrieve the radii of a ellipse renderer.

Detailed Description

Ellipse renderer inherits from \1.


Function Documentation

Create a new ellipse renderer.

Returns:
A new ellipse renderer.

This function returns a newly allocated ellipse renderer.

EAPI void enesim_renderer_ellipse_x_set ( Enesim_Renderer r,
double  x 
)

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

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

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

Get the X coordinate of the center of a ellipse renderer. .

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

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

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

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

Get the Y coordinate of the center of a ellipse renderer. .

Parameters:
[in]rThe ellipse renderer.
Returns:
The Y coordinate.
EAPI void enesim_renderer_ellipse_radius_x_set ( Enesim_Renderer r,
double  rx 
)

Set the radius along the X axis of a ellipse renderer. .

Parameters:
[in]rThe ellipse renderer.
[in]rxThe radius along the X axis.

This function sets the radius along the X axis of the ellipse renderer r to the value rx.

Get the radius along the X axis of a ellipse renderer. .

Parameters:
[in]rThe ellipse renderer.
Returns:
The radius along the X axis.
EAPI void enesim_renderer_ellipse_radius_y_set ( Enesim_Renderer r,
double  ry 
)

Set the radius along the Y axis of a ellipse renderer. .

Parameters:
[in]rThe ellipse renderer.
[in]ryThe radius along the Y axis.

This function sets the radius along the Y axis of the ellipse renderer r to the value ry.

Get the radius along the Y axis of a ellipse renderer. .

Parameters:
[in]rThe ellipse renderer.
Returns:
The radius along the Y axis.
EAPI void enesim_renderer_ellipse_center_set ( Enesim_Renderer r,
double  x,
double  y 
)

Set the coordinates of the center of a ellipse renderer.

Parameters:
[in]rThe ellipse 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 ellipse renderer r to the values x and y.

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

Retrieve the coordinates of the center of a ellipse renderer.

Parameters:
[in]rThe ellipse 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 ellipse renderer r in the pointers x and y. These pointers can be NULL.

EAPI void enesim_renderer_ellipse_radii_set ( Enesim_Renderer r,
double  radius_x,
double  radius_y 
)

Set the radii of a ellipse renderer.

Parameters:
[in]rThe ellipse renderer.
[in]radius_xThe radius along the X axis.
[in]radius_yThe radius along the Y axis.

This function sets the radii of the ellipse renderer r to the values radius_x along the X axis and radius_y along the Y axis.

EAPI void enesim_renderer_ellipse_radii_get ( Enesim_Renderer r,
double *  radius_x,
double *  radius_y 
)

Retrieve the radii of a ellipse renderer.

Parameters:
[in]rThe ellipse renderer.
[out]radius_xThe radius along the X axis.
[out]radius_yThe radius along the Y axis.

This function stores the radiis of the ellipse renderer r in the pointers radius_x for the radius along the X axis and radius_y for the radius along the Y axis. These pointers can be NULL.

 All Data Structures Variables