Home
last modified time | relevance | path

Searched refs:LengthType (Results 1 – 20 of 20) sorted by relevance

/external/skqp/experimental/svg/model/
DSkSVGRadialGradient.cpp72 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in onMakeShader()
74 lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal), in onMakeShader()
75 lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical)); in onMakeShader()
77 fFx.isValid() ? lctx.resolve(*fFx.get(), SkSVGLengthContext::LengthType::kHorizontal) in onMakeShader()
79 fFy.isValid() ? lctx.resolve(*fFy.get(), SkSVGLengthContext::LengthType::kVertical) in onMakeShader()
DSkSVGRenderContext.cpp20 SkScalar length_size_for_type(const SkSize& viewport, SkSVGLengthContext::LengthType t) { in length_size_for_type()
22 case SkSVGLengthContext::LengthType::kHorizontal: in length_size_for_type()
24 case SkSVGLengthContext::LengthType::kVertical: in length_size_for_type()
26 case SkSVGLengthContext::LengthType::kOther: in length_size_for_type()
43 SkScalar SkSVGLengthContext::resolve(const SkSVGLength& l, LengthType t) const { in resolve()
70 this->resolve(x, SkSVGLengthContext::LengthType::kHorizontal), in resolveRect()
71 this->resolve(y, SkSVGLengthContext::LengthType::kVertical), in resolveRect()
72 this->resolve(w, SkSVGLengthContext::LengthType::kHorizontal), in resolveRect()
73 this->resolve(h, SkSVGLengthContext::LengthType::kVertical)); in resolveRect()
172 SkSVGLengthContext::LengthType::kOther)); in commitToPaint()
[all …]
DSkSVGLinearGradient.cpp63 const auto x1 = lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
64 const auto y1 = lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
65 const auto x2 = lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
66 const auto y2 = lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
DSkSVGEllipse.cpp59 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
61 const auto rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
62 const auto ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
DSkSVGLine.cpp60 SkPoint::Make(lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
61 lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical)), in resolve()
62 SkPoint::Make(lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
63 lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical))); in resolve()
DSkSVGCircle.cpp50 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
52 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in resolve()
DSkSVGRenderContext.h28 enum class LengthType { enum
37 SkScalar resolve(const SkSVGLength&, LengthType) const;
DSkSVGRect.cpp79 const SkScalar rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
80 const SkScalar ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
DSkSVGSVG.cpp107 return SkSize::Make(lctx.resolve(fWidth, SkSVGLengthContext::LengthType::kHorizontal), in intrinsicSize()
108 lctx.resolve(fHeight, SkSVGLengthContext::LengthType::kVertical)); in intrinsicSize()
DSkSVGGradient.cpp62 pos->push_back(SkTPin(ltx.resolve(stop.offset(), SkSVGLengthContext::LengthType::kOther), in collectColorStops()
/external/skia/experimental/svg/model/
DSkSVGRadialGradient.cpp72 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in onMakeShader()
74 lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal), in onMakeShader()
75 lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical)); in onMakeShader()
77 fFx.isValid() ? lctx.resolve(*fFx.get(), SkSVGLengthContext::LengthType::kHorizontal) in onMakeShader()
79 fFy.isValid() ? lctx.resolve(*fFy.get(), SkSVGLengthContext::LengthType::kVertical) in onMakeShader()
DSkSVGRenderContext.cpp20 SkScalar length_size_for_type(const SkSize& viewport, SkSVGLengthContext::LengthType t) { in length_size_for_type()
22 case SkSVGLengthContext::LengthType::kHorizontal: in length_size_for_type()
24 case SkSVGLengthContext::LengthType::kVertical: in length_size_for_type()
26 case SkSVGLengthContext::LengthType::kOther: in length_size_for_type()
43 SkScalar SkSVGLengthContext::resolve(const SkSVGLength& l, LengthType t) const { in resolve()
70 this->resolve(x, SkSVGLengthContext::LengthType::kHorizontal), in resolveRect()
71 this->resolve(y, SkSVGLengthContext::LengthType::kVertical), in resolveRect()
72 this->resolve(w, SkSVGLengthContext::LengthType::kHorizontal), in resolveRect()
73 this->resolve(h, SkSVGLengthContext::LengthType::kVertical)); in resolveRect()
172 SkSVGLengthContext::LengthType::kOther)); in commitToPaint()
[all …]
DSkSVGLinearGradient.cpp63 const auto x1 = lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
64 const auto y1 = lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
65 const auto x2 = lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
66 const auto y2 = lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
DSkSVGEllipse.cpp59 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
61 const auto rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
62 const auto ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
DSkSVGLine.cpp60 SkPoint::Make(lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
61 lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical)), in resolve()
62 SkPoint::Make(lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
63 lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical))); in resolve()
DSkSVGCircle.cpp50 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
52 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in resolve()
DSkSVGRenderContext.h28 enum class LengthType { enum
37 SkScalar resolve(const SkSVGLength&, LengthType) const;
DSkSVGRect.cpp79 const SkScalar rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
80 const SkScalar ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
DSkSVGSVG.cpp107 return SkSize::Make(lctx.resolve(fWidth, SkSVGLengthContext::LengthType::kHorizontal), in intrinsicSize()
108 lctx.resolve(fHeight, SkSVGLengthContext::LengthType::kVertical)); in intrinsicSize()
DSkSVGGradient.cpp62 pos->push_back(SkTPin(ltx.resolve(stop.offset(), SkSVGLengthContext::LengthType::kOther), in collectColorStops()