feat(decoder): add svg image decoder for image widget (#7141)

Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Zhang Ji Peng
2025-02-14 19:33:49 +08:00
committed by GitHub
parent 1d49c7afbe
commit 9760d57540
49 changed files with 1725 additions and 54 deletions

View File

@@ -39,6 +39,12 @@ Example
/* Release the DOM tree*/
lv_svg_node_delete(svg_doc);
`lv_image` also supports svg image, For example:
.. code-block:: c
lv_image_set_src(widget, "S:path/to/example.svg");
.. _svg_api:
API