Lines Matching refs:mask
58 …o to #5. Otherwise, create the required masks in the draw function. (e.g. a rounded rectangle mask)
59 4. **Calculate all the added mask** It composites opacity values into a *mask buffer* with the "sha…
60 E.g. in case of a "line mask" according to the parameters of the mask, keep one side of the buffer …
63 LVGL has the following built-in mask types which can be calculated and applied real-time:
69 - `LV_DRAW_MASK_TYPE_MAP` The mask is stored in a bitmap array and the necessary parts are applied
72 - **letters** Create a mask from the letter and draw a rectangle with the letter's color using the …
73 - **line** Created from four "line masks" to mask out the left, right, top and bottom part of the l…
74 - **rounded rectangle** A mask is created real-time to add a radius to the corners.
75 …verflowing content (usually children) on rounded corners, a rounded rectangle mask is also applied.
77 - **arc drawing** A circular border is drawn but an arc mask is applied too.
78 - **ARGB images** The alpha channel is separated into a mask and the image is drawn as a normal RGB…
82 Every mask type has a related parameter structure to describe the mask's data. The following parame…
89 1. Initialize a mask parameter with `lv_draw_mask_<type>_init`. See `lv_draw_mask.h` for the whole …
90 … Add the mask parameter to the draw engine with `int16_t mask_id = lv_draw_mask_add(¶m, ptr)`.…
92 4. Remove the mask from the draw engine with `lv_draw_mask_remove_id(mask_id)` or `lv_draw_mask_rem…
97 `lv_draw_mask_add` saves only the pointer of the mask so the parameter needs to be valid while in u…
117 …aw an object. This is a good place to add masks manually. E.g. add a line mask that "removes" the …
136 Sent before starting the post draw phase. Masks can be added here too to mask out the post drawn co…
198 - `LV_COVER_RES_MASKED` there is a mask on the object, so it does not fully cover the area