Home
last modified time | relevance | path

Searched refs:fClipRect (Results 1 – 8 of 8) sorted by relevance

/external/skia/bench/
DAAClipBench.cpp21 SkRect fClipRect; member in AAClipBench
35 fClipRect.set(10.5f, 10.5f, in AAClipBench()
37 fClipPath.addRoundRect(fClipRect, SkIntToScalar(10), SkIntToScalar(10)); in AAClipBench()
53 fClipRect.offset((i % 2) == 0 ? SkIntToScalar(10) : SkIntToScalar(-10), 0); in onDraw()
55 fClipPath.addRoundRect(fClipRect, in onDraw()
64 canvas->clipRect(fClipRect, SkRegion::kReplace_Op, fDoAA); in onDraw()
75 canvas->drawRect(fClipRect, paint); in onDraw()
/external/skia/src/core/
DSkBlitter.cpp292 if (!y_in_rect(y, fClipRect)) { in blitH()
298 if (left < fClipRect.fLeft) { in blitH()
299 left = fClipRect.fLeft; in blitH()
301 if (right > fClipRect.fRight) { in blitH()
302 right = fClipRect.fRight; in blitH()
313 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) { in blitAntiH()
320 if (x1 <= fClipRect.fLeft) { in blitAntiH()
325 if (x0 < fClipRect.fLeft) { in blitAntiH()
326 int dx = fClipRect.fLeft - x0; in blitAntiH()
330 x0 = fClipRect.fLeft; in blitAntiH()
[all …]
DSkScanPriv.h22 const SkIRect* getClipRect() const { return fClipRect; } in getClipRect()
28 const SkIRect* fClipRect; variable
DSkScan_Path.cpp554 fClipRect = nullptr; in SkScanClipper()
557 fClipRect = &clip->getBounds(); in SkScanClipper()
558 if (!skipRejectTest && !SkIRect::Intersects(*fClipRect, ir)) { // completely clipped out in SkScanClipper()
563 if (fClipRect->contains(ir)) { in SkScanClipper()
564 fClipRect = nullptr; in SkScanClipper()
567 if (fClipRect->fLeft > ir.fLeft || fClipRect->fRight < ir.fRight) { in SkScanClipper()
568 fRectBlitter.init(blitter, *fClipRect); in SkScanClipper()
DSkScan_AntiPath.cpp400 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
430 SkIRect fClipRect; member in MaskSuperBlitter
448 fClipRect = ir; in MaskSuperBlitter()
449 if (!fClipRect.intersect(clip.getBounds())) { in MaskSuperBlitter()
451 fClipRect.setEmpty(); in MaskSuperBlitter()
DSkBlitter.h168 fClipRect = clipRect; in init()
190 SkIRect fClipRect; variable
/external/skia/samplecode/
DSampleFatBits.cpp52 fClipRect.set(2, 2, 11, 8 ); in FatBits()
113 SkRect fBounds, fClipRect; member in FatBits
221 fClipRect.fLeft * fZoom, in drawFG()
222 fClipRect.fTop * fZoom, in drawFG()
223 fClipRect.fRight * fZoom, in drawFG()
224 fClipRect.fBottom * fZoom in drawFG()
284 SkRect r = fClipRect; in drawLine()
/external/skia/include/core/
DSkPathEffect.h89 SkRect fClipRect; // clip required to draw the points (if kUseClip is set) variable