lcd_set_size

Set the required layer size.

static int32_t lcd_set_size(
    uint8_t layer,
    int32_t x,
    int32_t y
)

This function set the required layer size.

Parameters

layer

Type: uint8_t

Index of layer, 0 for base layer.

x

Type: int32_t

Physical X-position to be used to set up the layer size.

y

Type: int32_t

Physical Y-position to be used to set up the layer size.

Returns

Type: int32_t

Set status.