Home
last modified time | relevance | path

Searched refs:scaledSrcRect (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.cpp82 …ScaledImageFragment(const SkRect& srcRect, float scaleX, float scaleY, SkRect* scaledSrcRect) const in extractScaledImageFragment()
93 scaleTransform.mapRect(scaledSrcRect, srcRect); in extractScaledImageFragment()
95 scaledSrcRect->intersect(scaledImageRect); in extractScaledImageFragment()
96 SkIRect enclosingScaledSrcRect = enclosingIntRect(*scaledSrcRect); in extractScaledImageFragment()
103 scaledSrcRect->offset(-enclosingScaledSrcRect.x(), -enclosingScaledSrcRect.y()); in extractScaledImageFragment()
257 SkRect scaledSrcRect; in drawPattern() local
271 … SkBitmap resampled = extractScaledImageFragment(normSrcRect, scaleX, scaleY, &scaledSrcRect); in drawPattern()
DNativeImageSkia.h144 …caledImageFragment(const SkRect& srcRect, float scaleX, float scaleY, SkRect* scaledSrcRect) const;
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
DSVGImage.cpp250 FloatRect scaledSrcRect = srcRect; in drawPatternForContainer() local
251 scaledSrcRect.scale(imageBufferScale.width(), imageBufferScale.height()); in drawPatternForContainer()
253 …image->drawPattern(context, scaledSrcRect, scaleWithoutCTM, phase, compositeOp, dstRect, blendMode… in drawPatternForContainer()