MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / addFromStyle

Method addFromStyle

src/css/query.cpp:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace css {
14
15void Query::addFromStyle(const Style* style)
16{
17 for (Style::const_iterator it = style->begin(), end = style->end();
18 it != end; ++it) {
19 addRuleValue(it->first, style);
20 }
21}
22
23void Query::addRuleValue(const std::string& ruleName, const Style* style)
24{

Callers 1

queryMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected