/third_party/skia/gm/ |
H A D | skbug1719.cpp | 32 SkPath clipPath; in DEF_SIMPLE_GM_BG() local 33 clipPath.moveTo(832.f, 654.f); in DEF_SIMPLE_GM_BG() 34 clipPath.lineTo(1034.f, 654.f); in DEF_SIMPLE_GM_BG() 35 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); in DEF_SIMPLE_GM_BG() 36 clipPath.lineTo(1042.f, 724.f); in DEF_SIMPLE_GM_BG() 37 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); in DEF_SIMPLE_GM_BG() 38 clipPath.lineTo(832.f, 732.f); in DEF_SIMPLE_GM_BG() 39 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); in DEF_SIMPLE_GM_BG() 40 clipPath.lineTo(824.f, 662.f); in DEF_SIMPLE_GM_BG() 41 clipPath in DEF_SIMPLE_GM_BG() [all...] |
H A D | circularclips.cpp | 60 canvas->clipPath(fCircle1, true); 61 canvas->clipPath(fCircle2, true); 79 canvas->clipPath(fCircle1); 80 canvas->clipPath(fCircle2, ops[op]);
|
H A D | complexclip3.cpp | 96 canvas->clipPath(*firstClip, doAAA); 97 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB);
|
H A D | simpleaaclip.cpp | 124 canvas->clipPath(fBasePath, true); in drawPathsOped() 125 canvas->clipPath(fRectPath, op, true); in drawPathsOped()
|
H A D | bug5252.cpp | 18 canvas->clipPath(SkPath::Oval(SkRect::MakeWH(225, 200))); // bug in DEF_SIMPLE_GM() 20 //canvas->clipPath(SkPath::Oval(SkRect::MakeWH(220, 200))); // ok in DEF_SIMPLE_GM()
|
H A D | inverseclip.cpp | 22 canvas->clipPath(clip.detach(), true); in DEF_SIMPLE_GM()
|
/third_party/skia/docs/examples/ |
H A D | Canvas_quickReject_2.cpp | 9 SkPath testPath, clipPath; in REG_FIDDLE() local 11 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in REG_FIDDLE() 13 canvas->clipPath(clipPath); in REG_FIDDLE() 17 canvas->clipPath(clipPath); in REG_FIDDLE()
|
H A D | Canvas_getDeviceClipBounds.cpp | 13 SkPath clipPath; in REG_FIDDLE() local 14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in REG_FIDDLE() 16 canvas->clipPath(clipPath); in REG_FIDDLE() 22 canvas->clipPath(clipPath); in REG_FIDDLE()
|
H A D | getLocalBounds_working.cpp | 12 SkPath clipPath; in REG_FIDDLE() local 13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in REG_FIDDLE() 14 canvas->clipPath(clipPath); in REG_FIDDLE()
|
H A D | getLocalBounds_broken.cpp | 12 SkPath clipPath; in REG_FIDDLE() local 13 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in REG_FIDDLE() 14 canvas->clipPath(clipPath); in REG_FIDDLE()
|
H A D | Canvas_getLocalClipBounds.cpp | 13 SkPath clipPath; in REG_FIDDLE() local 14 clipPath.addPoly(clipPoints, SK_ARRAY_COUNT(clipPoints), true); in REG_FIDDLE() 15 canvas->clipPath(clipPath); in REG_FIDDLE()
|
H A D | Canvas_clipPath_3.cpp | 15 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE() 20 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
|
H A D | Canvas_clipPath_2.cpp | 14 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE() 19 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
|
H A D | Canvas_clipPath.cpp | 13 canvas->clipPath(path, SkClipOp::kDifference, false); in REG_FIDDLE() 18 canvas->clipPath(path, SkClipOp::kIntersect, false); in REG_FIDDLE()
|
H A D | Canvas_isClipEmpty.cpp | 9 canvas->clipPath(path); in REG_FIDDLE()
|
H A D | Canvas_getDeviceClipBounds_2.cpp | 11 canvas->clipPath(path); in REG_FIDDLE()
|
H A D | Canvas_getLocalClipBounds_2.cpp | 13 canvas->clipPath(path); in REG_FIDDLE()
|
/third_party/skia/src/pdf/ |
H A 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/skia/tests/ |
H A 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); 468 stack->clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, doAA); 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(insideCircl in test_quickContains() [all...] |
/third_party/skia/src/core/ |
H A D | SkDevice.cpp | 253 SkPath clipPath; in drawEdgeAAQuad() local 254 clipPath.addPoly(clip, 4, true); in drawEdgeAAQuad() 255 this->drawPath(clipPath, paint); in drawEdgeAAQuad() 294 SkPath clipPath; in drawEdgeAAImageSet() local 295 clipPath.addPoly(dstClips + clipIndex, 4, true); in drawEdgeAAImageSet() 296 this->clipPath(clipPath, SkClipOp::kIntersect, entryPaint.isAntiAlias()); in drawEdgeAAImageSet()
|
H A D | SkClipStackDevice.cpp | 39 fClipStack.clipPath(path, this->localToDevice(), op, aa); in onClipPath() 52 fClipStack.clipPath(path, SkMatrix::I(), op, false); in onClipRegion()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGNode.cpp | 50 if (const auto* clipPath = localContext.clipPath()) { in asPath() 52 Op(path, *clipPath, kIntersect_SkPathOp, &path); in asPath()
|
/third_party/skia/modules/sksg/src/ |
H A D | SkSGText.cpp | 86 canvas->clipPath(this->asPath(), antiAlias); in onClip() 117 canvas->clipPath(this->asPath(), antiAlias); in onClip()
|
H A D | SkSGPath.cpp | 19 canvas->clipPath(fPath, SkClipOp::kIntersect, antiAlias); in onClip()
|
/third_party/skia/samplecode/ |
H A D | SampleComplexClip.cpp | 100 canvas->clipPath(clipA); 101 canvas->clipPath(clipB, gOps[op].fOp);
|