Home
last modified time | relevance | path

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

/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/tests/
DSVGDeviceTest.cpp368 const SkDOM::Node* floodElement = dom.getFirstChild(filterElement, "feFlood"); in DEF_TEST() local
369 ABORT_TEST(reporter, !floodElement, "feFlood element not found"); in DEF_TEST()
378 strcmp(dom.findAttr(floodElement, "flood-color"), "red") == 0); in DEF_TEST()
379 REPORTER_ASSERT(reporter, atoi(dom.findAttr(floodElement, "flood-opacity")) == 1); in DEF_TEST()
/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()
/external/skia/src/svg/
DSkSVGDevice.cpp445 AutoElement floodElement("feFlood", fWriter); in addColorFilterResources() local
446 floodElement.addAttribute("flood-color", svg_color(filterColor)); in addColorFilterResources()
447 floodElement.addAttribute("flood-opacity", svg_opacity(filterColor)); in addColorFilterResources()
448 floodElement.addAttribute("result", "flood"); in addColorFilterResources()