lv_nema_gfx_path.h

API reference for lv_nema_gfx_path.h

Report on GitHub

MIT License


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_create

 
lv_nema_gfx_path_t * lv_nema_gfx_path_create(void)

lv_nema_gfx_path_alloc

 
void lv_nema_gfx_path_alloc(lv_nema_gfx_path_t *nema_gfx_path)
Parameters
NameType
nema_gfx_pathlv_nema_gfx_path_t *

lv_nema_gfx_path_destroy

 
void lv_nema_gfx_path_destroy(lv_nema_gfx_path_t *nema_gfx_path)
Parameters
NameType
nema_gfx_pathlv_nema_gfx_path_t *

lv_nema_gfx_path_move_to

 
void lv_nema_gfx_path_move_to(lv_nema_gfx_path_t *nema_gfx_path, float x, float y)
Parameters
NameType
nema_gfx_pathlv_nema_gfx_path_t *
xfloat
yfloat

lv_nema_gfx_path_line_to

 
void lv_nema_gfx_path_line_to(lv_nema_gfx_path_t *nema_gfx_path, float x, float y)
Parameters
NameType
nema_gfx_pathlv_nema_gfx_path_t *
xfloat
yfloat

lv_nema_gfx_path_quad_to

 
void lv_nema_gfx_path_quad_to(lv_nema_gfx_path_t *nema_gfx_path, float cx, float cy, float x, float y)
Parameters
NameType
nema_gfx_pathlv_nema_gfx_path_t *
cxfloat
cyfloat
xfloat
yfloat

lv_nema_gfx_path_cubic_to

 
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)
Parameters
NameType
nema_gfx_pathlv_nema_gfx_path_t *
cx1float
cy1float
cx2float
cy2float
xfloat
yfloat

lv_nema_gfx_path_end

 
void lv_nema_gfx_path_end(lv_nema_gfx_path_t *nema_gfx_path)
Parameters
NameType
nema_gfx_pathlv_nema_gfx_path_t *

Structs

struct

lv_nema_gfx_path_t

MemberTypeDescription
pathvoid *< NemaVG handle object (void pointer) < NemaVG path handle (pointer to path object)
paintvoid *< NemaVG handle object (void pointer) < NemaVG paint handle (pointer to paint object)
datafloat *
seguint8_t *
data_sizeuint32_t
seg_sizeuint32_t
Used by 7 functions
  • lv_nema_gfx_path_alloc — param nema_gfx_path
  • lv_nema_gfx_path_destroy — param nema_gfx_path
  • lv_nema_gfx_path_move_to — param nema_gfx_path
  • lv_nema_gfx_path_line_to — param nema_gfx_path
  • lv_nema_gfx_path_quad_to — param nema_gfx_path
  • lv_nema_gfx_path_cubic_to — param nema_gfx_path
  • lv_nema_gfx_path_end — param nema_gfx_path

Dependencies

How is this guide?

Last updated on

On this page