Home
last modified time | relevance | path

Searched refs:targetRect (Results 1 – 7 of 7) sorted by relevance

/external/webkit/WebCore/svg/
DSVGPatternElement.cpp149 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()
[all …]
DSVGMaskElement.cpp128 PassOwnPtr<ImageBuffer> SVGMaskElement::drawMaskerContent(const FloatRect& targetRect, FloatRect& m… in drawMaskerContent() argument
137 xValue = x().valueAsPercentage() * targetRect.width(); in drawMaskerContent()
138 yValue = y().valueAsPercentage() * targetRect.height(); in drawMaskerContent()
139 widthValue = width().valueAsPercentage() * targetRect.width(); in drawMaskerContent()
140 heightValue = height().valueAsPercentage() * targetRect.height(); in drawMaskerContent()
163 maskDestRect.move(targetRect.x(), targetRect.y()); in drawMaskerContent()
173 maskImageContext->scale(FloatSize(targetRect.width(), targetRect.height())); in drawMaskerContent()
DSVGMaskElement.h55 … PassOwnPtr<ImageBuffer> drawMaskerContent(const FloatRect& targetRect, FloatRect& maskRect) const;
DSVGPatternElement.h77 void buildPattern(const FloatRect& targetRect) const;
/external/webkit/WebCore/svg/graphics/
DSVGPaintServerPattern.cpp100 FloatRect targetRect = object->objectBoundingBox(); in setup() local
108 m_ownerElement->buildPattern(targetRect); in setup()
/external/webkit/WebKit/android/WebCoreSupport/
DMediaPlayerPrivateAndroid.cpp254 IntRect targetRect(posterX, posterY, posterWidth, posterHeight); in paint() local
255 canvas->drawBitmapRect(*m_poster, 0, targetRect, 0); in paint()
/external/webkit/WebKit/mac/
DChangeLog-2002-12-035146 Reverse targetRect and imageRect.