diff --git a/src/libs/svg/lv_svg.c b/src/libs/svg/lv_svg.c index 726fadfea..8bb6051f0 100644 --- a/src/libs/svg/lv_svg.c +++ b/src/libs/svg/lv_svg.c @@ -115,7 +115,6 @@ lv_svg_node_t * lv_svg_node_create(lv_svg_node_t * parent) void lv_svg_node_delete(lv_svg_node_t * node) { - LV_ASSERT_NULL(node); lv_tree_node_delete((lv_tree_node_t *)node); } diff --git a/tests/ref_imgs/draw/svg_draw_svg_com_8.lp64.png b/tests/ref_imgs/draw/svg_draw_svg_com_8.lp64.png new file mode 100644 index 000000000..403e21e45 Binary files /dev/null and b/tests/ref_imgs/draw/svg_draw_svg_com_8.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_1.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_1.lp64.png new file mode 100644 index 000000000..8a300070e Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_1.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_2.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_2.lp64.png new file mode 100644 index 000000000..da5d02aec Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_2.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_3.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_3.lp64.png new file mode 100644 index 000000000..8ec77f490 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_3.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_4.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_4.lp64.png new file mode 100644 index 000000000..d514cba9f Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_4.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_5.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_5.lp64.png new file mode 100644 index 000000000..c90640210 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_5.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_6.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_6.lp64.png new file mode 100644 index 000000000..2c84208b2 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_6.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_7.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_7.lp64.png new file mode 100644 index 000000000..54a53c1a1 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_7.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_8.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_8.lp64.png new file mode 100644 index 000000000..403e21e45 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_com_8.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_1.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_1.lp64.png new file mode 100644 index 000000000..782605977 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_1.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_2.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_2.lp64.png new file mode 100644 index 000000000..5a45132a9 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_2.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_3.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_3.lp64.png new file mode 100644 index 000000000..925422aae Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_3.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_4.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_4.lp64.png new file mode 100644 index 000000000..59670b22e Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_group_4.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_0.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_0.lp64.png new file mode 100644 index 000000000..516c389ed Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_0.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_1.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_1.lp64.png new file mode 100644 index 000000000..1b071ad7f Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_1.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_10.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_10.lp64.png new file mode 100644 index 000000000..d76d1ebe3 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_10.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_11.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_11.lp64.png new file mode 100644 index 000000000..1208637ed Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_11.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_12.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_12.lp64.png new file mode 100644 index 000000000..a0a3f3f8b Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_12.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_2.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_2.lp64.png new file mode 100644 index 000000000..601aa2734 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_2.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_3.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_3.lp64.png new file mode 100644 index 000000000..6b3be2275 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_3.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_4.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_4.lp64.png new file mode 100644 index 000000000..c2990c7ac Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_4.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_5.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_5.lp64.png new file mode 100644 index 000000000..1b071ad7f Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_5.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_6.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_6.lp64.png new file mode 100644 index 000000000..1b071ad7f Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_6.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_7.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_7.lp64.png new file mode 100644 index 000000000..09c8f4934 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_7.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_8.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_8.lp64.png new file mode 100644 index 000000000..09c8f4934 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_8.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_9.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_9.lp64.png new file mode 100644 index 000000000..09c8f4934 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_image_9.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_1.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_1.lp64.png new file mode 100644 index 000000000..b2837a865 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_1.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_10.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_10.lp64.png new file mode 100644 index 000000000..949e51b84 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_10.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_11.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_11.lp64.png new file mode 100644 index 000000000..2fb351f6b Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_11.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_2.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_2.lp64.png new file mode 100644 index 000000000..c86fbbc82 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_2.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_3.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_3.lp64.png new file mode 100644 index 000000000..c9bd18a2f Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_3.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_4.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_4.lp64.png new file mode 100644 index 000000000..95e01918c Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_4.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_5.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_5.lp64.png new file mode 100644 index 000000000..9b87f5748 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_5.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_6.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_6.lp64.png new file mode 100644 index 000000000..f41c325ec Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_6.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_7.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_7.lp64.png new file mode 100644 index 000000000..e00168ff8 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_7.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_8.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_8.lp64.png new file mode 100644 index 000000000..10ac3c1ec Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_8.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_9.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_9.lp64.png new file mode 100644 index 000000000..5f1b1349b Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_shapes_9.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_text_1.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_text_1.lp64.png new file mode 100644 index 000000000..ab865ad48 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_text_1.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_text_2.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_text_2.lp64.png new file mode 100644 index 000000000..4ed3fa4c3 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_text_2.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_1.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_1.lp64.png new file mode 100644 index 000000000..9156a6447 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_1.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_2.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_2.lp64.png new file mode 100644 index 000000000..77ac03687 Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_2.lp64.png differ diff --git a/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_3.lp64.png b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_3.lp64.png new file mode 100644 index 000000000..3b9249e2f Binary files /dev/null and b/tests/ref_imgs_vg_lite/draw/svg_draw_svg_viewport_3.lp64.png differ