lv_draw_mask_line_points_init() function
Initialize a line mask from two points.
Arguments
param
pointer to a `lv_draw_mask_param_t` to initialize
p1x
X coordinate of the first point of the line
p1y
Y coordinate of the first point of the line
p2x
X coordinate of the second point of the line
p2y
y coordinate of the second point of the line
side
and element of `lv_draw_mask_line_side_t` to describe which side to keep. With `LV_DRAW_MASK_LINE_SIDE_LEFT/RIGHT` and horizontal line all pixels are kept With `LV_DRAW_MASK_LINE_SIDE_TOP/BOTTOM` and vertical line all pixels are kept