Lines Matching refs:SkSVGPreserveAspectRatio
886 bool SkSVGAttributeParser::parsePreserveAspectRatio(SkSVGPreserveAspectRatio* par) { in parsePreserveAspectRatio()
887 static constexpr std::tuple<const char*, SkSVGPreserveAspectRatio::Align> gAlignMap[] = { in parsePreserveAspectRatio()
888 { "none" , SkSVGPreserveAspectRatio::kNone }, in parsePreserveAspectRatio()
889 { "xMinYMin", SkSVGPreserveAspectRatio::kXMinYMin }, in parsePreserveAspectRatio()
890 { "xMidYMin", SkSVGPreserveAspectRatio::kXMidYMin }, in parsePreserveAspectRatio()
891 { "xMaxYMin", SkSVGPreserveAspectRatio::kXMaxYMin }, in parsePreserveAspectRatio()
892 { "xMinYMid", SkSVGPreserveAspectRatio::kXMinYMid }, in parsePreserveAspectRatio()
893 { "xMidYMid", SkSVGPreserveAspectRatio::kXMidYMid }, in parsePreserveAspectRatio()
894 { "xMaxYMid", SkSVGPreserveAspectRatio::kXMaxYMid }, in parsePreserveAspectRatio()
895 { "xMinYMax", SkSVGPreserveAspectRatio::kXMinYMax }, in parsePreserveAspectRatio()
896 { "xMidYMax", SkSVGPreserveAspectRatio::kXMidYMax }, in parsePreserveAspectRatio()
897 { "xMaxYMax", SkSVGPreserveAspectRatio::kXMaxYMax }, in parsePreserveAspectRatio()
900 static constexpr std::tuple<const char*, SkSVGPreserveAspectRatio::Scale> gScaleMap[] = { in parsePreserveAspectRatio()
901 { "meet" , SkSVGPreserveAspectRatio::kMeet }, in parsePreserveAspectRatio()
902 { "slice", SkSVGPreserveAspectRatio::kSlice }, in parsePreserveAspectRatio()
923 bool SkSVGAttributeParser::parse(SkSVGPreserveAspectRatio* par) { in parse()