Home
last modified time | relevance | path

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

/external/skqp/src/pdf/
DSkPDFShader.cpp53 SkRect deviceBounds = SkRect::Make(key.fBBox); in make_image_shader() local
54 if (!SkPDFUtils::InverseTransformBBox(finalMatrix, &deviceBounds)) { in make_image_shader()
69 deviceBounds.join(bitmapBounds); in make_image_shader()
72 SkISize patternDeviceSize = {SkScalarCeilToInt(deviceBounds.width()), in make_image_shader()
73 SkScalarCeilToInt(deviceBounds.height())}; in make_image_shader()
80 canvas.translate(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
81 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
83 finalMatrix.preTranslate(deviceBounds.left(), deviceBounds.top()); in make_image_shader()
139 rect = SkRect::MakeLTRB(deviceBounds.left(), deviceBounds.top(), 0, 0); in make_image_shader()
145 rect = SkRect::MakeLTRB(width, deviceBounds.top(), in make_image_shader()
[all …]
DSkPDFDevice.cpp1490 SkIRect deviceBounds, in populate_graphic_state_entry_from_paint() argument
1530 SkRect clipStackBounds = clipStack ? clipStack->bounds(deviceBounds) in populate_graphic_state_entry_from_paint()
1531 : SkRect::Make(deviceBounds); in populate_graphic_state_entry_from_paint()
/external/skia/src/pdf/
DSkPDFShader.cpp53 SkRect deviceBounds = SkRect::Make(key.fBBox); in make_image_shader() local
54 if (!SkPDFUtils::InverseTransformBBox(finalMatrix, &deviceBounds)) { in make_image_shader()
69 deviceBounds.join(bitmapBounds); in make_image_shader()
72 SkISize patternDeviceSize = {SkScalarCeilToInt(deviceBounds.width()), in make_image_shader()
73 SkScalarCeilToInt(deviceBounds.height())}; in make_image_shader()
80 canvas.translate(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
81 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top()); in make_image_shader()
83 finalMatrix.preTranslate(deviceBounds.left(), deviceBounds.top()); in make_image_shader()
139 rect = SkRect::MakeLTRB(deviceBounds.left(), deviceBounds.top(), 0, 0); in make_image_shader()
145 rect = SkRect::MakeLTRB(width, deviceBounds.top(), in make_image_shader()
[all …]
DSkPDFDevice.cpp1477 SkIRect deviceBounds, in populate_graphic_state_entry_from_paint() argument
1517 SkRect clipStackBounds = clipStack ? clipStack->bounds(deviceBounds) in populate_graphic_state_entry_from_paint()
1518 : SkRect::Make(deviceBounds); in populate_graphic_state_entry_from_paint()
/external/skqp/src/core/
DSkClipStack.h324 SkRect bounds(const SkIRect& deviceBounds) const;
325 bool isEmpty(const SkIRect& deviceBounds) const;
DSkClipStack.cpp663 SkRect SkClipStack::bounds(const SkIRect& deviceBounds) const { in bounds()
669 return SkRect::Make(deviceBounds); in bounds()
671 return r.intersect(SkRect::Make(deviceBounds)) ? r : SkRect::MakeEmpty(); in bounds()
/external/skia/src/core/
DSkClipStack.h324 SkRect bounds(const SkIRect& deviceBounds) const;
325 bool isEmpty(const SkIRect& deviceBounds) const;
DSkClipStack.cpp663 SkRect SkClipStack::bounds(const SkIRect& deviceBounds) const { in bounds()
669 return SkRect::Make(deviceBounds); in bounds()
671 return r.intersect(SkRect::Make(deviceBounds)) ? r : SkRect::MakeEmpty(); in bounds()