Home
last modified time | relevance | path

Searched refs:clipB (Results 1 – 9 of 9) sorted by relevance

/external/skqp/samplecode/
DSampleComplexClip.cpp60 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/skia/samplecode/
DSampleComplexClip.cpp60 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/
Dcomplexclip.cpp69 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/
Dcomplexclip.cpp69 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/skqp/src/core/
DSkAAClip.cpp1612 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/src/core/
DSkAAClip.cpp1612 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/skqp/tests/
DClipStackTest.cpp360 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/skia/tests/
DClipStackTest.cpp360 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/
Ddng_reference.cpp1294 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()