Lines Matching refs:clipStack

221 static bool is_rect(const SkClipStack& clipStack, const SkRect& bounds, SkRect* dst) {  in is_rect()  argument
223 SkClipStack::Iter iter(clipStack, SkClipStack::Iter::kBottom_IterStart); in is_rect()
250 static void append_clip(const SkClipStack& clipStack, in append_clip() argument
259 if (is_rect(clipStack, outsetBounds, &clipStackRect)) { in append_clip()
266 (void)clipStack.asPath(&clipPath); in append_clip()
286 void SkPDFDevice::GraphicStackState::updateClip(const SkClipStack* clipStack, in updateClip() argument
288 uint32_t clipStackGenID = clipStack ? clipStack->getTopmostGenID() in updateClip()
302 SkASSERT(clipStack); in updateClip()
306 append_clip(*clipStack, bounds, fContentStream); in updateClip()
397 const SkClipStack* clipStack, in ScopedContentEntry() argument
403 , fClipStack(clipStack) in ScopedContentEntry()
411 fDevice->setUpContentEntry(clipStack, matrix, paint, textScale, &fDstFormXObject); in ScopedContentEntry()
726 void SkPDFDevice::internalDrawPathWithFilter(const SkClipStack& clipStack, in internalDrawPathWithFilter() argument
739 SkIRect bounds = clipStack.bounds(this->bounds()).roundOut(); in internalDrawPathWithFilter()
764 ScopedContentEntry content(this, &clipStack, SkMatrix::I(), *paint); in internalDrawPathWithFilter()
796 void SkPDFDevice::internalDrawPath(const SkClipStack& clipStack, in internalDrawPath() argument
801 if (clipStack.isEmpty(this->bounds())) { in internalDrawPath()
811 this->internalDrawPathWithFilter(clipStack, ctm, origPath, paint); in internalDrawPath()
818 if (clipStack.isEmpty(this->bounds())) { in internalDrawPath()
851 ScopedContentEntry content(this, &clipStack, matrix, paint); in internalDrawPath()
1489 const SkClipStack* clipStack, in populate_graphic_state_entry_from_paint() argument
1502 entry->fClipStackGenID = clipStack ? clipStack->getTopmostGenID() in populate_graphic_state_entry_from_paint()
1530 SkRect clipStackBounds = clipStack ? clipStack->bounds(deviceBounds) in populate_graphic_state_entry_from_paint()
1561 SkDynamicMemoryWStream* SkPDFDevice::setUpContentEntry(const SkClipStack* clipStack, in setUpContentEntry() argument
1609 clipStack, in setUpContentEntry()
1617 fActiveStackState.updateClip(clipStack, this->bounds()); in setUpContentEntry()
1624 void SkPDFDevice::finishContentEntry(const SkClipStack* clipStack, in finishContentEntry() argument
1709 shapeDev.internalDrawPath(clipStack ? *clipStack : empty, in finishContentEntry()