enesim  0.0.23.1
Drawinglibrary
Functions
Rectangle
Shapes

Rectangle renderer inherits from \1. More...

Functions

EAPI Enesim_Rendererenesim_renderer_rectangle_new (void)
 Create a new rectangle renderer.
EAPI void enesim_renderer_rectangle_x_set (Enesim_Renderer *r, double x)
 Set the top left X coordinate of a rectangle renderer. .
EAPI double enesim_renderer_rectangle_x_get (Enesim_Renderer *r)
 Retrieve the top left X coordinate of a rectangle renderer. .
EAPI void enesim_renderer_rectangle_y_set (Enesim_Renderer *r, double y)
 Set the top left Y coordinate of a rectangle renderer. .
EAPI double enesim_renderer_rectangle_y_get (Enesim_Renderer *r)
 Retrieve the top left Y coordinate of a rectangle renderer. .
EAPI void enesim_renderer_rectangle_position_set (Enesim_Renderer *r, double x, double y)
 Set the top left coordinates of a rectangle renderer.
EAPI void enesim_renderer_rectangle_position_get (Enesim_Renderer *r, double *x, double *y)
 Retrieve the top left coordinates of a rectangle renderer.
EAPI void enesim_renderer_rectangle_width_set (Enesim_Renderer *p, double w)
 Set the width of a rectangle renderer. .
EAPI double enesim_renderer_rectangle_width_get (Enesim_Renderer *p)
 Retrieve the width of a rectangle renderer. .
EAPI void enesim_renderer_rectangle_height_set (Enesim_Renderer *p, double h)
 Set the height of a rectangle renderer. .
EAPI double enesim_renderer_rectangle_height_get (Enesim_Renderer *p)
 Retrieve the height of a rectangle renderer. .
EAPI void enesim_renderer_rectangle_size_set (Enesim_Renderer *p, double w, double h)
 Set the size of a rectangle renderer.
EAPI void enesim_renderer_rectangle_size_get (Enesim_Renderer *p, double *w, double *h)
 Retrieve the size of a rectangle renderer.
EAPI void enesim_renderer_rectangle_corner_radius_x_set (Enesim_Renderer *p, double rx)
EAPI double enesim_renderer_rectangle_corner_radius_x_get (Enesim_Renderer *p)
EAPI void enesim_renderer_rectangle_corner_radius_y_set (Enesim_Renderer *p, double ry)
EAPI double enesim_renderer_rectangle_corner_radius_y_get (Enesim_Renderer *p)
EAPI void enesim_renderer_rectangle_corner_radii_set (Enesim_Renderer *p, double rx, double ry)
 Set the radii of the corners of a rectangle renderer.
EAPI void enesim_renderer_rectangle_corner_radii_get (Enesim_Renderer *p, double *rx, double *ry)
EAPI void enesim_renderer_rectangle_corners_set (Enesim_Renderer *p, Eina_Bool tl, Eina_Bool tr, Eina_Bool bl, Eina_Bool br)
 Set whether the corners of a rectangle renderer are rounded.
EAPI void enesim_renderer_rectangle_corners_get (Enesim_Renderer *p, Eina_Bool *tl, Eina_Bool *tr, Eina_Bool *bl, Eina_Bool *br)
 Get whether the corners of a rectangle renderer are rounded.
EAPI void enesim_renderer_rectangle_top_left_corner_set (Enesim_Renderer *r, Eina_Bool rounded)
 Set whether the top left corner of a rectangle renderer is rounded.
EAPI Eina_Bool enesim_renderer_rectangle_top_left_corner_get (Enesim_Renderer *r)
EAPI void enesim_renderer_rectangle_top_right_corner_set (Enesim_Renderer *r, Eina_Bool rounded)
 Set whether the top right corner of a rectangle renderer is rounded.
EAPI Eina_Bool enesim_renderer_rectangle_top_right_corner_get (Enesim_Renderer *r)
EAPI void enesim_renderer_rectangle_bottom_left_corner_set (Enesim_Renderer *r, Eina_Bool rounded)
 Set whether the bottom left corner of a rectangle renderer is rounded.
EAPI Eina_Bool enesim_renderer_rectangle_bottom_left_corner_get (Enesim_Renderer *r)
EAPI void enesim_renderer_rectangle_bottom_right_corner_set (Enesim_Renderer *r, Eina_Bool rounded)
 Set whether the bottom right corner of a rectangle renderer is rounded.
EAPI Eina_Bool enesim_renderer_rectangle_bottom_right_corner_get (Enesim_Renderer *r)

Detailed Description

Rectangle renderer inherits from \1.


Function Documentation

Create a new rectangle renderer.

Returns:
A new rectangle renderer.

This function returns a newly allocated rectangle renderer.

EAPI void enesim_renderer_rectangle_x_set ( Enesim_Renderer r,
double  x 
)

Set the top left X coordinate of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
[in]xThe top left X coordinate.

This function sets the top left X coordinate of the rectangle renderer r to the value x.

Retrieve the top left X coordinate of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
Returns:
The top left X coordinate.

This function gets the top left X coordinate of the rectangle renderer r

EAPI void enesim_renderer_rectangle_y_set ( Enesim_Renderer r,
double  y 
)

Set the top left Y coordinate of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
[in]yThe top left Y coordinate.

This function sets the top left Y coordinate of the rectangle renderer r to the value y.

Retrieve the top left Y coordinate of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
Returns:
The top left Y coordinate.

This function gets the top left Y coordinate of the rectangle renderer r

