Home
last modified time | relevance | path

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

/external/skia/gm/
Dcomplexclip.cpp67 SkPath clipA; in onDraw() local
68 clipA.moveTo(SkIntToScalar(10), SkIntToScalar(20)); in onDraw()
69 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); in onDraw()
70 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); in onDraw()
71 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); in onDraw()
72 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)); in onDraw()
73 clipA.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()
[all …]
/external/skia/samplecode/
DSampleComplexClip.cpp52 SkPath clipA; in onDrawContent() local
53 clipA.moveTo(SkIntToScalar(10), SkIntToScalar(20)); in onDrawContent()
54 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); in onDrawContent()
55 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); in onDrawContent()
56 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); in onDrawContent()
57 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)); in onDrawContent()
58 clipA.close(); in onDrawContent()
79 canvas->drawPath(clipA, paint); in onDrawContent()
108 clipA.setFillType(invA ? SkPath::kInverseEvenOdd_FillType : in onDrawContent()
110 canvas->clipPath(clipA); in onDrawContent()
[all …]
/external/skia/src/core/
DSkAAClip.cpp1697 const SkAAClip* clipA = &clipAOrig; in op() local
1701 SkTSwap(clipA, clipB); in op()
1705 bool a_empty = clipA->isEmpty(); in op()
1714 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op()
1715 return this->set(*clipA); in op()
1717 bounds = clipA->fBounds; in op()
1721 if ((a_empty | b_empty) || !bounds.intersect(clipA->fBounds, in op()
1733 return this->set(*clipA); in op()
1735 bounds = clipA->fBounds; in op()
1748 operateY(builder, *clipA, *clipB, op); in op()
/external/skia/tests/
DClipStackTest.cpp334 SkPath clipA, clipB; in test_isWideOpen() local
336 clipA.addRoundRect(rectA, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen()
337 clipA.setFillType(SkPath::kInverseEvenOdd_FillType); in test_isWideOpen()
342 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()