lv_draw_sw_mask_private.h

API reference for lv_draw_sw_mask_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_draw_sw_mask.h

Functions

lv_draw_sw_mask_cleanup

Called by LVGL the rendering of a screen is ready to clean up the temporal (cache) data of the masks

 
void lv_draw_sw_mask_cleanup(void)

Structs

struct

lv_draw_sw_mask_radius_circle_dsc_t

MemberTypeDescription
bufuint8_t *
cir_opalv_opa_t *Opacity of values on the circumference of an 1/4 circle
x_start_on_yuint16_t *The x coordinate of the circle for each y value
opa_start_on_yuint16_t *The index of cir_opa for each y value
lifeint32_tHow many times the entry way used
used_cntuint32_tLike a semaphore to count the referencing masks
radiusint32_tThe radius of the entry
struct

_lv_draw_sw_mask_common_dsc_t

struct

_lv_draw_sw_mask_line_param_t

MemberTypeDescription
dsclv_draw_sw_mask_common_dsc_tThe first element must be the common descriptor
p1lv_point_t
p2lv_point_t
sidelv_draw_sw_mask_line_side_t
cfgstruct _lv_draw_sw_mask_line_param_t
origolv_point_tA point of the line
xy_steepint32_tX / (1024*Y) steepness (X is 0..1023 range). What is the change of X in 1024 Y?
yx_steepint32_tY / (1024*X) steepness (Y is 0..1023 range). What is the change of Y in 1024 X?
steepint32_tHelper which stores yx_steep for flat lines and xy_steep for steep (non flat) lines
spxint32_tSteepness in 1 px in 0..255 range. Used only by flat lines.
flatuint8_t1: It's a flat line? (Near to horizontal)
invuint8_tInvert the mask. The default is: Keep the left part. It is used to select left/right/top/bottom
struct

_lv_draw_sw_mask_angle_param_t

MemberTypeDescription
dsclv_draw_sw_mask_common_dsc_tThe first element must be the common descriptor
vertex_plv_point_t
start_angleint32_t
end_angleint32_t
cfgstruct _lv_draw_sw_mask_angle_param_t
start_linelv_draw_sw_mask_line_param_t
end_linelv_draw_sw_mask_line_param_t
delta_deguint16_t
struct

_lv_draw_sw_mask_radius_param_t

MemberTypeDescription
dsclv_draw_sw_mask_common_dsc_tThe first element must be the common descriptor
rectlv_area_t
radiusint32_t
outeruint8_tInvert the mask. 0: Keep the pixels inside.
cfgstruct _lv_draw_sw_mask_radius_param_t
circlelv_draw_sw_mask_radius_circle_dsc_t *
struct

_lv_draw_sw_mask_fade_param_t

MemberTypeDescription
dsclv_draw_sw_mask_common_dsc_tThe first element must be the common descriptor
coordslv_area_t
y_topint32_t
y_bottomint32_t
opa_toplv_opa_t
opa_bottomlv_opa_t
cfgstruct _lv_draw_sw_mask_fade_param_t
struct

_lv_draw_sw_mask_map_param_t

MemberTypeDescription
dsclv_draw_sw_mask_common_dsc_tThe first element must be the common descriptor
coordslv_area_t
mapconst lv_opa_t *
cfgstruct _lv_draw_sw_mask_map_param_t

Typedefs

lv_draw_sw_mask_radius_circle_dsc_arr_t

 
typedef lv_draw_sw_mask_radius_circle_dsc_t lv_draw_sw_mask_radius_circle_dsc_arr_t[4]

Dependencies

How is this guide?

Last updated on

On this page