Home
last modified time | relevance | path

Searched refs:SkSVGPreserveAspectRatio (Results 1 – 12 of 12) sorted by relevance

/external/skia/modules/svg/src/
DSkSVGAttributeParser.cpp886 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()
[all …]
DSkSVGNode.cpp134 SkSVGPreserveAspectRatio par) { in ComputeViewboxMatrix()
142 if (par.fAlign == SkSVGPreserveAspectRatio::kNone) { in ComputeViewboxMatrix()
148 const auto s = par.fScale == SkSVGPreserveAspectRatio::kMeet in ComputeViewboxMatrix()
DSkSVGImage.cpp23 this->setPreserveAspectRatio(SkSVGAttributeParser::parse<SkSVGPreserveAspectRatio>( in parseAndSetAttribute()
60 SkSVGPreserveAspectRatio par) { in LoadImage()
DSkSVGFeImage.cpp18 this->setPreserveAspectRatio(SkSVGAttributeParser::parse<SkSVGPreserveAspectRatio>( in parseAndSetAttribute()
DSkSVGDOM.cpp122 SkSVGPreserveAspectRatio par; in SetPreserveAspectRatioAttribute()
/external/skia/modules/svg/include/
DSkSVGImage.h40 SkSVGPreserveAspectRatio);
47 SVG_ATTR(PreserveAspectRatio, SkSVGPreserveAspectRatio, SkSVGPreserveAspectRatio())
DSkSVGFeImage.h19 SVG_ATTR(PreserveAspectRatio, SkSVGPreserveAspectRatio, SkSVGPreserveAspectRatio())
DSkSVGSVG.h29 SVG_ATTR(PreserveAspectRatio, SkSVGPreserveAspectRatio, SkSVGPreserveAspectRatio())
DSkSVGValue.h79 using SkSVGPreserveAspectRatioValue = SkSVGWrapperValue<SkSVGPreserveAspectRatio,
DSkSVGAttributeParser.h23 bool parsePreserveAspectRatio(SkSVGPreserveAspectRatio*);
DSkSVGNode.h152 static SkMatrix ComputeViewboxMatrix(const SkRect&, const SkRect&, SkSVGPreserveAspectRatio);
DSkSVGTypes.h545 struct SkSVGPreserveAspectRatio { struct