Lines Matching refs:deviceBounds

53     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()
146 deviceBounds.right(), 0); in make_image_shader()
153 deviceBounds.right(), deviceBounds.bottom()); in make_image_shader()
160 rect = SkRect::MakeLTRB(deviceBounds.left(), height, in make_image_shader()
161 0, deviceBounds.bottom()); in make_image_shader()
172 if (deviceBounds.left() < 0) { in make_image_shader()
177 leftMatrix.setScale(-deviceBounds.left(), 1); in make_image_shader()
178 leftMatrix.postTranslate(deviceBounds.left(), 0); in make_image_shader()
189 if (deviceBounds.right() > width) { in make_image_shader()
195 rightMatrix.setScale(deviceBounds.right() - width, 1); in make_image_shader()
204 patternBBox.fRight = deviceBounds.width(); in make_image_shader()
211 if (deviceBounds.top() < 0) { in make_image_shader()
216 topMatrix.setScale(SK_Scalar1, -deviceBounds.top()); in make_image_shader()
217 topMatrix.postTranslate(0, deviceBounds.top()); in make_image_shader()
228 if (deviceBounds.bottom() > height) { in make_image_shader()
234 bottomMatrix.setScale(SK_Scalar1, deviceBounds.bottom() - height); in make_image_shader()
243 patternBBox.fBottom = deviceBounds.height(); in make_image_shader()