Home
last modified time | relevance | path

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

123

/external/skia/gm/
Dskbug1719.cpp29 SkPath clipPath; variable
30 clipPath.moveTo(832.f, 654.f);
31 clipPath.lineTo(1034.f, 654.f);
32 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
33 clipPath.lineTo(1042.f, 724.f);
34 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
35 clipPath.lineTo(832.f, 732.f);
36 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
37 clipPath.lineTo(824.f, 662.f);
38 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()
Dcomplexclip3.cpp88 canvas->clipPath(*firstClip, doAAA); in onDraw()
89 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw()
Dsimpleaaclip.cpp110 canvas->clipPath(fBasePath, true); in drawPathsOped()
111 canvas->clipPath(fRectPath, op, true); in drawPathsOped()
Dreveal.cpp140 canvas->clipPath(this->asPath(0.0f)); in clip()
291 canvas->clipPath(this->asPath(0.0f)); in clip()
411 SkPath clipPath = clipObj->asPath(2.0f*sigma); in onDraw() local
413 SkAssertResult(Op(clipPath, drawnPath, kIntersect_SkPathOp, &clippedPath)); in onDraw()
Dpath_stroke_with_zero_length.cpp170 canvas->clipPath(clip, true); in drawFat()
183 canvas->clipPath(clip, true); in drawFat()
Dbug5252.cpp18 canvas->clipPath(clip1); // bug
/external/pdfium/core/fxge/skia/
Dfx_skia_device_unittest.cpp45 CFX_PathData clipPath, clipPath2; in CommonTest() local
46 clipPath.AppendRect(0, 0, 3, 1); in CommonTest()
61 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in CommonTest()
80 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in CommonTest()
84 driver->SetClip_PathFill(&clipPath, &clipMatrix2, 0); in CommonTest()
98 CFX_PathData clipPath; in OutOfSequenceClipTest() local
99 clipPath.AppendRect(1, 0, 3, 1); in OutOfSequenceClipTest()
102 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in OutOfSequenceClipTest()
105 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in OutOfSequenceClipTest()
111 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in OutOfSequenceClipTest()
[all …]
/external/skia/samplecode/
DSampleIdentityScale.cpp67 SkPath clipPath; in onDrawContent() local
68 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent()
69 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
DSampleClip.cpp136 SkPath clipPath; in onDrawContent() local
138 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
146 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()
DSampleComplexClip.cpp110 canvas->clipPath(clipA); in onDrawContent()
111 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
/external/skia/tests/
DClipStackTest.cpp39 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
85 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison()
118 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
279 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
280 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
340 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
341 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
410 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_inverse_fill()
504 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
506 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
[all …]
DPictureTest.cpp287 canvas->clipPath(convexClip); in test_gpu_veto()
288 canvas->clipPath(concaveClip); in test_gpu_veto()
289 canvas->clipPath(convexClip, kIntersect_SkClipOp, true); in test_gpu_veto()
301 canvas->clipPath(concaveClip, kIntersect_SkClipOp, true); in test_gpu_veto()
640 canvas->clipPath(invPath); in test_clip_bound_opt()
649 canvas->clipPath(path); in test_clip_bound_opt()
650 canvas->clipPath(invPath); in test_clip_bound_opt()
659 canvas->clipPath(path); in test_clip_bound_opt()
660 canvas->clipPath(invPath, kUnion_SkClipOp); in test_clip_bound_opt()
669 canvas->clipPath(path, kDifference_SkClipOp); in test_clip_bound_opt()
[all …]
DCanvasTest.cpp287 void clipPath(const SkPath& p, SkClipOp op, bool aa) override { in clipPath() function in Canvas2CanvasClipVisitor
288 fTarget->clipPath(p, op, aa); in clipPath()
394 SIMPLE_TEST_STEP(ClipPath, clipPath(d.fPath));
704 canvas.clipPath(path); in DEF_TEST()
708 canvas.clipPath(path); in DEF_TEST()
712 canvas.clipPath(path); // should not assert here in DEF_TEST()
/external/skia/experimental/svg/model/
DSkSVGNode.cpp42 if (const auto* clipPath = localContext.clipPath()) { in asPath() local
44 Op(path, *clipPath, kIntersect_SkPathOp, &path); in asPath()
DSkSVGRenderContext.cpp329 const SkPath clipPath = clipNode->asPath(*this); in applyClip() local
343 fCanvas->clipPath(clipPath, true); in applyClip()
344 fClipPath.set(clipPath); in applyClip()
/external/pdfium/public/
Dfpdf_transformpage.h142 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
155 FPDF_CLIPPATH clipPath);
/external/skia/src/gpu/
DGrReducedClip.cpp720 SkPath clipPath; in drawStencilClipMask() local
725 element->asPath(&clipPath); in drawStencilClipMask()
726 fillInverted = clipPath.isInverseFillType(); in drawStencilClipMask()
728 clipPath.toggleInverseFillType(); in drawStencilClipMask()
731 GrShape shape(clipPath, GrStyle::SimpleFill()); in drawStencilClipMask()
772 if (!clipPath.isEmpty()) { in drawStencilClipMask()
773 GrShape shape(clipPath, GrStyle::SimpleFill()); in drawStencilClipMask()
810 GrShape shape(clipPath, GrStyle::SimpleFill()); in drawStencilClipMask()
DGrClipStackClip.cpp463 SkPath clipPath; in createSoftwareClipMask() local
464 element->asPath(&clipPath); in createSoftwareClipMask()
465 clipPath.toggleInverseFillType(); in createSoftwareClipMask()
466 GrShape shape(clipPath, GrStyle::SimpleFill()); in createSoftwareClipMask()
/external/pdfium/fpdfsdk/
Dfpdf_transformpage.cpp231 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) { in FPDF_DestroyClipPath() argument
232 delete (CPDF_ClipPath*)clipPath; in FPDF_DestroyClipPath()
273 FPDF_CLIPPATH clipPath) { in FPDFPage_InsertClipPath() argument
287 CPDF_ClipPath* pClipPath = (CPDF_ClipPath*)clipPath; in FPDFPage_InsertClipPath()
/external/skia/src/svg/
DSkSVGDevice.cpp452 SkPath clipPath; in addClipResources() local
453 (void) mc.fClipStack->asPath(&clipPath); in addClipResources()
456 const char* clipRule = clipPath.getFillType() == SkPath::kEvenOdd_FillType ? in addClipResources()
465 if (clipPath.isEmpty() || clipPath.isRect(&clipRect)) { in addClipResources()
471 pathElement.addPathAttributes(clipPath); in addClipResources()
/external/skia/bench/
DAAClipBench.cpp63 canvas->clipPath(fClipPath, kReplace_SkClipOp, fDoAA); in onDraw()
133 canvas->clipPath(path, in recurse()
/external/skia/include/core/
DSkCanvas.h500 void clipPath(const SkPath& path, SkClipOp op, bool doAntiAlias);
501 void clipPath(const SkPath& path, SkClipOp op) { in clipPath() function
502 this->clipPath(path, op, false); in clipPath()
504 void clipPath(const SkPath& path, bool doAntiAlias = false) {
505 this->clipPath(path, SkClipOp::kIntersect, doAntiAlias);
1747 virtual void clipPath(const SkPath&, SkClipOp, bool antialias) = 0;

123