lv_vglite_path.h

Defines

BEZIER_OPTIM_CIRCLE

Copyright 2023 NXP

SPDX-License-Identifier: MIT

BEZIER_DBG_CONTROL_POINTS
CUBIC_PATH_DATA_SIZE
LINE_PATH_DATA_SIZE
MOVE_PATH_DATA_SIZE
END_PATH_DATA_SIZE
RECT_PATH_DATA_MAX_SIZE
ARC_PATH_DATA_MAX_SIZE

Functions

void vglite_create_rect_path_data(int32_t *path_data, uint32_t *path_data_size, int32_t radius, const lv_area_t *coords)

Generates path data for rectangle drawing.

Parameters:
  • [in/out] – path The path data to initialize

  • [in/out] – path_size The resulting size of the created path data

  • dsc[in] The style descriptor for the rectangle to be drawn

  • coords[in] The coordinates of the rectangle to be drawn