Searched refs:localBounds (Results 1 – 9 of 9) sorted by relevance
34 SkIRect localBounds = canvasBounds; in pushCanvas() local35 localBounds.offset(origin - fCanvasData[i-1].origin); in pushCanvas()37 fCanvasData[i-1].requiredClip.op(localBounds, SkRegion::kDifference_Op); in pushCanvas()
36 SkIRect localBounds = canvasBounds; in pushCanvas() local37 localBounds.offset(origin - fCanvasData[i-1].origin); in pushCanvas()39 fCanvasData[i-1].requiredClip.op(localBounds, SkRegion::kDifference_Op); in pushCanvas()
65 SkRect localBounds = localInv.mapRect(bounds); in computeFastBounds() local66 return fLocalM.mapRect(this->getInput(0)->computeFastBounds(localBounds)); in computeFastBounds()
64 SkRect localBounds = SkRect::Make(this->bounds()); in getGlobalBounds() local65 fDeviceToGlobal.mapRect(&localBounds); in getGlobalBounds()66 *bounds = localBounds.roundOut(); in getGlobalBounds()
56 bool SkDraw::computeConservativeLocalClipBounds(SkRect* localBounds) const { in computeConservativeLocalClipBounds()69 inverse.mapRect(localBounds, SkRect::Make(devBounds)); in computeConservativeLocalClipBounds()
1073 void SkCanvas::internalSaveBehind(const SkRect* localBounds) { in internalSaveBehind() argument1079 if (localBounds) { in internalSaveBehind()1081 device->localToDevice().mapRect(&tmp, *localBounds); in internalSaveBehind()
1112 void SkCanvas::internalSaveBehind(const SkRect* localBounds) { in internalSaveBehind() argument1114 if (localBounds) { in internalSaveBehind()1116 fMCRec->fMatrix.mapRect(&tmp, *localBounds); in internalSaveBehind()1147 if (localBounds) { in internalSaveBehind()1148 this->drawRect(*localBounds, paint); in internalSaveBehind()
53 bool SkDraw::computeConservativeLocalClipBounds(SkRect* localBounds) const { in computeConservativeLocalClipBounds()66 inverse.mapRect(localBounds, SkRect::Make(devBounds)); in computeConservativeLocalClipBounds()
198 SkRect localBounds = quad.fLocal.bounds(); in safe_to_ignore_subset_rect() local203 subsetRect.contains(localBounds)) { in safe_to_ignore_subset_rect()210 if (subsetRect.makeInset(0.5f, 0.5f).contains(localBounds)) { in safe_to_ignore_subset_rect()