Lines Matching refs:targetRect
149 void SVGPatternElement::buildPattern(const FloatRect& targetRect) const in buildPattern()
162 patternBoundaries = FloatRect(attributes.x().valueAsPercentage() * targetRect.width(), in buildPattern()
163 attributes.y().valueAsPercentage() * targetRect.height(), in buildPattern()
164 attributes.width().valueAsPercentage() * targetRect.width(), in buildPattern()
165 … attributes.height().valueAsPercentage() * targetRect.height()); in buildPattern()
173 if (patternBoundaries.width() > targetRect.width()) in buildPattern()
174 patternBoundaries.setWidth(targetRect.width()); in buildPattern()
176 if (patternBoundaries.height() > targetRect.height()) in buildPattern()
177 patternBoundaries.setHeight(targetRect.height()); in buildPattern()
206 patternContentBoundaries = FloatRect(patternContentBoundaries.x() * targetRect.width(), in buildPattern()
207 patternContentBoundaries.y() * targetRect.height(), in buildPattern()
208 … patternContentBoundaries.width() * targetRect.width(), in buildPattern()
209 … patternContentBoundaries.height() * targetRect.height()); in buildPattern()
239 context->translate(targetRect.x(), targetRect.y()); in buildPattern()
240 context->scale(FloatSize(targetRect.width(), targetRect.height())); in buildPattern()