Lines Matching full:bounds
54 // Helpers for computing fast bounds for quickReject tests
68 by the device's XY offset and bitmap-bounds.
340 done accumulating bounds for that draw.
481 /* Now we update our initial region to have the bounds of the new device,
482 and then intersect all of the clips in our stack with these bounds,
483 to ensure that we can't draw outside of the device's bounds (and trash
492 accurately take advantage of the new device bounds.
501 // compute our total bounds for all devices
502 SkIRect bounds;
504 bounds.set(0, 0, device->width(), device->height());
506 // now jam our 1st clip to be bounds, and intersect the rest with that
507 rec->fRegion->setRect(bounds);
509 (void)rec->fRegion->op(bounds, SkRegion::kIntersect_Op);
582 const SkIRect& bounds,
593 if (device->intersects(bounds))
621 int SkCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint,
632 if (NULL != bounds) {
635 this->getTotalMatrix().mapRect(&r, *bounds);
637 // early exit if the layer's bounds are clipped out
643 } else { // no user bounds, so just use the clip
668 int SkCanvas::saveLayerAlpha(const SkRect* bounds, U8CPU alpha,
671 return this->saveLayer(bounds, NULL, flags);
675 return this->saveLayer(bounds, &tmpPaint, flags);
957 // check if we are above or below the local clip bounds
962 bool SkCanvas::getClipBounds(SkRect* bounds, EdgeType et) const {
965 if (bounds) {
966 bounds->setEmpty();
972 // if we can't invert the CTM, we can't return local clip bounds
974 if (bounds) {
975 bounds->setEmpty();
980 if (NULL != bounds) {
982 // get the clip's bounds
990 inverse.mapRect(bounds, r);
1073 const SkRect& bounds = path.getBounds();
1074 if (this->quickReject(paint.computeFastBounds(bounds, &storage),