lv_nema_gfx_path.h

MIT License

Copyright (c) 2008-24 Think Silicon Single Member PC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Functions

lv_nema_gfx_path_t *lv_nema_gfx_path_create(void)
void lv_nema_gfx_path_alloc(lv_nema_gfx_path_t *nema_gfx_path)
void lv_nema_gfx_path_destroy(lv_nema_gfx_path_t *nema_gfx_path)
void lv_nema_gfx_path_move_to(lv_nema_gfx_path_t *nema_gfx_path, float x, float y)
void lv_nema_gfx_path_line_to(lv_nema_gfx_path_t *nema_gfx_path, float x, float y)
void lv_nema_gfx_path_quad_to(lv_nema_gfx_path_t *nema_gfx_path, float cx, float cy, float x, float y)
void lv_nema_gfx_path_cubic_to(lv_nema_gfx_path_t *nema_gfx_path, float cx1, float cy1, float cx2, float cy2, float x, float y)
void lv_nema_gfx_path_end(lv_nema_gfx_path_t *nema_gfx_path)
struct lv_nema_gfx_path_t

Public Members

NEMA_VG_PATH_HANDLE path
NEMA_VG_PAINT_HANDLE paint
float *data
uint8_t *seg
uint32_t data_size
uint32_t seg_size