Cross-platform C SDK logo

Cross-platform C SDK

Line

❮ Back
Next ❯
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)
voidline_length (...)

Horizontal or vertical separation lines. They are simple decorative controls (Figure 1).

❮ Back
Next ❯

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).

❮ Back
Next ❯