Home
last modified time | relevance | path

Searched refs:clipPath (Results 1 – 25 of 66) 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.cpp139 canvas->clipPath(this->asPath(0.0f)); in clip()
290 canvas->clipPath(this->asPath(0.0f)); in clip()
396 SkPath clipPath = clipObj->asPath(2.0f*sigma); in onDraw() local
398 SkAssertResult(Op(clipPath, drawnPath, kIntersect_SkPathOp, &clippedPath)); in onDraw()
Dbug5252.cpp18 canvas->clipPath(clip1); // bug
Dcomplexclip.cpp133 canvas->clipPath(clipA, fDoAAClip); in onDraw()
134 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
Ddistantclip.cpp43 rec->clipPath(p, true); in onDraw()
/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.cpp41 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
87 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison()
120 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
281 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
282 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
342 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
343 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
412 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_inverse_fill()
506 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
508 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 …]
/external/pdfium/public/
Dfpdf_transformpage.h142 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
155 FPDF_CLIPPATH clipPath);
/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()
DSkSVGRenderContext.h84 const SkPath* clipPath() const { return fClipPath.getMaybeNull(); } in clipPath() function
/external/skia/src/gpu/
DGrReducedClip.cpp731 SkPath clipPath; in drawStencilClipMask() local
736 element->asPath(&clipPath); in drawStencilClipMask()
737 fillInverted = clipPath.isInverseFillType(); in drawStencilClipMask()
739 clipPath.toggleInverseFillType(); in drawStencilClipMask()
742 GrShape shape(clipPath, GrStyle::SimpleFill()); in drawStencilClipMask()
783 if (!clipPath.isEmpty()) { in drawStencilClipMask()
784 GrShape shape(clipPath, GrStyle::SimpleFill()); in drawStencilClipMask()
821 GrShape shape(clipPath, GrStyle::SimpleFill()); in drawStencilClipMask()
DGrClipStackClip.cpp470 SkPath clipPath; in createSoftwareClipMask() local
471 element->asPath(&clipPath); in createSoftwareClipMask()
472 clipPath.toggleInverseFillType(); in createSoftwareClipMask()
473 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()

123