Searched defs:deviceBounds (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/effects/
H A DSkPictureImageFilter.cpp149 const SkIRect& deviceBounds,
158 canvas->translate(-SkIntToScalar(deviceBounds.fLeft), -SkIntToScalar(deviceBounds.fTop));
165 const SkIRect& deviceBounds,
208 canvas->translate(-SkIntToScalar(deviceBounds.fLeft), -SkIntToScalar(deviceBounds.fTop));
148 drawPictureAtDeviceResolution(SkCanvas* canvas, const SkIRect& deviceBounds, const Context& ctx) const argument
163 drawPictureAtLocalResolution(SkSpecialImage* source, SkCanvas* canvas, const SkIRect& deviceBounds, const Context& ctx) const argument
/external/skia/src/pdf/
H A DSkPDFShader.cpp50 SkRect deviceBounds = SkRect::Make(key.fBBox); local
51 if (!SkPDFUtils::InverseTransformBBox(finalMatrix, &deviceBounds)) {
66 deviceBounds.join(bitmapBounds);
69 SkISize patternDeviceSize = {SkScalarCeilToInt(deviceBounds.width()),
70 SkScalarCeilToInt(deviceBounds.height())};
77 canvas.translate(-deviceBounds.left(), -deviceBounds.top());
78 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top());
80 finalMatrix.preTranslate(deviceBounds
[all...]

Completed in 191 milliseconds