Home
last modified time | relevance | path

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

123

/external/skia/gm/
Dskbug1719.cpp28 SkPath clipPath; variable
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.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
[all …]
Dcircularclips.cpp57 canvas->clipPath(fCircle1, SkRegion::kReplace_Op, true); in onDraw()
58 canvas->clipPath(fCircle2, SkRegion::kIntersect_Op, true); in onDraw()
76 canvas->clipPath(fCircle1, SkRegion::kReplace_Op); in onDraw()
77 canvas->clipPath(fCircle2, ops[op]); in onDraw()
Dpathopsskpclip.cpp46 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
48 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
Dcomplexclip3.cpp88 canvas->clipPath(*firstClip, SkRegion::kIntersect_Op, doAAA); in onDraw()
89 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw()
Dsimpleaaclip.cpp109 canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true); in drawPathsOped()
110 canvas->clipPath(fRectPath, op, true); in drawPathsOped()
Dpath_stroke_with_zero_length.cpp170 canvas->clipPath(clip, SkRegion::kIntersect_Op, true); in drawFat()
183 canvas->clipPath(clip, SkRegion::kIntersect_Op, true); in drawFat()
Dcomplexclip.cpp134 canvas->clipPath(clipA, SkRegion::kIntersect_Op, fDoAAClip); in onDraw()
135 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
Ddistantclip.cpp43 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
Dsamplerstress.cpp116 canvas->clipPath(path, SkRegion::kReplace_Op, true); // AA is on in onDraw()
/external/skia/samplecode/
DSampleIdentityScale.cpp75 SkPath clipPath; in onDrawContent() local
76 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent()
77 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(1)); in onDrawContent()
DSampleClip.cpp137 SkPath clipPath; in onDrawContent() local
139 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
147 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(aa)); in onDrawContent()
DSampleClipDrawMatch.cpp176 canvas->clipPath(create_convex_path(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
179 canvas->clipPath(create_concave_path(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
197 canvas->clipPath(create_convex_path(offset), SkRegion::kIntersect_Op, useAA); in drawClippedGeom()
203 canvas->clipPath(create_concave_path(offset), SkRegion::kIntersect_Op, useAA); in drawClippedGeom()
DSampleComplexClip.cpp109 canvas->clipPath(clipA); in onDrawContent()
110 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
/external/skia/src/gpu/
DGrClipMaskManager.cpp791 SkPath clipPath; in createStencilClipMask() local
796 element->asPath(&clipPath); in createStencilClipMask()
797 fillInverted = clipPath.isInverseFillType(); in createStencilClipMask()
799 clipPath.toggleInverseFillType(); in createStencilClipMask()
807 canDrawArgs.fPath = &clipPath; in createStencilClipMask()
852 if (!clipPath.isEmpty()) { in createStencilClipMask()
862 args.fPath = &clipPath; in createStencilClipMask()
872 args.fPath = &clipPath; in createStencilClipMask()
897 args.fPath = &clipPath; in createStencilClipMask()
1125 SkPath clipPath; in createSoftwareClipMask() local
[all …]
/external/pdfium/public/
Dfpdf_transformpage.h141 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
154 FPDF_CLIPPATH clipPath);
/external/pdfium/fpdfsdk/src/
Dfpdf_transformpage.cpp221 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) { in FPDF_DestroyClipPath() argument
222 delete (CPDF_ClipPath*)clipPath; in FPDF_DestroyClipPath()
264 FPDF_CLIPPATH clipPath) { in FPDFPage_InsertClipPath() argument
278 CPDF_ClipPath* pClipPath = (CPDF_ClipPath*)clipPath; in FPDFPage_InsertClipPath()
/external/skia/src/pdf/
DSkPDFDevice.cpp318 static void emit_clip(SkPath* clipPath, SkRect* clipRect, in emit_clip() argument
320 SkASSERT(clipPath || clipRect); in emit_clip()
323 if (clipPath) { in emit_clip()
324 SkPDFUtils::EmitPath(*clipPath, SkPaint::kFill_Style, contentStream); in emit_clip()
325 clipFill = clipPath->getFillType(); in emit_clip()
348 SkPath clipPath; in calculate_inverse_path() local
349 clipPath.addRect(bounds); in calculate_inverse_path()
351 return Op(clipPath, invPath, kIntersect_SkPathOp, outPath); in calculate_inverse_path()
448 SkPath clipPath; in updateClip() local
449 if (get_clip_stack_path(transform, clipStack, clipRegion, &clipPath)) { in updateClip()
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtests11.dat290 …/><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feC…
304 | <svg clipPath>
350 | <svg clipPath>
396 | <svg clipPath>
428 …/><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feC…
/external/skia/tests/
DCanvasTest.cpp195 void clipPath(const SkPath& p, SkRegion::Op op, bool aa) override { in clipPath() function in Canvas2CanvasClipVisitor
196 fTarget->clipPath(p, op, aa); in clipPath()
335 SIMPLE_TEST_STEP(ClipPath, clipPath(d.fPath));
717 canvas.clipPath(path); in DEF_TEST()
721 canvas.clipPath(path); in DEF_TEST()
725 canvas.clipPath(path); // should not assert here in DEF_TEST()
DPictureTest.cpp961 canvas->clipPath(invPath, SkRegion::kIntersect_Op); in test_clip_bound_opt()
971 canvas->clipPath(path, SkRegion::kIntersect_Op); in test_clip_bound_opt()
972 canvas->clipPath(invPath, SkRegion::kIntersect_Op); in test_clip_bound_opt()
982 canvas->clipPath(path, SkRegion::kIntersect_Op); in test_clip_bound_opt()
983 canvas->clipPath(invPath, SkRegion::kUnion_Op); in test_clip_bound_opt()
993 canvas->clipPath(path, SkRegion::kDifference_Op); in test_clip_bound_opt()
1003 canvas->clipPath(path, SkRegion::kReverseDifference_Op); in test_clip_bound_opt()
1016 canvas->clipPath(path, SkRegion::kIntersect_Op); in test_clip_bound_opt()
1017 canvas->clipPath(path2, SkRegion::kXOR_Op); in test_clip_bound_opt()
/external/skia/src/animator/
DSkDrawClip.cpp36 maker.fCanvas->clipPath(path->fPath); in draw()
/external/skia/src/svg/
DSkSVGDevice.cpp443 SkPath clipPath; in addClipResources() local
444 (void) draw.fClipStack->asPath(&clipPath); in addClipResources()
447 const char* clipRule = clipPath.getFillType() == SkPath::kEvenOdd_FillType ? in addClipResources()
456 if (clipPath.isEmpty() || clipPath.isRect(&clipRect)) { in addClipResources()
462 pathElement.addPathAttributes(clipPath); in addClipResources()
/external/skia/bench/
DAAClipBench.cpp62 canvas->clipPath(fClipPath, SkRegion::kReplace_Op, fDoAA); in onDraw()
132 canvas->clipPath(path, in recurse()
/external/skia/src/core/
DSkRemote.h98 virtual void clipPath(ID path, SkRegion::Op, bool aa) = 0;
DSkRemote.cpp422 fEncoder->clipPath(this->id(path), op, edgeStyle == kSoft_ClipEdgeStyle); in onClipPath()
513 void clipPath(ID path, SkRegion::Op op, bool aa) override { in clipPath() function in SkRemote::Decoder
514 fCanvas->clipPath(fPath.find(path), op, aa); in clipPath()
694 void clipPath(ID path, SkRegion::Op op, bool aa) override { in clipPath() function in SkRemote::CachingEncoder
695 fWrapped->clipPath(path, op, aa); in clipPath()

123