Lines Matching defs:deviceBounds
966 SkRect deviceBounds;
967 deviceBounds.set(fState.get()->fBBox);
968 if (!inverseTransformBBox(finalMatrix, &deviceBounds)) {
985 deviceBounds.join(bitmapBounds);
989 unflip.setTranslate(0, SkScalarRoundToScalar(deviceBounds.height()));
991 SkISize size = SkISize::Make(SkScalarRound(deviceBounds.width()),
992 SkScalarRound(deviceBounds.height()));
1002 canvas.translate(-deviceBounds.left(), -deviceBounds.top());
1003 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top());
1005 finalMatrix.preTranslate(deviceBounds.left(), deviceBounds.top());
1047 rect = SkRect::MakeLTRB(deviceBounds.left(), deviceBounds.top(), 0, 0);
1053 rect = SkRect::MakeLTRB(width, deviceBounds.top(),
1054 deviceBounds.right(), 0);
1061 deviceBounds.right(), deviceBounds.bottom());
1068 rect = SkRect::MakeLTRB(deviceBounds.left(), height,
1069 0, deviceBounds.bottom());
1079 if (deviceBounds.left() < 0) {
1084 leftMatrix.setScale(-deviceBounds.left(), 1);
1085 leftMatrix.postTranslate(deviceBounds.left(), 0);
1096 if (deviceBounds.right() > width) {
1102 rightMatrix.setScale(deviceBounds.right() - width, 1);
1111 patternBBox.fRight = deviceBounds.width();
1117 if (deviceBounds.top() < 0) {
1122 topMatrix.setScale(SK_Scalar1, -deviceBounds.top());
1123 topMatrix.postTranslate(0, deviceBounds.top());
1134 if (deviceBounds.bottom() > height) {
1140 bottomMatrix.setScale(SK_Scalar1, deviceBounds.bottom() - height);
1149 patternBBox.fBottom = deviceBounds.height();