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

123

/external/skia/gm/
H A Dskbug1719.cpp28 SkPath clipPath; local
29 clipPath.moveTo(832.f, 654.f);
30 clipPath.lineTo(1034.f, 654.f);
31 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
32 clipPath.lineTo(1042.f, 724.f);
33 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
34 clipPath.lineTo(832.f, 732.f);
35 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
36 clipPath.lineTo(824.f, 662.f);
37 clipPath
[all...]
H A Dcircularclips.cpp57 canvas->clipPath(fCircle1, SkRegion::kReplace_Op, true);
58 canvas->clipPath(fCircle2, SkRegion::kIntersect_Op, true);
76 canvas->clipPath(fCircle1, SkRegion::kReplace_Op);
77 canvas->clipPath(fCircle2, ops[op]);
H A Dpathopsskpclip.cpp46 rec->clipPath(p, SkRegion::kIntersect_Op, true);
48 rec->clipPath(p, SkRegion::kIntersect_Op, true);
H A Dcomplexclip3.cpp88 canvas->clipPath(*firstClip, SkRegion::kIntersect_Op, doAAA);
89 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB);
H A Ddistantclip.cpp43 rec->clipPath(p, SkRegion::kIntersect_Op, true);
60 // If the image is red, we erroneously decided the clipPath was empty and didn't record
H A Dsimpleaaclip.cpp109 canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true);
110 canvas->clipPath(fRectPath, op, true);
H A Dsamplerstress.cpp116 canvas->clipPath(path, SkRegion::kReplace_Op, true); // AA is on
H A Dcomplexclip.cpp134 canvas->clipPath(clipA, SkRegion::kIntersect_Op, fDoAAClip);
135 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip);
H A Dpath_stroke_with_zero_length.cpp170 canvas->clipPath(clip, SkRegion::kIntersect_Op, true);
183 canvas->clipPath(clip, SkRegion::kIntersect_Op, true);
/external/skia/samplecode/
H A DSampleIdentityScale.cpp75 SkPath clipPath; variable
76 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5));
77 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(1));
H A DSampleClip.cpp137 SkPath clipPath; local
139 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20));
141 // clipPath.toggleInverseFillType();
147 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(aa));
H A DSampleClipDrawMatch.cpp176 canvas->clipPath(create_convex_path(offset), SkRegion::kReplace_Op, useAA);
179 canvas->clipPath(create_concave_path(offset), SkRegion::kReplace_Op, useAA);
197 canvas->clipPath(create_convex_path(offset), SkRegion::kIntersect_Op, useAA);
203 canvas->clipPath(create_concave_path(offset), SkRegion::kIntersect_Op, useAA);
H A DSampleComplexClip.cpp109 canvas->clipPath(clipA);
110 canvas->clipPath(clipB, gOps[op].fOp);
/external/skia/src/animator/
H A DSkDrawClip.cpp36 maker.fCanvas->clipPath(path->fPath);
/external/pdfium/public/
H A Dfpdf_transformpage.h137 * @param[in] clipPath - A handle to the clip path.
141 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
148 * @param[in] clipPath - A handle to the clip path.
154 FPDF_CLIPPATH clipPath);
/external/skia/src/gpu/
H A DGrClipMaskManager.cpp791 SkPath clipPath; local
796 element->asPath(&clipPath);
797 fillInverted = clipPath.isInverseFillType();
799 clipPath.toggleInverseFillType();
807 canDrawArgs.fPath = &clipPath;
852 if (!clipPath.isEmpty()) {
862 args.fPath = &clipPath;
872 args.fPath = &clipPath;
897 args.fPath = &clipPath;
1125 SkPath clipPath; local
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfpdf_transformpage.cpp221 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) { argument
222 delete (CPDF_ClipPath*)clipPath;
264 FPDF_CLIPPATH clipPath) {
278 CPDF_ClipPath* pClipPath = (CPDF_ClipPath*)clipPath;
263 FPDFPage_InsertClipPath(FPDF_PAGE page, FPDF_CLIPPATH clipPath) argument
/external/skia/src/core/
H A DSkRemote.h98 virtual void clipPath(ID path, SkRegion::Op, bool aa) = 0;
H A DSkRemote.cpp422 fEncoder->clipPath(this->id(path), op, edgeStyle == kSoft_ClipEdgeStyle);
513 void clipPath(ID path, SkRegion::Op op, bool aa) override {
514 fCanvas->clipPath(fPath.find(path), op, aa);
694 void clipPath(ID path, SkRegion::Op op, bool aa) override {
695 fWrapped->clipPath(path, op, aa);
/external/skia/bench/
H A DAAClipBench.cpp17 // This bench tests out AA/BW clipping via canvas' clipPath and clipRect calls
62 canvas->clipPath(fClipPath, SkRegion::kReplace_Op, fDoAA);
132 canvas->clipPath(path,
/external/skia/src/pdf/
H A DSkPDFDevice.cpp318 static void emit_clip(SkPath* clipPath, SkRect* clipRect, argument
320 SkASSERT(clipPath || clipRect);
323 if (clipPath) {
324 SkPDFUtils::EmitPath(*clipPath, SkPaint::kFill_Style, contentStream);
325 clipFill = clipPath->getFillType();
348 SkPath clipPath; local
349 clipPath.addRect(bounds);
351 return Op(clipPath, invPath, kIntersect_SkPathOp, outPath);
448 SkPath clipPath; local
449 if (get_clip_stack_path(transform, clipStack, clipRegion, &clipPath)) {
478 SkPath clipPath; local
1825 SkPath clipPath; local
[all...]
/external/skia/tools/lua/
H A Dpaths.lua76 if t.verb == "clipPath" then
/external/skia/tests/
H A DCanvasTest.cpp195 void clipPath(const SkPath& p, SkRegion::Op op, bool aa) override {
196 fTarget->clipPath(p, op, aa);
335 SIMPLE_TEST_STEP(ClipPath, clipPath(d.fPath));
717 canvas.clipPath(path);
721 canvas.clipPath(path);
725 canvas.clipPath(path); // should not assert here
H A DPictureTest.cpp961 canvas->clipPath(invPath, SkRegion::kIntersect_Op);
971 canvas->clipPath(path, SkRegion::kIntersect_Op);
972 canvas->clipPath(invPath, SkRegion::kIntersect_Op);
982 canvas->clipPath(path, SkRegion::kIntersect_Op);
983 canvas->clipPath(invPath, SkRegion::kUnion_Op);
993 canvas->clipPath(path, SkRegion::kDifference_Op);
1003 canvas->clipPath(path, SkRegion::kReverseDifference_Op);
1016 canvas->clipPath(path, SkRegion::kIntersect_Op);
1017 canvas->clipPath(path2, SkRegion::kXOR_Op);
/external/skia/src/svg/
H A DSkSVGDevice.cpp443 SkPath clipPath;
444 (void) draw.fClipStack->asPath(&clipPath);
447 const char* clipRule = clipPath.getFillType() == SkPath::kEvenOdd_FillType ?
450 // clipPath is in device space, but since we're only pushing transform attributes
452 AutoElement clipPathElement("clipPath", fWriter);
456 if (clipPath.isEmpty() || clipPath.isRect(&clipRect)) {
462 pathElement.addPathAttributes(clipPath);

Completed in 448 milliseconds

123