Lines Matching refs:attrs
111 PatternAttributes* attrs) const { in resolveHref()
117 inherit_if_needed(currentNode->fAttributes.fX , attrs->fX) | in resolveHref()
118 inherit_if_needed(currentNode->fAttributes.fY , attrs->fY) | in resolveHref()
119 inherit_if_needed(currentNode->fAttributes.fWidth , attrs->fWidth) | in resolveHref()
120 inherit_if_needed(currentNode->fAttributes.fHeight , attrs->fHeight) | in resolveHref()
121 inherit_if_needed(currentNode->fAttributes.fPatternTransform, attrs->fPatternTransform); in resolveHref()
141 PatternAttributes attrs; in onAsPaint() local
142 const auto* contentNode = this->resolveHref(ctx, &attrs); in onAsPaint()
145 attrs.fX.isValid() ? *attrs.fX.get() : SkSVGLength(0), in onAsPaint()
146 attrs.fY.isValid() ? *attrs.fY.get() : SkSVGLength(0), in onAsPaint()
147 attrs.fWidth.isValid() ? *attrs.fWidth.get() : SkSVGLength(0), in onAsPaint()
148 attrs.fHeight.isValid() ? *attrs.fHeight.get() : SkSVGLength(0)); in onAsPaint()
154 const SkMatrix* patternTransform = attrs.fPatternTransform.isValid() in onAsPaint()
155 ? &attrs.fPatternTransform.get()->value() in onAsPaint()