Home
last modified time | relevance | path

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

/third_party/skia/samplecode/
DSampleComplexClip.cpp42 SkPath clipA; in onDrawContent() local
43 clipA.moveTo(SkIntToScalar(10), SkIntToScalar(20)); in onDrawContent()
44 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); in onDrawContent()
45 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); in onDrawContent()
46 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); in onDrawContent()
47 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)); in onDrawContent()
48 clipA.close(); in onDrawContent()
72 canvas->drawPath(clipA, paint); in onDrawContent()
98 clipA.setFillType(invA ? SkPathFillType::kInverseEvenOdd : in onDrawContent()
100 canvas->clipPath(clipA); in onDrawContent()
[all …]
/third_party/flutter/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()
102 clipA.setFillType(invA ? SkPath::kInverseEvenOdd_FillType : in onDrawContent()
104 canvas->clipPath(clipA); in onDrawContent()
[all …]
/third_party/flutter/skia/gm/
Dcomplexclip.cpp79 SkPath clipA; in onDraw() local
80 clipA.addPoly({{10, 20}, {165, 22}, {70, 105}, {165, 177}, {-5, 180}}, false).close(); in onDraw()
123 this->drawHairlines(canvas, path, clipA, clipB); in onDraw()
129 clipA.setFillType(doInvA ? SkPath::kInverseEvenOdd_FillType : in onDraw()
133 canvas->clipPath(clipA, fDoAAClip); in onDraw()
139 SkRect rectClip = clipA.getBounds(); in onDraw()
177 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument
189 canvas->drawPath(clipA, paint); in drawHairlines()
/third_party/skia/gm/
Dcomplexclip.cpp82 … SkPath clipA = SkPath::Polygon({{10, 20}, {165, 22}, {70, 105}, {165, 177}, {-5, 180}}, true); in onDraw() local
121 this->drawHairlines(canvas, path, clipA, clipB); in onDraw()
127 clipA.setFillType(doInvA ? SkPathFillType::kInverseEvenOdd : in onDraw()
131 canvas->clipPath(clipA, fDoAAClip); in onDraw()
137 SkRect rectClip = clipA.getBounds(); in onDraw()
175 const SkPath& clipA, const SkPath& clipB) { in drawHairlines() argument
187 canvas->drawPath(clipA, paint); in drawHairlines()
/third_party/flutter/skia/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()
/third_party/flutter/skia/tests/
DClipStackTest.cpp362 SkPath clipA, clipB; in test_isWideOpen() local
364 clipA.addRoundRect(rectA, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen()
365 clipA.setFillType(SkPath::kInverseEvenOdd_FillType); in test_isWideOpen()
370 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
/third_party/skia/third_party/externals/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()