/external/skia/src/core/ |
D | SkMaskFilter.cpp | 53 const SkIRect& bounds, const SkIRect& clipR) { in blitClippedMask() argument 55 if (r.intersect(bounds, clipR)) { in blitClippedMask() 60 static void blitClippedRect(SkBlitter* blitter, const SkIRect& rect, const SkIRect& clipR) { in blitClippedRect() argument 62 if (r.intersect(rect, clipR)) { in blitClippedRect() 81 const SkIRect& clipR, SkBlitter* blitter) { in draw_nine_clipped() argument 93 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped() 103 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped() 113 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped() 124 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped() 133 blitClippedRect(blitter, innerR, clipR); in draw_nine_clipped() [all …]
|
D | SkScan_Hairline.cpp | 44 SkIRect clipR, ptsR; in HairLineRgn() local 87 clipR.set(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop), in HairLineRgn() 98 if (!SkIRect::Intersects(ptsR, clipR)) { in HairLineRgn() 101 if (!clip->isRect() || !clipR.contains(ptsR)) { in HairLineRgn()
|
D | SkRasterClip.cpp | 78 bool SkRasterClip::setConservativeRect(const SkRect& r, const SkIRect& clipR, bool isInverse) { in setConservativeRect() argument 85 fBW.setRect(clipR); in setConservativeRect()
|
D | SkRasterClip.h | 116 bool setConservativeRect(const SkRect& r, const SkIRect& clipR, bool isInverse);
|
D | SkBlitter.cpp | 563 const SkIRect& clipR = clip->getBounds(); in apply() local 565 if (clip->isEmpty() || (ir && !SkIRect::Intersects(clipR, *ir))) { in apply() 568 if (ir == nullptr || !clipR.contains(*ir)) { in apply() 569 fRectBlitter.init(blitter, clipR); in apply()
|
D | SkCanvas.cpp | 1745 const SkRect& clipR = this->getLocalClipBounds(); in quickReject() local 1749 if (rect.fTop >= clipR.fBottom || rect.fBottom <= clipR.fTop) { in quickReject() 1752 if (rect.fLeft >= clipR.fRight || rect.fRight <= clipR.fLeft) { in quickReject()
|
/external/skia/gm/ |
D | offsetimagefilter.cpp | 115 const SkRect* clipR = nullptr) { in doDraw() argument 118 if (clipR) { in doDraw() 121 canvas->drawRect(clipR->makeInset(SK_ScalarHalf, SK_ScalarHalf), p); in doDraw() 137 if (clipR) { in doDraw() 139 canvas->clipRect(*clipR); in doDraw() 147 if (clipR) { in doDraw() 176 SkRect clipR = SkRect::MakeXYWH(40, 40, 40, 40); in onDraw() local 178 this->doDraw(canvas, r, SkOffsetImageFilter::Create(20, 20, nullptr, nullptr), &clipR); in onDraw()
|
D | pathfill.cpp | 189 SkRect clipR = { 0, 0, SkIntToScalar(100), SkIntToScalar(200) }; in onDraw() local 199 canvas->clipRect(clipR); in onDraw() 201 const SkRect* clipPtr = doclip ? &clipR : nullptr; in onDraw() 203 show(canvas, path, paint, clipPtr, clipR.fTop, clipR.centerY()); in onDraw() 204 show(canvas, path, paint, clipPtr, clipR.centerY(), clipR.fBottom); in onDraw()
|
D | spritebitmap.cpp | 30 SkRect clipR = SkRect::MakeXYWH(SkIntToScalar(dx), in draw_1_bitmap() local 36 clipR.inset(5, 5); in draw_1_bitmap() 42 canvas->clipRect(clipR); in draw_1_bitmap()
|
/external/skia/include/core/ |
D | SkCanvas.h | 544 const SkRect& clipR = this->getLocalClipBounds(); in quickRejectY() local 549 return top >= clipR.fBottom || bottom <= clipR.fTop; in quickRejectY()
|