Home
last modified time | relevance | path

Searched refs:clipPath (Results 1 - 25 of 80) sorted by relevance

1234

/third_party/skia/gm/
H A Dskbug1719.cpp32 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 Dcircularclips.cpp60 canvas->clipPath(fCircle1, true);
61 canvas->clipPath(fCircle2, true);
79 canvas->clipPath(fCircle1);
80 canvas->clipPath(fCircle2, ops[op]);
H A Dcomplexclip3.cpp96 canvas->clipPath(*firstClip, doAAA);
97 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB);
H A Dsimpleaaclip.cpp124 canvas->clipPath(fBasePath, true); in drawPathsOped()
125 canvas->clipPath(fRectPath, op, true); in drawPathsOped()
H A Dbug5252.cpp18 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 Dinverseclip.cpp22 canvas->clipPath(clip.detach(), true); in DEF_SIMPLE_GM()
/third_party/skia/docs/examples/
H A DCanvas_quickReject_2.cpp9 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 DCanvas_getDeviceClipBounds.cpp13 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 DgetLocalBounds_working.cpp12 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 DgetLocalBounds_broken.cpp12 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 DCanvas_getLocalClipBounds.cpp13 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 DCanvas_clipPath_3.cpp15 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
20 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
H A DCanvas_clipPath_2.cpp14 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
19 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
H A DCanvas_clipPath.cpp13 canvas->clipPath(path, SkClipOp::kDifference, false); in REG_FIDDLE()
18 canvas->clipPath(path, SkClipOp::kIntersect, false); in REG_FIDDLE()
H A DCanvas_isClipEmpty.cpp9 canvas->clipPath(path); in REG_FIDDLE()
H A DCanvas_getDeviceClipBounds_2.cpp11 canvas->clipPath(path); in REG_FIDDLE()
H A DCanvas_getLocalClipBounds_2.cpp13 canvas->clipPath(path); in REG_FIDDLE()
/third_party/skia/src/pdf/
H A DSkPDFGraphicStackState.cpp96 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 DClipStackTest.cpp49 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 DSkDevice.cpp253 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 DSkClipStackDevice.cpp39 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 DSkSVGNode.cpp50 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 DSkSGText.cpp86 canvas->clipPath(this->asPath(), antiAlias); in onClip()
117 canvas->clipPath(this->asPath(), antiAlias); in onClip()
H A DSkSGPath.cpp19 canvas->clipPath(fPath, SkClipOp::kIntersect, antiAlias); in onClip()
/third_party/skia/samplecode/
H A DSampleComplexClip.cpp100 canvas->clipPath(clipA);
101 canvas->clipPath(clipB, gOps[op].fOp);

Completed in 8 milliseconds

1234