 |
MULTI_LINE |
Type (Structure) |
A structure for defining multiple lines for the DrawMultiLines command.
Note that Data[]
is a GNU C extension for variable-length arrays (TIGCC is GNU C).
Static variables of such types may be initialized with a variable-length constructor,
for example:
static MULTI_LINE star_shape = {3, {{1, 30, 50, 70, 50},
{1, 35, 35, 65, 65},
{1, 35, 65, 65, 35}}};
Initialization with a variable-length constructor is not suitable for non-static (auto)
variables, because the amount of stack storage will not be determined properly.