Lines Matching refs:SkSVGLengthContext
20 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()
67 SkRect SkSVGLengthContext::resolveRect(const SkSVGLength& x, const SkSVGLength& y, in resolveRect()
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()
185 SkSVGLengthContext::LengthType::kOther); in commitToPaint()
237 SkSVGLengthContext::LengthType::kOther); in commitToPaint()
276 SkSVGRenderContext dummy(&dummyCanvas, SkSVGIDMapper(), SkSVGLengthContext(SkSize::Make(0, 0)), in SkSVGPresentationContext()
291 const SkSVGLengthContext& lctx, in SkSVGRenderContext()