Lines Matching full:bounds
350 * canvas bounds.
353 static bool calculate_inverse_path(const SkRect& bounds, const SkPath& invPath,
358 clipPath.addRect(bounds);
423 // The bounds are slightly outset to ensure this is correct in the
1053 // clip the tmpSrc to the bounds of the bitmap, and recompute dstRect if
1526 * inverse using the current clip as the inverse bounds.
1564 // Get bounds of clip in current transform space
1565 // (clip bounds are given in device space).
1566 SkRect bounds;
1575 bounds.set(d.fClip->getBounds());
1576 transformInverse.mapRect(&bounds);
1578 // Extend the bounds by the line width (plus some padding)
1580 bounds.outset(paint.getStrokeWidth() + SK_Scalar1,
1583 if (!calculate_inverse_path(bounds, *pathPtr, &modifiedPath)) {
2053 SkIRect bounds = clipRegion.getBounds();
2055 // We need to apply the initial transform to bounds in order to get
2056 // bounds in a consistent coordinate system.
2058 boundsTemp.set(bounds);
2060 boundsTemp.roundOut(&bounds);
2062 pdfShader.reset(SkPDFShader::GetPDFShader(*shader, transform, bounds));
2204 // Retrieve the bounds of the new shape.
2205 SkRect bounds = perspectiveOutline.getBounds();
2222 bounds.width();
2224 bounds.height();
2243 SkScalar deltaX = bounds.left();
2244 SkScalar deltaY = bounds.top();
2265 SkIRect::MakeXYWH(SkScalarFloorToInt(bounds.x()),
2266 SkScalarFloorToInt(bounds.y()),
2267 SkScalarCeilToInt(bounds.width()),
2268 SkScalarCeilToInt(bounds.height())));