1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

8 Commits

Author SHA1 Message Date
Mariotaku
d33db6bb59
feat(sdl): support rounded images (#3012)
* added radius mask for rounded img

* improved mask composite
improved image zoom fidelity

* implementing sdl image radius

* low performance radius img drawing

* improved rounded image performance

* improved rounded image performance

* improved rounded image blending

* pixel perfect rounded image for SDL

* accurate drawing only

* supports rounded img for rect as well

* fixed mask check when zoomed

* surrounded rounded mask in lv_img with draw_complex check

* updated docs

* fixed build issue

* aware of clip_corner property

* reverted lv_img.c

* updated docs
2022-01-18 11:41:45 +01:00
Themba Dube
7ed1a5625a docs(widgets) fix edit links 2022-01-06 10:30:02 -05:00
ckielstra
0f4e6e26f9
Simple spelling fixes (#2496) 2021-08-26 10:52:39 +02:00
Neo
fe461caf7e
feat(img) add img_size property (#2284)
* Fix image zooming causes unexpected object size.

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>

* fix(img) invalidate size and layout on zoom and angle change

* fix(img) not self-repeating under some zoom level.

* minor fixes and refactoring

* docs(img) add img_size

Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-16 21:05:49 +02:00
Gabor Kiss-Vamosi
88c485949f feat(event, widgets) improve the paramter of LV_EVENT_DRAW_PART_BEGIN/END
Add lv_<widget>_draw_part_type_t to widgets to precisly describe the hooked drawings.
Also add class_p element to lv_obj_draw_part_dsc_t to show what widgets lv_<widget>_draw_part_type_t needs to be used.

Related to: https://forum.lvgl.io/t/how-to-add-minor-division-lines-to-a-chart/5366/
2021-07-07 16:19:06 +02:00
Rop Gonggrijp
d0aaacafb6
Spelling and other language fixes to documentation (#2293) 2021-06-09 15:10:35 +02:00
Gabor Kiss-Vamosi
05252b7fe8 docs update some mroe widgets to v8 + fix links 2021-05-03 17:32:57 +02:00
Gabor Kiss-Vamosi
3c39c39c9d docs separate widgets into core and extra groups 2021-05-03 11:13:43 +02:00