Lines Matching defs:bounds
49 // padding around path bounds to allow for antialiased pixels
75 // Compute bounds
76 this->setTransformedBounds(shape.bounds(), viewMatrix, HasAABloat::kYes, IsHairline::kNo);
82 fUsesDistanceField = this->bounds().width() > kMaxMIP || this->bounds().height() > kMaxMIP;
232 const SkRect& bounds = args.fShape.bounds();
236 args.fViewMatrix.mapRect(&xformedBounds, bounds);
237 maxScale = SkScalarAbs(std::max(xformedBounds.width() / bounds.width(),
238 xformedBounds.height() / bounds.height()));
242 SkScalar maxDim = std::max(bounds.width(), bounds.height());
325 const SkRect& bounds, int srcInset,
344 shapeData->fBounds = bounds;
357 const SkRect& bounds = shape.bounds();
360 SkRect scaledBounds = bounds;
451 const SkRect& bounds = shape.bounds();
452 if (bounds.isEmpty()) {
463 drawMatrix.mapRect(&shapeDevBounds, bounds);
596 if (!fHelper.isCompatible(that->fHelper, caps, this->bounds(), that->bounds())) {
693 // Only support paths with bounds within kMaxDim by kMaxDim,
694 // scaled to have bounds within kMaxSize by kMaxSize.
696 SkRect bounds = args.fShape->styledBounds();
697 SkScalar minDim = std::min(bounds.width(), bounds.height());
698 SkScalar maxDim = std::max(bounds.width(), bounds.height());