Home
last modified time | relevance | path

Searched refs:SkSVGLength (Results 1 – 25 of 74) sorted by relevance

123

/external/skqp/experimental/svg/model/
DSkSVGRect.h21 void setX(const SkSVGLength&);
22 void setY(const SkSVGLength&);
23 void setWidth(const SkSVGLength&);
24 void setHeight(const SkSVGLength&);
25 void setRx(const SkSVGLength&);
26 void setRy(const SkSVGLength&);
41 SkSVGLength fX = SkSVGLength(0);
42 SkSVGLength fY = SkSVGLength(0);
43 SkSVGLength fWidth = SkSVGLength(0);
44 SkSVGLength fHeight = SkSVGLength(0);
[all …]
DSkSVGLinearGradient.h21 void setX1(const SkSVGLength&);
22 void setY1(const SkSVGLength&);
23 void setX2(const SkSVGLength&);
24 void setY2(const SkSVGLength&);
35 SkSVGLength fX1 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
36 SkSVGLength fY1 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
37 SkSVGLength fX2 = SkSVGLength(100, SkSVGLength::Unit::kPercentage);
38 SkSVGLength fY2 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
DSkSVGRadialGradient.h21 void setCx(const SkSVGLength&);
22 void setCy(const SkSVGLength&);
23 void setR(const SkSVGLength&);
24 void setFx(const SkSVGLength&);
25 void setFy(const SkSVGLength&);
36 SkSVGLength fCx = SkSVGLength(50, SkSVGLength::Unit::kPercentage);
37 SkSVGLength fCy = SkSVGLength(50, SkSVGLength::Unit::kPercentage);
38 SkSVGLength fR = SkSVGLength(50, SkSVGLength::Unit::kPercentage);
39 SkTLazy<SkSVGLength> fFx;
40 SkTLazy<SkSVGLength> fFy;
DSkSVGSVG.h23 void setX(const SkSVGLength&);
24 void setY(const SkSVGLength&);
25 void setWidth(const SkSVGLength&);
26 void setHeight(const SkSVGLength&);
39 SkSVGLength fX = SkSVGLength(0);
40 SkSVGLength fY = SkSVGLength(0);
41 SkSVGLength fWidth = SkSVGLength(100, SkSVGLength::Unit::kPercentage);
42 SkSVGLength fHeight = SkSVGLength(100, SkSVGLength::Unit::kPercentage);
DSkSVGEllipse.h21 void setCx(const SkSVGLength&);
22 void setCy(const SkSVGLength&);
23 void setRx(const SkSVGLength&);
24 void setRy(const SkSVGLength&);
39 SkSVGLength fCx = SkSVGLength(0);
40 SkSVGLength fCy = SkSVGLength(0);
41 SkSVGLength fRx = SkSVGLength(0);
42 SkSVGLength fRy = SkSVGLength(0);
DSkSVGLine.h21 void setX1(const SkSVGLength&);
22 void setY1(const SkSVGLength&);
23 void setX2(const SkSVGLength&);
24 void setY2(const SkSVGLength&);
40 SkSVGLength fX1 = SkSVGLength(0);
41 SkSVGLength fY1 = SkSVGLength(0);
42 SkSVGLength fX2 = SkSVGLength(0);
43 SkSVGLength fY2 = SkSVGLength(0);
DSkSVGCircle.h21 void setCx(const SkSVGLength&);
22 void setCy(const SkSVGLength&);
23 void setR(const SkSVGLength&);
39 SkSVGLength fCx = SkSVGLength(0);
40 SkSVGLength fCy = SkSVGLength(0);
41 SkSVGLength fR = SkSVGLength(0);
DSkSVGUse.h27 void setX(const SkSVGLength&);
28 void setY(const SkSVGLength&);
41 SkSVGLength fX = SkSVGLength(0);
42 SkSVGLength fY = SkSVGLength(0);
DSkSVGStop.h23 const SkSVGLength& offset() const { return fOffset; } in offset()
27 void setOffset(const SkSVGLength&);
37 SkSVGLength fOffset = SkSVGLength(0 , SkSVGLength::Unit::kPercentage);
DSkSVGPattern.h24 void setX(const SkSVGLength&);
25 void setY(const SkSVGLength&);
26 void setWidth(const SkSVGLength&);
27 void setHeight(const SkSVGLength&);
40 SkTLazy<SkSVGLength> fX,
/external/skia/modules/svg/include/
DSkSVGLinearGradient.h20 SVG_ATTR(X1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y1, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(X2, SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Y2, SkSVGLength, SkSVGLength(0 , SkSVGLength::Unit::kPercentage))
DSkSVGFilter.h20 SVG_ATTR(X, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y, SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
DSkSVGMask.h20 SVG_ATTR(X , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Y , SkSVGLength, SkSVGLength(-10, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(Width , SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(120, SkSVGLength::Unit::kPercentage))
DSkSVGRadialGradient.h20 SVG_ATTR(Cx, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
21 SVG_ATTR(Cy, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
22 SVG_ATTR(R, SkSVGLength, SkSVGLength(50, SkSVGLength::Unit::kPercentage))
23 SVG_OPTIONAL_ATTR(Fx, SkSVGLength)
24 SVG_OPTIONAL_ATTR(Fy, SkSVGLength)
DSkSVGRect.h20 SVG_ATTR(X , SkSVGLength, SkSVGLength(0))
21 SVG_ATTR(Y , SkSVGLength, SkSVGLength(0))
22 SVG_ATTR(Width , SkSVGLength, SkSVGLength(0))
23 SVG_ATTR(Height, SkSVGLength, SkSVGLength(0))
25 SVG_OPTIONAL_ATTR(Rx, SkSVGLength)
26 SVG_OPTIONAL_ATTR(Ry, SkSVGLength)
DSkSVGSVG.h25 SVG_ATTR(X , SkSVGLength, SkSVGLength(0))
26 SVG_ATTR(Y , SkSVGLength, SkSVGLength(0))
27 SVG_ATTR(Width , SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
28 SVG_ATTR(Height , SkSVGLength, SkSVGLength(100, SkSVGLength::Unit::kPercentage))
DSkSVGEllipse.h20 SVG_ATTR(Cx, SkSVGLength, SkSVGLength(0))
21 SVG_ATTR(Cy, SkSVGLength, SkSVGLength(0))
22 SVG_ATTR(Rx, SkSVGLength, SkSVGLength(0))
23 SVG_ATTR(Ry, SkSVGLength, SkSVGLength(0))
DSkSVGLine.h20 SVG_ATTR(X1, SkSVGLength, SkSVGLength(0))
21 SVG_ATTR(Y1, SkSVGLength, SkSVGLength(0))
22 SVG_ATTR(X2, SkSVGLength, SkSVGLength(0))
23 SVG_ATTR(Y2, SkSVGLength, SkSVGLength(0))
DSkSVGImage.h42 SVG_ATTR(X , SkSVGLength , SkSVGLength(0))
43 SVG_ATTR(Y , SkSVGLength , SkSVGLength(0))
44 SVG_ATTR(Width , SkSVGLength , SkSVGLength(0))
45 SVG_ATTR(Height , SkSVGLength , SkSVGLength(0))
DSkSVGCircle.h20 SVG_ATTR(Cx, SkSVGLength, SkSVGLength(0))
21 SVG_ATTR(Cy, SkSVGLength, SkSVGLength(0))
22 SVG_ATTR(R , SkSVGLength, SkSVGLength(0))
DSkSVGRenderContext.h24 class SkSVGLength; variable
40 SkScalar resolve(const SkSVGLength&, LengthType) const;
41 SkRect resolveRect(const SkSVGLength& x, const SkSVGLength& y,
42 const SkSVGLength& w, const SkSVGLength& h) const;
148 SkRect resolveOBBRect(const SkSVGLength& x, const SkSVGLength& y,
149 const SkSVGLength& w, const SkSVGLength& h,
DSkSVGPattern.h23 SVG_OPTIONAL_ATTR(X , SkSVGLength)
24 SVG_OPTIONAL_ATTR(Y , SkSVGLength)
25 SVG_OPTIONAL_ATTR(Width , SkSVGLength)
26 SVG_OPTIONAL_ATTR(Height , SkSVGLength)
38 SkTLazy<SkSVGLength> fX,
/external/skia/modules/svg/src/
DSkSVGFe.cpp21 const auto x = fX.isValid() ? *fX : SkSVGLength(0, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
22 const auto y = fY.isValid() ? *fY : SkSVGLength(0, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
23 const auto w = fWidth.isValid() ? *fWidth : SkSVGLength(100, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
24 const auto h = fHeight.isValid() ? *fHeight : SkSVGLength(100, SkSVGLength::Unit::kPercentage); in resolveBoundaries()
97 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", name, value)) || in parseAndSetAttribute()
98 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", name, value)) || in parseAndSetAttribute()
99 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", name, value)) || in parseAndSetAttribute()
100 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", name, value)); in parseAndSetAttribute()
DSkSVGRect.cpp20 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", n, v)) || in parseAndSetAttribute()
21 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", n, v)) || in parseAndSetAttribute()
22 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", n, v)) || in parseAndSetAttribute()
23 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", n, v)) || in parseAndSetAttribute()
24 this->setRx(SkSVGAttributeParser::parse<SkSVGLength>("rx", n, v)) || in parseAndSetAttribute()
25 this->setRy(SkSVGAttributeParser::parse<SkSVGLength>("ry", n, v)); in parseAndSetAttribute()
52 : std::make_tuple(SkSVGLength(0), SkSVGLength(0)); in resolve()
DSkSVGPattern.cpp19 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", name, value)) || in parseAndSetAttribute()
20 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", name, value)) || in parseAndSetAttribute()
21 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", name, value)) || in parseAndSetAttribute()
22 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", name, value)) || in parseAndSetAttribute()
95 attrs.fX.isValid() ? *attrs.fX : SkSVGLength(0), in onAsPaint()
96 attrs.fY.isValid() ? *attrs.fY : SkSVGLength(0), in onAsPaint()
97 attrs.fWidth.isValid() ? *attrs.fWidth : SkSVGLength(0), in onAsPaint()
98 attrs.fHeight.isValid() ? *attrs.fHeight : SkSVGLength(0)); in onAsPaint()

123