Searched refs:clipB (Results 1 – 4 of 4) sorted by relevance
/external/skia/gm/ |
D | complexclip.cpp | 76 SkPath clipB; in onDraw() local 77 clipB.moveTo(SkIntToScalar(40), SkIntToScalar(10)); in onDraw() 78 clipB.lineTo(SkIntToScalar(190), SkIntToScalar(15)); in onDraw() 79 clipB.lineTo(SkIntToScalar(195), SkIntToScalar(190)); in onDraw() 80 clipB.lineTo(SkIntToScalar(40), SkIntToScalar(185)); in onDraw() 81 clipB.lineTo(SkIntToScalar(155), SkIntToScalar(100)); in onDraw() 82 clipB.close(); in onDraw() 124 this->drawHairlines(canvas, path, clipA, clipB); in onDraw() 132 clipB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in onDraw() 135 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw() [all …]
|
/external/skia/samplecode/ |
D | SampleComplexClip.cpp | 60 SkPath clipB; in onDrawContent() local 61 clipB.moveTo(SkIntToScalar(40), SkIntToScalar(10)); in onDrawContent() 62 clipB.lineTo(SkIntToScalar(190), SkIntToScalar(15)); in onDrawContent() 63 clipB.lineTo(SkIntToScalar(195), SkIntToScalar(190)); in onDrawContent() 64 clipB.lineTo(SkIntToScalar(40), SkIntToScalar(185)); in onDrawContent() 65 clipB.lineTo(SkIntToScalar(155), SkIntToScalar(100)); in onDrawContent() 66 clipB.close(); in onDrawContent() 80 canvas->drawPath(clipB, paint); in onDrawContent() 110 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent() 124 canvas->drawPath(clipB, paint); in onDrawContent()
|
/external/skia/src/core/ |
D | SkAAClip.cpp | 1671 const SkAAClip* clipB = &clipBOrig; in op() local 1674 SkTSwap(clipA, clipB); in op() 1679 bool b_empty = clipB->isEmpty(); in op() 1687 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op() 1695 clipB->fBounds)) { in op() 1703 return this->set(*clipB); in op() 1709 bounds.join(clipB->fBounds); in op() 1717 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op() 1718 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op() 1721 operateY(builder, *clipA, *clipB, op); in op()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 326 SkPath clipA, clipB; in test_isWideOpen() local 331 clipB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen() 332 clipB.setFillType(SkPath::kInverseEvenOdd_FillType); in test_isWideOpen() 335 stack.clipDevPath(clipB, SkRegion::kUnion_Op, false); in test_isWideOpen()
|