Searched refs:hintingIdx (Results 1 – 2 of 2) sorted by relevance
1722 int hintingIdx = 0; in drawImGui() local1724 hintingIdx = SkTo<int>(fFont.getHinting()) + 1; in drawImGui()1726 if (ImGui::Combo("Hinting", &hintingIdx, in drawImGui()1729 if (hintingIdx == 0) { in drawImGui()1733 fFont.setHinting(SkTo<SkFontHinting>(hintingIdx - 1)); in drawImGui()
1708 int hintingIdx = 0; in drawImGui() local1710 hintingIdx = SkTo<int>(fFont.getHinting()) + 1; in drawImGui()1712 if (ImGui::Combo("Hinting", &hintingIdx, in drawImGui()1715 if (hintingIdx == 0) { in drawImGui()1719 fFont.setHinting(SkTo<SkFontHinting>(hintingIdx - 1)); in drawImGui()