Home
last modified time | relevance | path

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

/third_party/flutter/skia/samplecode/
DSampleComplexClip.cpp52 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()
105 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
119 canvas->drawPath(clipB, paint); in onDrawContent()
/third_party/skia/samplecode/
DSampleComplexClip.cpp51 SkPath clipB; in onDrawContent() local
52 clipB.moveTo(SkIntToScalar(40), SkIntToScalar(10)); in onDrawContent()
53 clipB.lineTo(SkIntToScalar(190), SkIntToScalar(15)); in onDrawContent()
54 clipB.lineTo(SkIntToScalar(195), SkIntToScalar(190)); in onDrawContent()
55 clipB.lineTo(SkIntToScalar(40), SkIntToScalar(185)); in onDrawContent()
56 clipB.lineTo(SkIntToScalar(155), SkIntToScalar(100)); in onDrawContent()
57 clipB.close(); in onDrawContent()
74 canvas->drawPath(clipB, paint); in onDrawContent()
101 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
115 canvas->drawPath(clipB, paint); in onDrawContent()
/third_party/flutter/skia/gm/
Dcomplexclip.cpp82 SkPath clipB; in onDraw() local
83 clipB.addPoly({{40, 10}, {190, 15}, {195, 190}, {40, 185}, {155, 100}}, false).close(); in onDraw()
123 this->drawHairlines(canvas, path, clipA, clipB); in onDraw()
131 clipB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in onDraw()
134 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
177 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument
191 canvas->drawPath(clipB, paint); in drawHairlines()
/third_party/skia/gm/
Dcomplexclip.cpp84 … SkPath clipB = SkPath::Polygon({{40, 10}, {190, 15}, {195, 190}, {40, 185}, {155, 100}}, true); in onDraw() local
121 this->drawHairlines(canvas, path, clipA, clipB); in onDraw()
129 clipB.setFillType(doInvB ? SkPathFillType::kInverseEvenOdd : in onDraw()
132 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
175 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument
189 canvas->drawPath(clipB, paint); in drawHairlines()
/third_party/flutter/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()
/third_party/flutter/skia/tests/
DClipStackTest.cpp362 SkPath clipA, clipB; in test_isWideOpen() local
367 clipB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen()
368 clipB.setFillType(SkPath::kInverseEvenOdd_FillType); in test_isWideOpen()
371 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
/third_party/skia/third_party/externals/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()