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
Neo
c98c8252ea
feat(snapshot) add API to take snapshot for object (#2353)
* 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>
2021-07-19 14:46:28 +02:00
Gabor Kiss-Vamosi
0cafde653d feat(example) add style examples 2021-05-27 11:50:04 +02:00
Gabor Kiss-Vamosi
ec6c20b587 feat(examples) add event examples 2021-05-26 22:05:32 +02:00
Gabor Kiss-Vamosi
71189b46e9 feat(examples) add aniamtion examples 2021-05-26 22:05:32 +02:00
Gabor Kiss-Vamosi
20803031e8 fix(test) fix tests 2021-04-08 13:07:48 +02:00
Xiang Xiao
9254a7ea14 fix(comment): remove the space after /* and before */ 2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
00b1c80d3c feat(examples): fix examples and add new scroll examples 2021-02-23 11:31:10 +01:00
Gabor Kiss-Vamosi
ca4f11e9f4 add the prototypes of the examples 2021-02-19 18:19:32 +01:00