Lines Matching refs:svg_node1
67 lv_svg_node_t * svg_node1 = lv_svg_load_data(svg_1, lv_strlen(svg_1)); in testSvgElement() local
68 TEST_ASSERT_EQUAL(lv_array_size(&svg_node1->attrs), 2); in testSvgElement()
69 … TEST_ASSERT_EQUAL_STRING((LV_ARRAY_GET(&svg_node1->attrs, 0, lv_svg_attr_t))->value.sval, "1.2"); in testSvgElement()
70 … TEST_ASSERT_EQUAL_STRING((LV_ARRAY_GET(&svg_node1->attrs, 1, lv_svg_attr_t))->value.sval, "tiny"); in testSvgElement()
71 lv_svg_node_delete(svg_node1); in testSvgElement()
621 lv_svg_node_t * svg_node1 = LV_SVG_NODE_CHILD(svg_node, 0); in testTextAttrs() local
622 const char * content = svg_node1->xml_id; in testTextAttrs()
635 svg_node1 = LV_SVG_NODE_CHILD(svg_node, 0); in testTextAttrs()
636 const char * content1 = svg_node1->xml_id; in testTextAttrs()
638 svg_node1 = LV_SVG_NODE_CHILD(svg_node, 2); in testTextAttrs()
639 const char * content2 = svg_node1->xml_id; in testTextAttrs()
641 svg_node1 = LV_SVG_NODE_CHILD(svg_node, 1); in testTextAttrs()
642 lv_svg_node_t * svg_node2 = LV_SVG_NODE_CHILD(svg_node1, 0); in testTextAttrs()
658 lv_svg_node_t * svg_node1 = LV_SVG_NODE_CHILD(svg_node, 1); in testGradient() local
659 uint32_t c1 = (LV_ARRAY_GET(&svg_node1->attrs, 0, lv_svg_attr_t))->value.uval; in testGradient()
661 float o1 = (LV_ARRAY_GET(&svg_node1->attrs, 1, lv_svg_attr_t))->value.fval; in testGradient()
663 float o2 = (LV_ARRAY_GET(&svg_node1->attrs, 2, lv_svg_attr_t))->value.fval; in testGradient()
676 svg_node1 = LV_SVG_NODE_CHILD(svg_node, 0); in testGradient()
677 TEST_ASSERT_EQUAL_STRING(svg_node1->xml_id, "gt2"); in testGradient()
678 uint32_t g = (LV_ARRAY_GET(&svg_node1->attrs, 0, lv_svg_attr_t))->value.ival; in testGradient()
680 float cx = (LV_ARRAY_GET(&svg_node1->attrs, 1, lv_svg_attr_t))->value.fval; in testGradient()
682 float cy = (LV_ARRAY_GET(&svg_node1->attrs, 2, lv_svg_attr_t))->value.fval; in testGradient()