Lines Matching defs:height

34         bitmap.allocN32Pixels(image->width(), image->height());
104 SkScalarCeilToInt(deviceBounds.height())};
110 SkScalar height = patternBBox.height();
129 draw_matrix(&canvas, image, scale_translate(1, -1, 0, 2 * height), paintColor);
130 patternBBox.fBottom += height;
133 draw_matrix(&canvas, image, scale_translate(-1, -1, 2 * width, 2 * height), paintColor);
157 fill_color_from_bitmap(&canvas, width, height, deviceBounds.right(), deviceBounds.bottom(),
158 bitmap, bitmap.width() - 1, bitmap.height() - 1, paintColor.fA);
160 fill_color_from_bitmap(&canvas, deviceBounds.left(), height, 0, deviceBounds.bottom(),
161 bitmap, 0, bitmap.height() - 1, paintColor.fA);
167 SkIRect subset = SkIRect::MakeXYWH(0, 0, 1, bitmap.height());
177 leftMatrix.postTranslate(0, 2 * height);
193 rightMatrix.postTranslate(0, 2 * height);
226 if (deviceBounds.bottom() > height) {
228 subset.offset(0, bitmap.height() - 1);
231 SkMatrix bottomMatrix = scale_translate(1, deviceBounds.bottom() - height, 0, height);
239 patternBBox.fBottom = deviceBounds.height();
246 if (deviceBounds.bottom() > height) {
247 patternBBox.fBottom = deviceBounds.height();
285 SkScalar bitmapArea = (float)surfaceBBox.width() * (float)surfaceBBox.height();
293 SkTPin(SkScalarCeilToInt(rasterScale * surfaceBBox.height()), 1, kMaxBitmapArea)};
295 SkIntToScalar(size.height()) / shaderRect.height()};
297 auto surface = SkSurface::MakeRasterN32Premul(size.width(), size.height());
305 canvas->scale(scale.width(), scale.height());
310 shaderTransform.preScale(1 / scale.width(), 1 / scale.height());