Rounded rects drawing class. More...
Derived from: | None |
Derived by: | None |
Group: | 2D (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a RoundedRect. |
| |
Returns the base rectangle. | |
Returns the width of the rectangle. | |
Returns the height of the rectangle. | |
Returns the distance from a corner (in pixels) at which the rounding starts. | |
Returns the positions of the top-left corners conic bezier control point. | |
Returns the positions of the top-right corners conic bezier control point. | |
Returns the positions of the bottom-left corners conic bezier control point. | |
Returns the positions of the bottom-right corners conic bezier control point. | |
Returns the relative offset (0.0-1.0) to the center of the edges connected to the corner. | |
Returns the relative offset (0.0-1.0) to the center of the edges connected to the corner. | |
Returns the relative offset (0.0-1.0) to the center of the edges connected to the corner. | |
Returns the relative offset (0.0-1.0) to the center of the edges connected to the corner. |
| |
Draw the rectangle outline. | |
Fill the rectangle. | |
Set the size of the base rectangle. | |
Set the position of the top-left corners conic bezier control point. | |
Set the positions of the top-right corners conic bezier control point. | |
Set the positions of the bottom-left corners conic bezier control point. | |
Set the positions of the bottom-right corners conic bezier control point. | |
Set the distance from a corner (in pixels) at which the rounding starts. | |
Set the relative offset (0.0-1.0) to the center of the edges connected to the corner. | |
Set the relative offset (0.0-1.0) to the center of the edges connected to the corner. | |
Set the relative offset (0.0-1.0) to the center of the edges connected to the corner. | |
Set the relative offset (0.0-1.0) to the center of the edges connected to the corner. |