/external/skia/samplecode/ |
D | SampleComplexClip.cpp | 52 SkPath clipB; in onDrawContent() local 53 clipB.moveTo(SkIntToScalar(40), SkIntToScalar(10)); in onDrawContent() 54 clipB.lineTo(SkIntToScalar(190), SkIntToScalar(15)); in onDrawContent() 55 clipB.lineTo(SkIntToScalar(195), SkIntToScalar(190)); in onDrawContent() 56 clipB.lineTo(SkIntToScalar(40), SkIntToScalar(185)); in onDrawContent() 57 clipB.lineTo(SkIntToScalar(155), SkIntToScalar(100)); in onDrawContent() 58 clipB.close(); in onDrawContent() 75 canvas->drawPath(clipB, paint); in onDrawContent() 102 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent() 116 canvas->drawPath(clipB, paint); in onDrawContent()
|
/external/skqp/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() 83 canvas->drawPath(clipB, paint); in onDrawContent() 113 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent() 127 canvas->drawPath(clipB, paint); in onDrawContent()
|
/external/skqp/gm/ |
D | complexclip.cpp | 69 SkPath clipB; in onDraw() local 70 clipB.addPoly({{40, 10}, {190, 15}, {195, 190}, {40, 185}, {155, 100}}, false).close(); in onDraw() 110 this->drawHairlines(canvas, path, clipA, clipB); in onDraw() 118 clipB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in onDraw() 121 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw() 164 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument 178 canvas->drawPath(clipB, paint); in drawHairlines()
|
/external/skia/gm/ |
D | complexclip.cpp | 85 … SkPath clipB = SkPath::Polygon({{40, 10}, {190, 15}, {195, 190}, {40, 185}, {155, 100}}, true); in onDraw() local 122 this->drawHairlines(canvas, path, clipA, clipB); in onDraw() 130 clipB.setFillType(doInvB ? SkPathFillType::kInverseEvenOdd : in onDraw() 133 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw() 176 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument 190 canvas->drawPath(clipB, paint); in drawHairlines()
|
/external/skia/src/core/ |
D | SkAAClip.cpp | 1615 const SkAAClip* clipB = &clipBOrig; in op() local 1619 swap(clipA, clipB); in op() 1624 bool b_empty = clipB->isEmpty(); in op() 1632 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op() 1640 clipB->fBounds)) { in op() 1648 return this->set(*clipB); in op() 1654 bounds.join(clipB->fBounds); in op() 1662 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op() 1663 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op() 1666 operateY(builder, *clipA, *clipB, op); in op()
|
/external/skqp/src/core/ |
D | SkAAClip.cpp | 1612 const SkAAClip* clipB = &clipBOrig; in op() local 1616 swap(clipA, clipB); in op() 1621 bool b_empty = clipB->isEmpty(); in op() 1629 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op() 1637 clipB->fBounds)) { in op() 1645 return this->set(*clipB); in op() 1651 bounds.join(clipB->fBounds); in op() 1659 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op() 1660 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op() 1663 operateY(builder, *clipA, *clipB, op); in op()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 363 SkPath clipA, clipB; in test_isWideOpen() local 368 clipB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen() 369 clipB.setFillType(SkPathFillType::kInverseEvenOdd); in test_isWideOpen() 372 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
|
/external/skqp/tests/ |
D | ClipStackTest.cpp | 360 SkPath clipA, clipB; in test_isWideOpen() local 365 clipB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen() 366 clipB.setFillType(SkPath::kInverseEvenOdd_FillType); in test_isWideOpen() 369 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
|
/external/dng_sdk/source/ |
D | dng_reference.cpp | 1294 real32 clipB = (real32) cameraWhite [1]; in RefBaselineABCtoRGB() local 1317 B = Min_real32 (B, clipB); in RefBaselineABCtoRGB() 1351 real32 clipB = (real32) cameraWhite [1]; in RefBaselineABCDtoRGB() local 1379 B = Min_real32 (B, clipB); in RefBaselineABCDtoRGB()
|