EAPI void enesim_renderer_rectangle_position_set ( Enesim_Renderer r,
double  x,
double  y 
)

Set the top left coordinates of a rectangle renderer.

Parameters:
[in]rThe rectangle renderer.
[in]xThe top left X coordinate.
[in]yThe top left Y coordinate.

This function sets the top left coordinates of the rectangle renderer r to the values x and y.

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

Retrieve the top left coordinates of a rectangle renderer.

Parameters:
[in]rThe rectangle renderer.
[out]xThe top left X coordinate.
[out]yThe top left Y coordinate.

This function stores the top left coordinates value of the rectangle renderer r in the pointers x and y. These pointers can be NULL.

EAPI void enesim_renderer_rectangle_width_set ( Enesim_Renderer r,
double  width 
)

Set the width of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
[in]widthThe rectangle width.

This function sets the width of the rectangle renderer r to the value width.

Retrieve the width of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
Returns:
The rectangle width.

This function gets the width of the rectangle renderer r

EAPI void enesim_renderer_rectangle_height_set ( Enesim_Renderer r,
double  height 
)

Set the height of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
[in]heightThe rectangle height.

This function sets the height of the rectangle renderer r to the value height.

Retrieve the height of a rectangle renderer. .

Parameters:
[in]rThe rectangle renderer.
Returns:
The rectangle height.

This function gets the height of the rectangle renderer r

EAPI void enesim_renderer_rectangle_size_set ( Enesim_Renderer r,
double  width,
double  height 
)

Set the size of a rectangle renderer.

Parameters:
[in]rThe rectangle renderer.
[in]widthThe width.
[in]heightThe height.

This function sets the size of the rectangle renderer r to the values width and height.

EAPI void enesim_renderer_rectangle_size_get ( Enesim_Renderer r,
double *  width,
double *  height 
)

Retrieve the size of a rectangle renderer.

Parameters:
[in]rThe rectangle renderer.
[out]widthThe width.
[out]heightThe height.

This function stores the size of the rectangle renderer r in the pointers width and height. These pointers can be NULL.

EAPI void enesim_renderer_rectangle_corner_radii_set ( Enesim_Renderer r,
double  rx,
double  ry 
)

Set the radii of the corners of a rectangle renderer.

Parameters:
[in]rThe rectangle renderer.
[in]rxThe corners x-radius.
[in]ryThe corners y-radius.

This function sets the radii of the corners of the rectangle renderer r to the values rx, ry.

EAPI void enesim_renderer_rectangle_corners_set ( Enesim_Renderer r,
Eina_Bool  tl,
Eina_Bool  tr,
Eina_Bool  bl,
Eina_Bool  br 
)

Set whether the corners of a rectangle renderer are rounded.

Parameters:
[in]rThe rectangle renderer.
[in]tlWhether the top left corner is rounded.
[in]trWhether the top right corner is rounded.
[in]blWhether the bottom left corner is rounded.
[in]brWhether the bottom right corner is rounded.

This function sets the corners of the rectangle renderer r to rounded if rounded is EINA_TRUE, not rounded if it is EINA_FALSE. tl, tr, bl, br are respectively for top left, top right, bottom left and bottom right corners.

EAPI void enesim_renderer_rectangle_corners_get ( Enesim_Renderer r,
Eina_Bool *  tl,
Eina_Bool *  tr,
Eina_Bool *  bl,
Eina_Bool *  br 
)

Get whether the corners of a rectangle renderer are rounded.

Parameters:
[in]rThe rectangle renderer.
[out]tlWhether the top left corner is rounded.
[out]trWhether the top right corner is rounded.
[out]blWhether the bottom left corner is rounded.
[out]brWhether the bottom right corner is rounded.
EAPI void enesim_renderer_rectangle_top_left_corner_set ( Enesim_Renderer r,
Eina_Bool  rounded 
)

Set whether the top left corner of a rectangle renderer is rounded.

Parameters:
[in]rThe rectangle renderer.
[in]roundedWhether the top left corner is rounded.

This function sets the top left corner of the rectangle renderer r to rounded if rounded is EINA_TRUE, not rounded if it is EINA_FALSE.

EAPI void enesim_renderer_rectangle_top_right_corner_set ( Enesim_Renderer r,
Eina_Bool  rounded 
)

Set whether the top right corner of a rectangle renderer is rounded.

Parameters:
[in]rThe rectangle renderer.
[in]roundedWhether the top right corner is rounded.

This function sets the top right corner of the rectangle renderer r to rounded if rounded is EINA_TRUE, not rounded if it is EINA_FALSE.

EAPI void enesim_renderer_rectangle_bottom_left_corner_set ( Enesim_Renderer r,
Eina_Bool  rounded 
)

Set whether the bottom left corner of a rectangle renderer is rounded.

Parameters:
[in]rThe rectangle renderer.
[in]roundedWhether the bottom left corner is rounded.

This function sets the bottom left corner of the rectangle renderer r to rounded if rounded is EINA_TRUE, not rounded if it is EINA_FALSE.

EAPI void enesim_renderer_rectangle_bottom_right_corner_set ( Enesim_Renderer r,
Eina_Bool  rounded 
)

Set whether the bottom right corner of a rectangle renderer is rounded.

Parameters:
[in]rThe rectangle renderer.
[in]roundedWhether the bottom right corner is rounded.

This function sets the bottom right corner of the rectangle renderer r to rounded if rounded is EINA_TRUE, not rounded if it is EINA_FALSE.

 All Data Structures Variables