We do not use clang-format anymore, so the directive has been removed from most headers.
lv_conf_template.h is untouched as a convenience for downstream projects which still use the tool.
Fixes#2441
* perf(draw) reimplement circle drawing algorithms
Imporve the speed of circle drawing
Add circle draw caching
Various other speed improvements
* docs describe how to use masks
* fix(draw) add missing GC root usage
* Fix image zooming causes unexpected object size.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* add lv_snapshot_take API.
* fix(img) invalidate size and layout on zoom and angle change
* fix(img) not self-repeating under some zoom level.
* fix(snapshot) fix to keep the original position
* Move various set_px_cb_xx functions to lv_hal_disp.c
* add snapshot API to store image to provided buffer
* minor fixes and refactoring
* Move snapshot source to extra/others/snapshot.
1. Update parameter buff to buf.
2. Add macro to disable lv_snapshot, enabled by default.
* docs(others) add the others folder with snapshot.md
* docs(snapshot) added doc and example for snapshot.
1. Update doc snapshot.md
2. Add example lv_example_snapshot_1 to folder examples/others/snapshot
3. Update lv_conf_template.h and lv_conf_internal.h
4. Remove lv_snapshot.c from lv_misc.mk
5. Add others to index.md
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* add micropython example for snapshot
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
replace FSL_RTOS_FREE_RTOS by SDK_OS_FREE_RTOS in order to be aligned
with MCU SDK 2.10.
See MCUX-41577.
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
* Extra: widgets: add a new widget animation image
This widget is a combination of img and animation,
could achieve animation effects by
constantly switching a series imgs.
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Signed-off-by: Hui Song <hui.song_1@nxp.com>
Signed-off-by: Xiaolin He <xiaolin.he@nxp.com>
* example: add animimg example
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>