Home
last modified time | relevance | path

Searched refs:deviceBounds (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/pdf/
DSkPDFShader.cpp975 SkRect deviceBounds; in make_image_shader() local
976 deviceBounds.set(state.fBBox); in make_image_shader()
977 if (!inverse_transform_bbox(finalMatrix, &deviceBounds)) { in make_image_shader()
993 deviceBounds.join(bitmapBounds); in make_image_shader()
996 SkISize size = SkISize::Make(SkScalarRoundToInt(deviceBounds.width()), in make_image_shader()
997 SkScalarRoundToInt(deviceBounds.height())); in make_image_shader()
1006 canvas.translate(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
1007 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
1009 finalMatrix.preTranslate(deviceBounds.left(), deviceBounds.top()); in make_image_shader()
1051 rect = SkRect::MakeLTRB(deviceBounds.left(), deviceBounds.top(), 0, 0); in make_image_shader()
[all …]
/external/skia/src/effects/
DSkPictureImageFilter.cpp144 const SkIRect& deviceBounds, in drawPictureAtDeviceResolution() argument
146 canvas->translate(-SkIntToScalar(deviceBounds.fLeft), -SkIntToScalar(deviceBounds.fTop)); in drawPictureAtDeviceResolution()
153 const SkIRect& deviceBounds, in drawPictureAtLocalResolution() argument
189 canvas->translate(-SkIntToScalar(deviceBounds.fLeft), -SkIntToScalar(deviceBounds.fTop)); in drawPictureAtLocalResolution()
/external/skia/include/effects/
DSkPictureImageFilter.h63 const SkIRect& deviceBounds,
67 const SkIRect& deviceBounds,
/external/skia/src/core/
DSkClipStack.h378 SkRect bounds(const SkIRect& deviceBounds) const;
379 bool isEmpty(const SkIRect& deviceBounds) const;
DSkClipStack.cpp588 SkRect SkClipStack::bounds(const SkIRect& deviceBounds) const { in bounds()
594 return SkRect::Make(deviceBounds); in bounds()
596 return r.intersect(SkRect::Make(deviceBounds)) ? r : SkRect::MakeEmpty(); in bounds()