Home
last modified time | relevance | path

Searched refs:floodElement (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DSVGDeviceTest.cpp375 const SkDOM::Node* floodElement = dom.getFirstChild(filterElement, "feFlood"); in DEF_TEST() local
376 ABORT_TEST(reporter, !floodElement, "feFlood element not found"); in DEF_TEST()
385 strcmp(dom.findAttr(floodElement, "flood-color"), "rgb(255,0,0)") == 0); in DEF_TEST()
386 REPORTER_ASSERT(reporter, atoi(dom.findAttr(floodElement, "flood-opacity")) == 1); in DEF_TEST()
/external/skqp/tests/
DSVGDeviceTest.cpp371 const SkDOM::Node* floodElement = dom.getFirstChild(filterElement, "feFlood"); in DEF_TEST() local
372 ABORT_TEST(reporter, !floodElement, "feFlood element not found"); in DEF_TEST()
381 strcmp(dom.findAttr(floodElement, "flood-color"), "rgb(255,0,0)") == 0); in DEF_TEST()
382 REPORTER_ASSERT(reporter, atoi(dom.findAttr(floodElement, "flood-opacity")) == 1); in DEF_TEST()
/external/skia/src/svg/
DSkSVGDevice.cpp389 AutoElement floodElement("feFlood", fWriter); in addColorFilterResources() local
390 floodElement.addAttribute("flood-color", svg_color(filterColor)); in addColorFilterResources()
391 floodElement.addAttribute("flood-opacity", svg_opacity(filterColor)); in addColorFilterResources()
392 floodElement.addAttribute("result", "flood"); in addColorFilterResources()
/external/skqp/src/svg/
DSkSVGDevice.cpp386 AutoElement floodElement("feFlood", fWriter); in addColorFilterResources() local
387 floodElement.addAttribute("flood-color", svg_color(filterColor)); in addColorFilterResources()
388 floodElement.addAttribute("flood-opacity", svg_opacity(filterColor)); in addColorFilterResources()
389 floodElement.addAttribute("result", "flood"); in addColorFilterResources()