Lines Matching refs:SkSVGLengthContext
24 SkScalar length_size_for_type(const SkSize& viewport, SkSVGLengthContext::LengthType t) { in length_size_for_type()
26 case SkSVGLengthContext::LengthType::kHorizontal: in length_size_for_type()
28 case SkSVGLengthContext::LengthType::kVertical: in length_size_for_type()
30 case SkSVGLengthContext::LengthType::kOther: { in length_size_for_type()
51 SkScalar SkSVGLengthContext::resolve(const SkSVGLength& l, LengthType t) const { in resolve()
75 SkRect SkSVGLengthContext::resolveRect(const SkSVGLength& x, const SkSVGLength& y, in resolveRect()
78 this->resolve(x, SkSVGLengthContext::LengthType::kHorizontal), in resolveRect()
79 this->resolve(y, SkSVGLengthContext::LengthType::kVertical), in resolveRect()
80 this->resolve(w, SkSVGLengthContext::LengthType::kHorizontal), in resolveRect()
81 this->resolve(h, SkSVGLengthContext::LengthType::kVertical)); in resolveRect()
113 const SkSVGLengthContext& lctx) { in dash_effect()
122 intervals.push_back(lctx.resolve(dash, SkSVGLengthContext::LengthType::kOther)); in dash_effect()
135 SkSVGLengthContext::LengthType::kOther); in dash_effect()
150 const SkSVGLengthContext& lctx, in SkSVGRenderContext()
451 SkSVGLengthContext::LengthType::kOther)); in strokePaint()
488 SkTCopyOnFirstWrite<SkSVGLengthContext> lctx(fLengthContext); in resolveOBBRect()
491 *lctx.writable() = SkSVGLengthContext({1,1}); in resolveOBBRect()