Searched refs:gAlignMap (Results 1 – 3 of 3) sorted by relevance
43 static constexpr SkTextUtils::Align gAlignMap[] = { in Parse() local48 v->fHAlign = gAlignMap[std::min<size_t>(ParseDefault<size_t>((*jtxt)["j"], 0), in Parse()49 SK_ARRAY_COUNT(gAlignMap))]; in Parse()
266 static constexpr SkTextUtils::Align gAlignMap[] = { in FromJSON() local271 v->fAlign = gAlignMap[SkTMin<size_t>(ParseDefault<size_t>((*jtxt)["j"], 0), in FromJSON()272 SK_ARRAY_COUNT(gAlignMap))]; in FromJSON()
887 static constexpr std::tuple<const char*, SkSVGPreserveAspectRatio::Align> gAlignMap[] = { in parsePreserveAspectRatio() local911 if (this->parseEnumMap(gAlignMap, &par->fAlign)) { in parsePreserveAspectRatio()