enesim  0.0.23.1
Drawinglibrary
Functions
Radial
Gradient

Radial gradient inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_gradient_radial_new (void)
EAPI void enesim_renderer_gradient_radial_center_x_set (Enesim_Renderer *r, double center_x)
EAPI double enesim_renderer_gradient_radial_center_x_get (Enesim_Renderer *r)
EAPI void enesim_renderer_gradient_radial_center_y_set (Enesim_Renderer *r, double center_y)
EAPI double enesim_renderer_gradient_radial_center_y_get (Enesim_Renderer *r)
EAPI void enesim_renderer_gradient_radial_center_set (Enesim_Renderer *r, double center_x, double center_y)
EAPI void enesim_renderer_gradient_radial_center_get (Enesim_Renderer *r, double *center_x, double *center_y)
EAPI void enesim_renderer_gradient_radial_focus_x_set (Enesim_Renderer *r, double focus_x)
EAPI double enesim_renderer_gradient_radial_focus_x_get (Enesim_Renderer *r)
EAPI void enesim_renderer_gradient_radial_focus_y_set (Enesim_Renderer *r, double focus_y)
EAPI double enesim_renderer_gradient_radial_focus_y_get (Enesim_Renderer *r)
EAPI void enesim_renderer_gradient_radial_focus_set (Enesim_Renderer *r, double focus_x, double focus_y)
EAPI void enesim_renderer_gradient_radial_focus_get (Enesim_Renderer *r, double *focus_x, double *focus_y)
EAPI void enesim_renderer_gradient_radial_radius_set (Enesim_Renderer *r, double radius)
 Set the radius of a radial gradient renderer. .
EAPI double enesim_renderer_gradient_radial_radius_get (Enesim_Renderer *r)
 Retrieve the radius of a radial gradient renderer. .

Detailed Description

Radial gradient inherits from \1.


Function Documentation

Creates radial gradient renderer

Returns:
The new renderer
EAPI void enesim_renderer_gradient_radial_center_x_set ( Enesim_Renderer r,
double  center_x 
)

Set the X coordinate center of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to set the center on
[in]center_xThe X coordinate of the center

Get the X coordinate center of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to get the center from
Returns:
The X coordinate of the center
EAPI void enesim_renderer_gradient_radial_center_y_set ( Enesim_Renderer r,
double  center_y 
)

Set the Y coordinate center of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to set the center on
[in]center_yThe Y coordinate of the center

Get the Y coordinate center of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to get the center from
Returns:
The Y coordinate of the center
EAPI void enesim_renderer_gradient_radial_center_set ( Enesim_Renderer r,
double  center_x,
double  center_y 
)

Set the center of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to set the center on
[in]center_xThe X coordinate of the center
[in]center_yThe Y coordinate of the center
EAPI void enesim_renderer_gradient_radial_center_get ( Enesim_Renderer r,
double *  center_x,
double *  center_y 
)

Get the center of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to get the center from
[out]center_xThe pointer to store the X coordinate center
[out]center_yThe pointer to store the Y coordinate center
EAPI void enesim_renderer_gradient_radial_focus_x_set ( Enesim_Renderer r,
double  focus_x 
)

Set the focus X coordinate of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to set the focus X coordinate on
[in]focus_xThe X coordinate of the focus

Get the focus X coordinate of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to get the X coordinate of the focus from
Returns:
The Y coordinate of the focus
EAPI void enesim_renderer_gradient_radial_focus_y_set ( Enesim_Renderer r,
double  focus_y 
)

Set the focus Y coordinate of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to set the focus Y coordinate on
[in]focus_yThe Y coordinate of the focus

Get the focus Y coordinate of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to get the Y coordinate of the focus from
Returns:
The Y coordinate of the focus
EAPI void enesim_renderer_gradient_radial_focus_set ( Enesim_Renderer r,
double  focus_x,
double  focus_y 
)

Set the focus position of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to set the focus position on
[in]focus_xThe X coordinate of the focus
[in]focus_yThe Y coordinate of the focus
EAPI void enesim_renderer_gradient_radial_focus_get ( Enesim_Renderer r,
double *  focus_x,
double *  focus_y 
)

Get the focus position of a radial gradient renderer

Parameters:
[in]rThe gradient renderer to get the center from
[out]focus_xThe pointer to store the X coordinate of the focus
[out]focus_yThe pointer to store the Y coordinate of the focus
EAPI void enesim_renderer_gradient_radial_radius_set ( Enesim_Renderer r,
double  radius 
)

Set the radius of a radial gradient renderer. .

Parameters:
[in]rThe radial gradient renderer.
[in]radiusThe radius.

This function sets the radius of the radial gradient renderer r to the value radius.

Retrieve the radius of a radial gradient renderer. .

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