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

123

/external/skia/gm/
H A Dskbug1719.cpp29 SkPath clipPath; local
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
[all...]
H A Dcircularclips.cpp57 canvas->clipPath(fCircle1, true);
58 canvas->clipPath(fCircle2, true);
76 canvas->clipPath(fCircle1);
77 canvas->clipPath(fCircle2, ops[op]);
H A Dpathopsskpclip.cpp45 rec->clipPath(p, true);
47 rec->clipPath(p, true);
H A Dbug5252.cpp18 canvas->clipPath(clip1); // bug
22 //canvas->clipPath(clip2); // ok
H A Dcomplexclip3.cpp88 canvas->clipPath(*firstClip, doAAA);
89 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB);
H A Ddistantclip.cpp43 rec->clipPath(p, true);
60 // If the image is red, we erroneously decided the clipPath was empty and didn't record
H A Dsimpleaaclip.cpp110 canvas->clipPath(fBasePath, true);
111 canvas->clipPath(fRectPath, op, true);
H A Dcomplexclip4.cpp60 canvas->clipPath(pathClip, kReplace_SkClipOp, fDoAAClip);
H A Dsamplerstress.cpp112 canvas->clipPath(path, true); // AA is on
H A Dcomplexclip.cpp133 canvas->clipPath(clipA, fDoAAClip);
134 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip);
/external/skia/samplecode/
H A DSampleIdentityScale.cpp67 SkPath clipPath; variable
68 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5));
69 canvas->clipPath(clipPath, kIntersect_SkClipOp, true);
H A DSampleClip.cpp136 SkPath clipPath; local
138 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20));
140 // clipPath.toggleInverseFillType();
146 canvas->clipPath(clipPath, kIntersect_SkClipOp, SkToBool(aa));
H A DSampleClipDrawMatch.cpp176 canvas->clipPath(create_convex_path(offset), useAA);
179 canvas->clipPath(create_concave_path(offset), useAA);
197 canvas->clipPath(create_convex_path(offset), useAA);
203 canvas->clipPath(create_concave_path(offset), useAA);
/external/pdfium/core/fxge/skia/
H A Dfx_skia_device_unittest.cpp45 CFX_PathData clipPath, clipPath2; local
46 clipPath.AppendRect(0, 0, 3, 1);
61 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0);
80 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0);
84 driver->SetClip_PathFill(&clipPath, &clipMatrix2, 0);
98 CFX_PathData clipPath; local
99 clipPath.AppendRect(1, 0, 3, 1);
102 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0);
105 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0);
111 driver->SetClip_PathFill(&clipPath,
[all...]
/external/pdfium/public/
H A Dfpdf_transformpage.h138 * @param[in] clipPath - A handle to the clip path.
142 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
149 * @param[in] clipPath - A handle to the clip path.
155 FPDF_CLIPPATH clipPath);
/external/skia/tests/
H A DClipStackTest.cpp41 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA);
87 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA);
120 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA);
281 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false);
282 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false);
342 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false);
343 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false);
412 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false);
506 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false);
508 stack.clipPath(pat
1368 SkPath clipPath; local
[all...]
H A DPictureTest.cpp287 canvas->clipPath(convexClip);
288 canvas->clipPath(concaveClip);
289 canvas->clipPath(convexClip, kIntersect_SkClipOp, true);
301 canvas->clipPath(concaveClip, kIntersect_SkClipOp, true);
640 canvas->clipPath(invPath);
649 canvas->clipPath(path);
650 canvas->clipPath(invPath);
659 canvas->clipPath(path);
660 canvas->clipPath(invPath, kUnion_SkClipOp);
669 canvas->clipPath(pat
[all...]
/external/skia/experimental/svg/model/
H A DSkSVGNode.cpp42 if (const auto* clipPath = localContext.clipPath()) {
44 Op(path, *clipPath, kIntersect_SkPathOp, &path);
H A DSkSVGRenderContext.h84 const SkPath* clipPath() const { return fClipPath.getMaybeNull(); } function in class:SkSVGRenderContext
103 // clipPath, if present for the current context (not inherited).
H A DSkSVGRenderContext.cpp329 const SkPath clipPath = clipNode->asPath(*this); local
343 fCanvas->clipPath(clipPath, true);
344 fClipPath.set(clipPath);
/external/pdfium/fpdfsdk/
H A Dfpdf_transformpage.cpp231 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) { argument
232 delete (CPDF_ClipPath*)clipPath;
273 FPDF_CLIPPATH clipPath) {
287 CPDF_ClipPath* pClipPath = (CPDF_ClipPath*)clipPath;
272 FPDFPage_InsertClipPath(FPDF_PAGE page, FPDF_CLIPPATH clipPath) argument
/external/skia/src/core/
H A DSkClipStackDevice.cpp39 fClipStack.clipPath(path, this->ctm(), op, aa);
H A DSkLiteDL.h42 void clipPath (const SkPath&, SkClipOp, bool aa);
/external/skia/src/gpu/
H A DGrClipStackClip.cpp470 SkPath clipPath; local
471 element->asPath(&clipPath);
472 clipPath.toggleInverseFillType();
473 GrShape shape(clipPath, GrStyle::SimpleFill());
/external/skia/bench/
H A DAAClipBench.cpp18 // This bench tests out AA/BW clipping via canvas' clipPath and clipRect calls
63 canvas->clipPath(fClipPath, kReplace_SkClipOp, fDoAA);
133 canvas->clipPath(path,

Completed in 658 milliseconds

123