/third_party/flutter/skia/src/pdf/ |
D | SkPDFGraphicStackState.cpp | 33 static bool is_rect(const SkClipStack& clipStack, const SkRect& bounds, SkRect* dst) { in is_rect() argument 35 SkClipStack::Iter iter(clipStack, SkClipStack::Iter::kBottom_IterStart); in is_rect() 117 static void append_clip(const SkClipStack& clipStack, in append_clip() argument 126 if (is_rect(clipStack, outsetBounds, &clipStackRect)) { in append_clip() 132 if (is_complex_clip(clipStack)) { in append_clip() 134 (void)clipStack.asPath(&clipPath); in append_clip() 141 apply_clip(clipStack, outsetBounds, [wStream](const SkPath& path) { in append_clip() 149 void SkPDFGraphicStackState::updateClip(const SkClipStack* clipStack, const SkIRect& bounds) { in updateClip() argument 150 uint32_t clipStackGenID = clipStack ? clipStack->getTopmostGenID() in updateClip() 163 SkASSERT(clipStack); in updateClip() [all …]
|
D | SkPDFDevice.cpp | 208 const SkClipStack* clipStack, in ScopedContentEntry() argument 214 , fClipStack(clipStack) in ScopedContentEntry() 222 fDevice->setUpContentEntry(clipStack, matrix, paint, textScale, &fDstFormXObject); in ScopedContentEntry() 468 void SkPDFDevice::internalDrawPathWithFilter(const SkClipStack& clipStack, in internalDrawPathWithFilter() argument 481 SkIRect bounds = clipStack.bounds(this->bounds()).roundOut(); in internalDrawPathWithFilter() 506 ScopedContentEntry content(this, &clipStack, SkMatrix::I(), *paint); in internalDrawPathWithFilter() 533 void SkPDFDevice::internalDrawPath(const SkClipStack& clipStack, in internalDrawPath() argument 538 if (clipStack.isEmpty(this->bounds())) { in internalDrawPath() 546 this->internalDrawPathWithFilter(clipStack, ctm, origPath, *paint); in internalDrawPath() 553 if (clipStack.isEmpty(this->bounds())) { in internalDrawPath() [all …]
|
D | SkPDFDevice.h | 160 SkDynamicMemoryWStream* setUpContentEntry(const SkClipStack* clipStack, 183 void internalDrawPathWithFilter(const SkClipStack& clipStack,
|
D | SkPDFGraphicStackState.h | 31 void updateClip(const SkClipStack* clipStack, const SkIRect& bounds);
|
/third_party/skia/src/pdf/ |
D | SkPDFGraphicStackState.cpp | 28 static bool is_rect(const SkClipStack& clipStack, const SkRect& bounds, SkRect* dst) { in is_rect() argument 30 SkClipStack::Iter iter(clipStack, SkClipStack::Iter::kBottom_IterStart); in is_rect() 108 static void append_clip(const SkClipStack& clipStack, in append_clip() argument 117 if (is_rect(clipStack, outsetBounds, &clipStackRect)) { in append_clip() 123 if (is_complex_clip(clipStack)) { in append_clip() 125 SkClipStack_AsPath(clipStack, &clipPath); in append_clip() 132 apply_clip(clipStack, outsetBounds, [wStream](const SkPath& path) { in append_clip() 140 void SkPDFGraphicStackState::updateClip(const SkClipStack* clipStack, const SkIRect& bounds) { in updateClip() argument 141 uint32_t clipStackGenID = clipStack ? clipStack->getTopmostGenID() in updateClip() 154 SkASSERT(clipStack); in updateClip() [all …]
|
D | SkPDFDevice.cpp | 231 const SkClipStack* clipStack, in ScopedContentEntry() argument 237 , fClipStack(clipStack) in ScopedContentEntry() 245 fDevice->setUpContentEntry(clipStack, matrix, paint, textScale, &fDstFormXObject); in ScopedContentEntry() 492 void SkPDFDevice::internalDrawPathWithFilter(const SkClipStack& clipStack, in internalDrawPathWithFilter() argument 505 SkIRect bounds = clipStack.bounds(this->bounds()).roundOut(); in internalDrawPathWithFilter() 530 ScopedContentEntry content(this, &clipStack, SkMatrix::I(), *paint); in internalDrawPathWithFilter() 557 void SkPDFDevice::internalDrawPath(const SkClipStack& clipStack, in internalDrawPath() argument 562 if (clipStack.isEmpty(this->bounds())) { in internalDrawPath() 570 this->internalDrawPathWithFilter(clipStack, ctm, origPath, *paint); in internalDrawPath() 577 if (clipStack.isEmpty(this->bounds())) { in internalDrawPath() [all …]
|
D | SkPDFDevice.h | 155 SkDynamicMemoryWStream* setUpContentEntry(const SkClipStack* clipStack, 179 void internalDrawPathWithFilter(const SkClipStack& clipStack,
|
D | SkPDFGraphicStackState.h | 31 void updateClip(const SkClipStack* clipStack, const SkIRect& bounds);
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | engine_canvas.dart | 89 @required this.clipStack, 93 final List<_SaveClipEntry> clipStack; 149 clipStack: 164 _clipStack = entry.clipStack;
|
D | bitmap_canvas.dart | 1009 List<html.Element> _clipContent(List<_SaveClipEntry> clipStack, 1013 final int len = clipStack.length; 1015 final _SaveClipEntry entry = clipStack[clipIndex];
|