Searched refs:weightIndex (Results 1 – 2 of 2) sorted by relevance
607 int weightIndex = (SkTPin(style.weight(), 100, 900) - 50) / 100; in addTextAttributes() local608 if (weightIndex != 3) { in addTextAttributes()612 this->addAttribute("font-weight", weights[weightIndex]); in addTextAttributes()
604 int weightIndex = (SkTPin(style.weight(), 100, 900) - 50) / 100; in addTextAttributes() local605 if (weightIndex != 3) { in addTextAttributes()609 this->addAttribute("font-weight", weights[weightIndex]); in addTextAttributes()