Lines Matching defs:const
13 bool SkSVGSVG::onPrepareToRender(SkSVGRenderContext* ctx) const {
15 const auto x = fType == Type::kInner ? fX : SkSVGLength(0);
16 const auto y = fType == Type::kInner ? fY : SkSVGLength(0);
23 const SkRect& viewBox = *fViewBox;
48 void SkSVGSVG::onSetAttribute(SkSVGAttribute attr, const SkSVGValue& v) {
51 if (const auto* x = v.as<SkSVGLengthValue>()) {
56 if (const auto* y = v.as<SkSVGLengthValue>()) {
61 if (const auto* w = v.as<SkSVGLengthValue>()) {
66 if (const auto* h = v.as<SkSVGLengthValue>()) {
71 if (const auto* vb = v.as<SkSVGViewBoxValue>()) {
76 if (const auto* par = v.as<SkSVGPreserveAspectRatioValue>()) {
86 SkSize SkSVGSVG::intrinsicSize(const SkSVGLengthContext& lctx) const {