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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user