Lines Matching refs:top
56 float left, float top, float right, float bottom,
58 SkRect rect{left, top, right, bottom};
113 canvas.translate(-deviceBounds.left(), -deviceBounds.top());
114 patternBBox.offset(-deviceBounds.left(), -deviceBounds.top());
116 finalMatrix.preTranslate(deviceBounds.left(), deviceBounds.top());
151 fill_color_from_bitmap(&canvas, deviceBounds.left(), deviceBounds.top(), 0, 0,
154 fill_color_from_bitmap(&canvas, width, deviceBounds.top(), deviceBounds.right(), 0,
164 // Then expand the left, right, top, then bottom.
211 if (deviceBounds.top() < 0) {
212 SkBitmap top;
213 SkAssertResult(bitmap.extractSubset(&top, subset));
215 SkMatrix topMatrix = scale_translate(1, -deviceBounds.top(), 0, deviceBounds.top());
216 draw_bitmap_matrix(&canvas, top, topMatrix, paintColor);
221 draw_bitmap_matrix(&canvas, top, topMatrix, paintColor);
243 if (deviceBounds.top() < 0) {