enesim  0.0.23.1
Drawinglibrary
Functions
Linear
Gradient

Linear gradient inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_gradient_linear_new (void)
 Create a new linear gradient renderer.
EAPI void enesim_renderer_gradient_linear_x0_set (Enesim_Renderer *r, double x0)
 Set the initial X coordinate of a linear gradient renderer. .
EAPI double enesim_renderer_gradient_linear_x0_get (Enesim_Renderer *r)
 Retrieve the initial X coordinate of a linear gradient renderer. .
EAPI void enesim_renderer_gradient_linear_y0_set (Enesim_Renderer *r, double y0)
 Set the initial Y coordinate of a linear gradient renderer. .
EAPI double enesim_renderer_gradient_linear_y0_get (Enesim_Renderer *r)
 Retrieve the initial Y coordinate of a linear gradient renderer. .
EAPI void enesim_renderer_gradient_linear_x1_set (Enesim_Renderer *r, double x1)
 Set the final X coordinate of a linear gradient renderer. .
EAPI double enesim_renderer_gradient_linear_x1_get (Enesim_Renderer *r)
 Retrieve the final X coordinate of a linear gradient renderer. .
EAPI void enesim_renderer_gradient_linear_y1_set (Enesim_Renderer *r, double y1)
 Set the final Y coordinate of a linear gradient renderer. .
EAPI double enesim_renderer_gradient_linear_y1_get (Enesim_Renderer *r)
 Retrieve the final Y coordinate of a linear gradient renderer. .
EAPI void enesim_renderer_gradient_linear_position_set (Enesim_Renderer *r, double x0, double y0, double x1, double y1)
 Set the position of the linear gradient renderer.
EAPI void enesim_renderer_gradient_linear_position_get (Enesim_Renderer *r, double *x0, double *y0, double *x1, double *y1)
 Retrieve the position of the linear gradient renderer.

Detailed Description

Linear gradient inherits from \1.


Function Documentation

Create a new linear gradient renderer.

Returns:
A new linear gradient renderer.

This function returns a newly allocated linear gradient renderer.

EAPI void enesim_renderer_gradient_linear_x0_set ( Enesim_Renderer r,
double  x0 
)

Set the initial X coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
[in]x0The initial X coordinate

This function sets the initial X coordinate of a the linear gradient renderer r to the value x0.

Retrieve the initial X coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
Returns:
The initial X coordinate

This function gets the initial X coordinate of a the linear gradient renderer r.

EAPI void enesim_renderer_gradient_linear_y0_set ( Enesim_Renderer r,
double  y0 
)

Set the initial Y coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
[in]y0The initial Y coordinate

This function sets the initial Y coordinate of a the linear gradient renderer r to the value y0.

Retrieve the initial Y coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
Returns:
The initial Y coordinate

This function gets the initial Y coordinate of a the linear gradient renderer r.

EAPI void enesim_renderer_gradient_linear_x1_set ( Enesim_Renderer r,
double  x1 
)

Set the final X coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
[in]x1The final X coordinate

This function sets the final X coordinate of a the linear gradient renderer r to the value x1.

Retrieve the final X coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
Returns:
The final X coordinate

This function gets the final X coordinate of a the linear gradient renderer r.

EAPI void enesim_renderer_gradient_linear_y1_set ( Enesim_Renderer r,
double  y1 
)

Set the final Y coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
[in]y1The final Y coordinate

This function sets the final Y coordinate of a the linear gradient renderer r to the value y1.

Retrieve the final Y coordinate of a linear gradient renderer. .

Parameters:
[in]rThe linear gradient renderer.
Returns:
The final Y coordinate

This function gets the final Y coordinate of a the linear gradient renderer r.

EAPI void enesim_renderer_gradient_linear_position_set ( Enesim_Renderer r,
double  x0,
double  y0,
double  x1,
double  y1 
)

Set the position of the linear gradient renderer.

Parameters:
[in]rThe linear gradient renderer.
[in]x0The initial X coordinate
[in]y0The initial Y coordinate
[in]x1The final X coordinate
[in]y1The final Y coordinate

This function sets the position of the linear gradient renderer r with the values x0, y0, x1, y1.

EAPI void enesim_renderer_gradient_linear_position_get ( Enesim_Renderer r,
double *  x0,
double *  y0,
double *  x1,
double *  y1 
)

Retrieve the position of the linear gradient renderer.

Parameters:
[in]rThe linear gradient renderer.
[out]x0The initial X coordinate
[out]y0The initial Y coordinate
[out]x1The final X coordinate
[out]y1The final Y coordinate

This function gets the position of the linear gradient renderer r in the pointers x0, y0, x1, y1.

 All Data Structures Variables