mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-27 20:57:01 +08:00
docs more spelling fixes (#2499)
This commit is contained in:
@@ -14,7 +14,7 @@ static void draw_event_cb(lv_event_t * e)
|
||||
if(dsc->part == LV_PART_ITEMS) {
|
||||
if(!dsc->p1 || !dsc->p2) return;
|
||||
|
||||
/*Add a line mask that keeps the area below the line*/
|
||||
/*Add a line mask that keeps the area below the line*/
|
||||
lv_draw_mask_line_param_t line_mask_param;
|
||||
lv_draw_mask_line_points_init(&line_mask_param, dsc->p1->x, dsc->p1->y, dsc->p2->x, dsc->p2->y, LV_DRAW_MASK_LINE_SIDE_BOTTOM);
|
||||
int16_t line_mask_id = lv_draw_mask_add(&line_mask_param, NULL);
|
||||
|
||||
@@ -9,7 +9,7 @@ def draw_event_cb(e):
|
||||
if not dsc.p1 or not dsc.p2:
|
||||
return
|
||||
|
||||
# Add a line mask that keeps the area below the line
|
||||
# Add a line mask that keeps the area below the line
|
||||
line_mask_param = lv.draw_mask_line_param_t()
|
||||
line_mask_param.points_init(dsc.p1.x, dsc.p1.y, dsc.p2.x, dsc.p2.y, lv.DRAW_MASK_LINE_SIDE.BOTTOM)
|
||||
# line_mask_id = line_mask_param.draw_mask_add(None)
|
||||
|
||||
Reference in New Issue
Block a user