Lines Matching defs:bounds
55 SkIRect bounds() const { return SkIRect::MakeWH(this->width(), this->height()); }
58 * Return the bounds of the device in the coordinate space of the root
62 void getGlobalBounds(SkIRect* bounds) const {
63 SkASSERT(bounds);
64 *bounds = SkMatrixPriv::MapRect(fDeviceToGlobal, SkRect::Make(this->bounds())).roundOut();
68 SkIRect bounds;
69 this->getGlobalBounds(&bounds);
70 return bounds;
75 * coordinate space. No pixels outside of these bounds will be touched by
77 * return the updated bounds).
232 // the global clip bounds by fToGlobal^-1.
356 * image at the specified x,y offset will fit within the device's bounds.
364 * image at the specified x,y offset will fit within the device's bounds.
474 SkNoPixelsDevice(const SkIRect& bounds, const SkSurfaceProps& props,
476 : SkBaseDevice(SkImageInfo::Make(bounds.size(), kUnknown_SkColorType,
480 //SkASSERT(bounds.width() >= 0 && bounds.height() >= 0);
482 this->setOrigin(SkM44(), bounds.left(), bounds.top());
486 void resetForNextPicture(const SkIRect& bounds) {
487 //SkASSERT(bounds.width() >= 0 && bounds.height() >= 0);
488 this->privateResize(bounds.width(), bounds.height());
489 this->setOrigin(SkM44(), bounds.left(), bounds.top());
507 this->onDevClipBounds() == this->bounds();
544 ClipState(const SkIRect& bounds, bool isAA, bool isRect)
545 : fClipBounds(bounds)
550 void op(SkClipOp op, const SkM44& transform, const SkRect& bounds,
559 fClipStack.emplace_back(this->bounds(), /*isAA=*/false, /*isRect=*/true);