/third_party/flutter/skia/gm/ |
D | skbug1719.cpp | 32 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 …]
|
D | circularclips.cpp | 65 canvas->clipPath(fCircle1, true); in onDraw() 66 canvas->clipPath(fCircle2, true); in onDraw() 84 canvas->clipPath(fCircle1); in onDraw() 85 canvas->clipPath(fCircle2, ops[op]); in onDraw()
|
/third_party/skia/gm/ |
D | skbug1719.cpp | 32 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 …]
|
D | circularclips.cpp | 60 canvas->clipPath(fCircle1, true); in onDraw() 61 canvas->clipPath(fCircle2, true); in onDraw() 79 canvas->clipPath(fCircle1); in onDraw() 80 canvas->clipPath(fCircle2, ops[op]); in onDraw()
|
/third_party/flutter/skia/docs/examples/ |
D | Canvas_quickReject_2.cpp | 9 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()
|
D | Canvas_getDeviceClipBounds.cpp | 13 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()
|
D | Canvas_getLocalClipBounds.cpp | 13 SkPath clipPath; in draw() local 14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw() 15 canvas->clipPath(clipPath); in draw()
|
D | Canvas_clipPath.cpp | 13 canvas->clipPath(path, SkClipOp::kDifference, false); in draw() 18 canvas->clipPath(path, SkClipOp::kIntersect, false); in draw()
|
D | Canvas_clipPath_2.cpp | 14 canvas->clipPath(path, SkClipOp::kIntersect); in draw() 19 canvas->clipPath(path, SkClipOp::kIntersect); in draw()
|
/third_party/skia/docs/examples/ |
D | Canvas_quickReject_2.cpp | 9 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()
|
D | Canvas_getDeviceClipBounds.cpp | 13 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()
|
D | getLocalBounds_broken.cpp | 12 SkPath clipPath; in draw() local 13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw() 14 canvas->clipPath(clipPath); in draw()
|
D | getLocalBounds_working.cpp | 12 SkPath clipPath; in draw() local 13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw() 14 canvas->clipPath(clipPath); in draw()
|
D | Canvas_getLocalClipBounds.cpp | 13 SkPath clipPath; in draw() local 14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in draw() 15 canvas->clipPath(clipPath); in draw()
|
D | Canvas_clipPath.cpp | 13 canvas->clipPath(path, SkClipOp::kDifference, false); in draw() 18 canvas->clipPath(path, SkClipOp::kIntersect, false); in draw()
|
/third_party/flutter/skia/samplecode/ |
D | SampleIdentityScale.cpp | 58 SkPath clipPath; in onDrawContent() local 59 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent() 60 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
|
D | SampleClip.cpp | 115 SkPath clipPath; in onDrawContent() local 117 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent() 125 canvas->clipPath(clipPath, kIntersect_SkClipOp, SkToBool(aa)); in onDrawContent()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFGraphicStackState.cpp | 105 static void append_clip_path(const SkPath& clipPath, SkWStream* wStream) { in append_clip_path() argument 106 SkPDFUtils::EmitPath(clipPath, SkPaint::kFill_Style, wStream); in append_clip_path() 107 SkPath::FillType clipFill = clipPath.getFillType(); in append_clip_path() 133 SkPath clipPath; in append_clip() local 134 (void)clipStack.asPath(&clipPath); in append_clip() 135 if (Op(clipPath, to_path(outsetBounds), kIntersect_SkPathOp, &clipPath)) { in append_clip() 136 append_clip_path(clipPath, wStream); in append_clip()
|
/third_party/skia/src/pdf/ |
D | SkPDFGraphicStackState.cpp | 96 static void append_clip_path(const SkPath& clipPath, SkWStream* wStream) { in append_clip_path() argument 97 SkPDFUtils::EmitPath(clipPath, SkPaint::kFill_Style, wStream); in append_clip_path() 98 SkPathFillType clipFill = clipPath.getFillType(); in append_clip_path() 124 SkPath clipPath; in append_clip() local 125 SkClipStack_AsPath(clipStack, &clipPath); in append_clip() 126 if (Op(clipPath, SkPath::Rect(outsetBounds), kIntersect_SkPathOp, &clipPath)) { in append_clip() 127 append_clip_path(clipPath, wStream); in append_clip()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCClipProcessor.cpp | 17 GrCCClipProcessor::GrCCClipProcessor(const GrCCClipPath* clipPath, IsCoverageCount isCoverageCount, in GrCCClipProcessor() argument 20 , fClipPath(clipPath) in GrCCClipProcessor() 35 const SkPath& clipPath = fClipPath->deviceSpacePath(); in onGetGLSLProcessorKey() local 36 uint32_t key = (fIsCoverageCount) ? (uint32_t)GrFillRuleForSkPath(clipPath) : 0; in onGetGLSLProcessorKey() 37 key = (key << 1) | ((clipPath.isInverseFillType()) ? 1 : 0); in onGetGLSLProcessorKey()
|
D | GrCoverageCountingPathRenderer.cpp | 204 GrCCClipPath& clipPath = in makeClipProcessor() local 206 if (!clipPath.isInitialized()) { in makeClipProcessor() 214 clipPath.init(croppedPath, accessRect, fCoverageType, caps); in makeClipProcessor() 216 clipPath.init(deviceSpacePath, accessRect, fCoverageType, caps); in makeClipProcessor() 219 clipPath.addAccess(accessRect); in makeClipProcessor() 225 !clipPath.pathDevIBounds().contains(accessRect)); in makeClipProcessor() 226 return skstd::make_unique<GrCCClipProcessor>(&clipPath, isCoverageCount, mustCheckBounds); in makeClipProcessor()
|
/third_party/skia/tests/ |
D | ClipStackTest.cpp | 49 s.clipPath(p, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison() 95 s.clipPath(rp, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison() 127 s.clipPath(p, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison() 278 stack.clipPath(pathA, SkMatrix::I(), SkClipOp::kIntersect, false); in test_bounds() 279 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds() 379 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false); in test_rect_inverse_fill() 468 stack->clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_path_replace() 643 stack.clipPath(outsideCircle, SkMatrix::I(), SkClipOp::kIntersect, false); in test_quickContains() 675 stack.clipPath(outsideCircle, SkMatrix::I(), SkClipOp::kIntersect, false); in test_quickContains() 681 stack.clipPath(insideCircle, SkMatrix::I(), SkClipOp::kIntersect, false); in test_quickContains() [all …]
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | layers_test.dart | 284 final ClipPathLayer layer = ClipPathLayer(clipPath: Path()); 288 layer.clipPath = newPath; 338 …clipPath: Path(), elevation: 0, color: const Color(0x00000000), shadowColor: const Color(0x0000000… 342 layer.clipPath = newPath; 392 clipPath: Path()..addRect(const Rect.fromLTWH(0, 0, 20, 20)), 398 clipPath: Path()..addRect(const Rect.fromLTWH(10, 10, 20, 20)), 416 clipPath: Path()..addRect(const Rect.fromLTWH(0, 0, 20, 20)), 422 clipPath: Path()..addRect(const Rect.fromLTWH(10, 10, 20, 20)), 438 clipPath: Path()..addRect(const Rect.fromLTWH(0, 0, 20, 20)), 444 clipPath: Path()..addRect(const Rect.fromLTWH(20, 20, 20, 20)), [all …]
|
/third_party/flutter/skia/tests/ |
D | ClipStackTest.cpp | 65 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 111 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() 309 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds() 310 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds() 370 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen() 371 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen() 439 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_inverse_fill() 533 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace() 535 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace() [all …]
|
/third_party/flutter/engine/flutter/flow/ohos_layers/ |
D | clip_path_layer.h | 19 …ClipPathLayer(const SkPath& clipPath, Clip clipBehavior) : clipPath_(clipPath), clipBehavior_(clip… in ClipPathLayer() argument
|