lcd_set_position

Set the required layer position.

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

This function set the required layer position.

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

y

Type: int32_t

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

Returns

Type: int32_t

Set status.