Line
This page has been automatically translated using the Google Translate API services. We are working on improving texts. Thank you for your understanding and patience.
Header
#include <gui/line.h>
Functions
| Line* | line_horizontal (void) |
| Line* | line_vertical (void) |
| void | line_length (...) |
Horizontal or vertical separation lines. They are simple decorative controls (Figure 1).
- Use line_horizontal to create a horizontal line.
- Use line_vertical to create a vertical line.
- Use line_length to set the default line length.
line_horizontal ()
Create a horizontal separator.
Line* line_horizontal(void);
Return
The separator.
line_vertical ()
Create a vertical separator.
Line* line_vertical(void);
Return
The separator.
line_length ()
Sets the natural length of the line. By default 100px.
void line_length(Line *line, const real32_t length);
| line | The separator. |
| length | Length (horizontal or vertical). |


