Home
last modified time | relevance | path

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

/external/skia/gm/
Dcomplexclip.cpp68 SkPath clipA; in onDraw() local
69 clipA.moveTo(SkIntToScalar(10), SkIntToScalar(20)); in onDraw()
70 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); in onDraw()
71 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); in onDraw()
72 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); in onDraw()
73 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)); in onDraw()
74 clipA.close(); in onDraw()
124 this->drawHairlines(canvas, path, clipA, clipB); in onDraw()
130 clipA.setFillType(doInvA ? SkPath::kInverseEvenOdd_FillType : in onDraw()
134 canvas->clipPath(clipA, SkRegion::kIntersect_Op, fDoAAClip); in onDraw()
[all …]
/external/skia/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()
78 canvas->drawPath(clipA, paint); in onDrawContent()
107 clipA.setFillType(invA ? SkPath::kInverseEvenOdd_FillType : in onDrawContent()
109 canvas->clipPath(clipA); in onDrawContent()
[all …]
/external/skia/src/core/
DSkAAClip.cpp1670 const SkAAClip* clipA = &clipAOrig; in op() local
1674 SkTSwap(clipA, clipB); in op()
1678 bool a_empty = clipA->isEmpty(); in op()
1687 if (b_empty || !SkIRect::Intersects(clipA->fBounds, clipB->fBounds)) { in op()
1688 return this->set(*clipA); in op()
1690 bounds = clipA->fBounds; in op()
1694 if ((a_empty | b_empty) || !bounds.intersect(clipA->fBounds, in op()
1706 return this->set(*clipA); in op()
1708 bounds = clipA->fBounds; in op()
1721 operateY(builder, *clipA, *clipB, op); in op()
/external/skia/tests/
DClipStackTest.cpp326 SkPath clipA, clipB; in test_isWideOpen() local
328 clipA.addRoundRect(rectA, SkIntToScalar(5), SkIntToScalar(5)); in test_isWideOpen()
329 clipA.setFillType(SkPath::kInverseEvenOdd_FillType); in test_isWideOpen()
334 stack.clipDevPath(clipA, SkRegion::kReplace_Op, 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()