Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleComplexClip.cpp43 SkPath clipA; in onDrawContent() local
44 clipA.moveTo(SkIntToScalar(10), SkIntToScalar(20)); in onDrawContent()
45 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); in onDrawContent()
46 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); in onDrawContent()
47 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); in onDrawContent()
48 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)); in onDrawContent()
49 clipA.close(); in onDrawContent()
73 canvas->drawPath(clipA, paint); in onDrawContent()
99 clipA.setFillType(invA ? SkPathFillType::kInverseEvenOdd : in onDrawContent()
101 canvas->clipPath(clipA); in onDrawContent()
[all …]
/external/skqp/samplecode/
DSampleComplexClip.cpp51 SkPath clipA; in onDrawContent() local
52 clipA.moveTo(SkIntToScalar(10), SkIntToScalar(20)); in onDrawContent()
53 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); in onDrawContent()
54 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); in onDrawContent()
55 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); in onDrawContent()
56 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)); in onDrawContent()
57 clipA.close(); in onDrawContent()
81 canvas->drawPath(clipA, paint); in onDrawContent()
110 clipA.setFillType(invA ? SkPath::kInverseEvenOdd_FillType : in onDrawContent()
112 canvas->clipPath(clipA); in onDrawContent()
[all …]
/external/skqp/gm/
Dcomplexclip.cpp66 SkPath clipA; in onDraw() local
67 clipA.addPoly({{10, 20}, {165, 22}, {70, 105}, {165, 177}, {-5, 180}}, false).close(); in onDraw()
110 this->drawHairlines(canvas, path, clipA, clipB); in onDraw()
116 clipA.setFillType(doInvA ? SkPath::kInverseEvenOdd_FillType : in onDraw()
120 canvas->clipPath(clipA, fDoAAClip); in onDraw()
126 SkRect rectClip = clipA.getBounds(); in onDraw()
164 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument
176 canvas->drawPath(clipA, paint); in drawHairlines()
/external/skia/gm/
Dcomplexclip.cpp83 … SkPath clipA = SkPath::Polygon({{10, 20}, {165, 22}, {70, 105}, {165, 177}, {-5, 180}}, true); in onDraw() local
122 this->drawHairlines(canvas, path, clipA, clipB); in onDraw()
128 clipA.setFillType(doInvA ? SkPathFillType::kInverseEvenOdd : in onDraw()
132 canvas->clipPath(clipA, fDoAAClip); in onDraw()
138 SkRect rectClip = clipA.getBounds(); in onDraw()
176 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument
188 canvas->drawPath(clipA, paint); in drawHairlines()
/external/skia/src/core/
DSkAAClip.cpp1614 const SkAAClip* clipA = &clipAOrig; in op() local
1619 swap(clipA, clipB); in op()
1623 bool a_empty = clipA->isEmpty(); in op()
1632 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op()
1633 return this->set(*clipA); in op()
1635 bounds = clipA->fBounds; in op()
1639 if ((a_empty | b_empty) || !bounds.intersect(clipA->fBounds, in op()
1651 return this->set(*clipA); in op()
1653 bounds = clipA->fBounds; in op()
1666 operateY(builder, *clipA, *clipB, op); in op()
/external/skqp/src/core/
DSkAAClip.cpp1611 const SkAAClip* clipA = &clipAOrig; in op() local
1616 swap(clipA, clipB); in op()
1620 bool a_empty = clipA->isEmpty(); in op()
1629 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op()
1630 return this->set(*clipA); in op()
1632 bounds = clipA->fBounds; in op()
1636 if ((a_empty | b_empty) || !bounds.intersect(clipA->fBounds, in op()
1648 return this->set(*clipA); in op()
1650 bounds = clipA->fBounds; in op()
1663 operateY(builder, *clipA, *clipB, op); in op()
/external/skia/tests/
DClipStackTest.cpp363 SkPath clipA, clipB; in test_isWideOpen() local
365 clipA.addRoundRect(rectA, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen()
366 clipA.setFillType(SkPathFillType::kInverseEvenOdd); in test_isWideOpen()
371 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
/external/skqp/tests/
DClipStackTest.cpp360 SkPath clipA, clipB; in test_isWideOpen() local
362 clipA.addRoundRect(rectA, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen()
363 clipA.setFillType(SkPath::kInverseEvenOdd_FillType); in test_isWideOpen()
368 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
/external/dng_sdk/source/
Ddng_reference.cpp1293 real32 clipA = (real32) cameraWhite [0]; in RefBaselineABCtoRGB() local
1316 A = Min_real32 (A, clipA); in RefBaselineABCtoRGB()
1350 real32 clipA = (real32) cameraWhite [0]; in RefBaselineABCDtoRGB() local
1378 A = Min_real32 (A, clipA); in RefBaselineABCDtoRGB()