Home
last modified time | relevance | path

Searched refs:weightIndex (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/svg/
DSkSVGDevice.cpp607 int weightIndex = (SkTPin(style.weight(), 100, 900) - 50) / 100; in addTextAttributes() local
608 if (weightIndex != 3) { in addTextAttributes()
612 this->addAttribute("font-weight", weights[weightIndex]); in addTextAttributes()
/external/skqp/src/svg/
DSkSVGDevice.cpp604 int weightIndex = (SkTPin(style.weight(), 100, 900) - 50) / 100; in addTextAttributes() local
605 if (weightIndex != 3) { in addTextAttributes()
609 this->addAttribute("font-weight", weights[weightIndex]); in addTextAttributes()