Home
last modified time | relevance | path

Searched refs:clipPath (Results 1 – 25 of 187) sorted by relevance

12345678

/external/skia/gm/
Dskbug1719.cpp32 SkPath clipPath; variable
33 clipPath.moveTo(832.f, 654.f);
34 clipPath.lineTo(1034.f, 654.f);
35 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
36 clipPath.lineTo(1042.f, 724.f);
37 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
38 clipPath.lineTo(832.f, 732.f);
39 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
40 clipPath.lineTo(824.f, 662.f);
41 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
[all …]
Dcircularclips.cpp61 canvas->clipPath(fCircle1, true); in onDraw()
62 canvas->clipPath(fCircle2, true); in onDraw()
80 canvas->clipPath(fCircle1); in onDraw()
81 canvas->clipPath(fCircle2, ops[op]); in onDraw()
/external/skqp/gm/
Dskbug1719.cpp28 SkPath clipPath; variable
29 clipPath.moveTo(832.f, 654.f);
30 clipPath.lineTo(1034.f, 654.f);
31 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
32 clipPath.lineTo(1042.f, 724.f);
33 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
34 clipPath.lineTo(832.f, 732.f);
35 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
36 clipPath.lineTo(824.f, 662.f);
37 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
[all …]
Dcircularclips.cpp57 canvas->clipPath(fCircle1, true); in onDraw()
58 canvas->clipPath(fCircle2, true); in onDraw()
76 canvas->clipPath(fCircle1); in onDraw()
77 canvas->clipPath(fCircle2, ops[op]); in onDraw()
Dpathopsskpclip.cpp45 rec->clipPath(p, true); in onDraw()
47 rec->clipPath(p, true); in onDraw()
/external/skia/docs/examples/
DCanvas_quickReject_2.cpp9 SkPath testPath, clipPath; in draw() local
11 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
13 canvas->clipPath(clipPath); in draw()
17 canvas->clipPath(clipPath); in draw()
DCanvas_getDeviceClipBounds.cpp13 SkPath clipPath; in draw() local
14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
16 canvas->clipPath(clipPath); in draw()
22 canvas->clipPath(clipPath); in draw()
DgetLocalBounds_broken.cpp12 SkPath clipPath; in draw() local
13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
14 canvas->clipPath(clipPath); in draw()
DgetLocalBounds_working.cpp12 SkPath clipPath; in draw() local
13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
14 canvas->clipPath(clipPath); in draw()
DCanvas_getLocalClipBounds.cpp13 SkPath clipPath; in draw() local
14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw()
15 canvas->clipPath(clipPath); in draw()
DCanvas_clipPath.cpp13 canvas->clipPath(path, SkClipOp::kDifference, false); in draw()
18 canvas->clipPath(path, SkClipOp::kIntersect, false); in draw()
DCanvas_clipPath_2.cpp14 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
19 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
DCanvas_clipPath_3.cpp15 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
20 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
/external/pdfium/core/fxge/skia/
Dfx_skia_device_embeddertest.cpp47 CFX_PathData clipPath, clipPath2; in CommonTest() local
48 clipPath.AppendRect(0, 0, 3, 1); in CommonTest()
63 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in CommonTest()
82 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in CommonTest()
86 driver->SetClip_PathFill(&clipPath, &clipMatrix2, 0); in CommonTest()
100 CFX_PathData clipPath; in OutOfSequenceClipTest() local
101 clipPath.AppendRect(1, 0, 3, 1); in OutOfSequenceClipTest()
104 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in OutOfSequenceClipTest()
107 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in OutOfSequenceClipTest()
113 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in OutOfSequenceClipTest()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/widget/
DCardBackgroundDrawable.java38 private final Path clipPath = new Path(); field in CardBackgroundDrawable
89 canvas.clipPath(clipPath); in draw()
100 clipPath.reset(); in buildComponents()
101 clipPath.setFillType(FillType.EVEN_ODD); in buildComponents()
102 clipPath.addRoundRect(cardBounds, cornerRadius, cornerRadius, Direction.CW); in buildComponents()
/external/skqp/samplecode/
DSampleIdentityScale.cpp64 SkPath clipPath; in onDrawContent() local
65 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent()
66 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
DSampleClip.cpp133 SkPath clipPath; in onDrawContent() local
135 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
143 canvas->clipPath(clipPath, kIntersect_SkClipOp, SkToBool(aa)); in onDrawContent()
DSampleClipDrawMatch.cpp176 canvas->clipPath(create_convex_path(offset), useAA); in drawClippedGeom()
179 canvas->clipPath(create_concave_path(offset), useAA); in drawClippedGeom()
197 canvas->clipPath(create_convex_path(offset), useAA); in drawClippedGeom()
203 canvas->clipPath(create_concave_path(offset), useAA); in drawClippedGeom()
/external/skia/src/pdf/
DSkPDFGraphicStackState.cpp100 static void append_clip_path(const SkPath& clipPath, SkWStream* wStream) { in append_clip_path() argument
101 SkPDFUtils::EmitPath(clipPath, SkPaint::kFill_Style, wStream); in append_clip_path()
102 SkPathFillType clipFill = clipPath.getFillType(); in append_clip_path()
128 SkPath clipPath; in append_clip() local
129 SkClipStack_AsPath(clipStack, &clipPath); in append_clip()
130 if (Op(clipPath, SkPath::Rect(outsetBounds), kIntersect_SkPathOp, &clipPath)) { in append_clip()
131 append_clip_path(clipPath, wStream); in append_clip()
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp80 sk_sp<GrCCClipPath>& clipPath = this->lookupPendingPaths(opsTaskID)->fClipPaths[key]; in makeClipProcessor() local
81 if (!clipPath) { in makeClipProcessor()
83 clipPath = sk_make_sp<GrCCClipPath>(deviceSpacePath, accessRect, caps); in makeClipProcessor()
85 clipPath->addAccess(accessRect); in makeClipProcessor()
89 !clipPath->pathDevIBounds().contains(accessRect)); in makeClipProcessor()
90 return GrFPSuccess(std::make_unique<GrCCClipProcessor>(std::move(inputFP), caps, clipPath, in makeClipProcessor()
DGrCCClipProcessor.cpp22 sk_sp<const GrCCClipPath> clipPath, in GrCCClipProcessor() argument
25 , fClipPath(std::move(clipPath)) in GrCCClipProcessor()
45 const SkPath& clipPath = fClipPath->deviceSpacePath(); in onGetGLSLProcessorKey() local
46 uint32_t key = ((clipPath.isInverseFillType()) ? 1 : 0); in onGetGLSLProcessorKey()
/external/skia/tests/
DClipStackTest.cpp66 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
112 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison()
144 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
310 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
311 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
371 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
372 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
440 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_inverse_fill()
534 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
536 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
[all …]
/external/skqp/tests/
DClipStackTest.cpp63 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
109 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison()
142 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
307 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
308 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
368 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
369 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
437 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_inverse_fill()
531 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
533 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
[all …]
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp167 GrCCClipPath& clipPath = in makeClipProcessor() local
169 if (!clipPath.isInitialized()) { in makeClipProcessor()
177 clipPath.init(croppedPath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
179 clipPath.init(deviceSpacePath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
182 clipPath.addAccess(accessRect); in makeClipProcessor()
185 bool mustCheckBounds = !clipPath.pathDevIBounds().contains(accessRect); in makeClipProcessor()
186 return skstd::make_unique<GrCCClipProcessor>(&clipPath, MustCheckBounds(mustCheckBounds), in makeClipProcessor()
/external/python/cpython3/PC/icons/
Dlogo.svg1 …low="hidden"><defs><clipPath id="clip0"><path d="M706-314 944-314 944-77 706-77Z" fill-rule="eveno…

12345678