Home
last modified time | relevance | path

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

12

/external/skia/gm/
Dskbug1719.cpp47 SkPath clipPath; in onDraw() local
48 clipPath.moveTo(832.f, 654.f); in onDraw()
49 clipPath.lineTo(1034.f, 654.f); in onDraw()
50 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); in onDraw()
51 clipPath.lineTo(1042.f, 724.f); in onDraw()
52 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); in onDraw()
53 clipPath.lineTo(832.f, 732.f); in onDraw()
54 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); in onDraw()
55 clipPath.lineTo(824.f, 662.f); in onDraw()
56 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f); in onDraw()
[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()
Ddistantclip.cpp43 rec->clipPath(p, SkRegion::kIntersect_Op, true); in onDraw()
Dcomplexclip.cpp134 canvas->clipPath(clipA, SkRegion::kIntersect_Op, fDoAAClip); in onDraw()
135 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
Dsamplerstress.cpp114 canvas->clipPath(path, SkRegion::kReplace_Op, true); // AA is on in onDraw()
Dcomplexclip2.cpp183 canvas->clipPath(fPaths[k], in onDraw()
Dmultipicturedraw.cpp310 canvas->clipPath(hex); in path_clip()
323 canvas->clipPath(hex); in invpath_clip()
/external/skia/samplecode/
DSampleIdentityScale.cpp74 SkPath clipPath; in onDrawContent() local
75 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent()
76 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(1)); in onDrawContent()
DSampleClip.cpp136 SkPath clipPath; in onDrawContent() local
138 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
146 canvas->clipPath(clipPath, SkRegion::kIntersect_Op, SkToBool(aa)); in onDrawContent()
DSampleClipDrawMatch.cpp174 canvas->clipPath(create_convex_path(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
177 canvas->clipPath(create_concave_path(offset), SkRegion::kReplace_Op, useAA); in drawClippedGeom()
195 canvas->clipPath(create_convex_path(offset), SkRegion::kIntersect_Op, useAA); in drawClippedGeom()
201 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/experimental/PdfViewer/src/
DSkPdfDiffEncoder.cpp104 SkPath clipPath; in WriteToFile() local
105 if (clipRegion.getBoundaryPath(&clipPath)) { in WriteToFile()
109 canvas.drawPath(clipPath, redBorder); in WriteToFile()
/external/skia/src/gpu/
DGrClipMaskManager.cpp760 SkPath clipPath; in createStencilClipMask() local
765 element->asPath(&clipPath); in createStencilClipMask()
766 fillInverted = clipPath.isInverseFillType(); in createStencilClipMask()
768 clipPath.toggleInverseFillType(); in createStencilClipMask()
773 clipPath, in createStencilClipMask()
817 if (!clipPath.isEmpty()) { in createStencilClipMask()
821 viewMatrix, clipPath, stroke, false); in createStencilClipMask()
824 clipPath, stroke); in createStencilClipMask()
846 viewMatrix, clipPath, stroke, false); in createStencilClipMask()
1078 SkPath clipPath; in createSoftwareClipMask() local
[all …]
/external/pdfium/public/
Dfpdf_transformpage.h103 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
113 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clipPath);
/external/pdfium/fpdfsdk/src/
Dfpdf_transformpage.cpp212 DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) in FPDF_DestroyClipPath() argument
214 if(clipPath) in FPDF_DestroyClipPath()
215 delete (CPDF_ClipPath*)clipPath; in FPDF_DestroyClipPath()
255 DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clipPath) in FPDFPage_InsertClipPath() argument
268 CPDF_ClipPath* pClipPath = (CPDF_ClipPath*)clipPath; in FPDFPage_InsertClipPath()
/external/skia/src/pdf/
DSkPDFDevice.cpp315 static void emit_clip(SkPath* clipPath, SkRect* clipRect, in emit_clip() argument
317 SkASSERT(clipPath || clipRect); in emit_clip()
320 if (clipPath) { in emit_clip()
321 SkPDFUtils::EmitPath(*clipPath, SkPaint::kFill_Style, contentStream); in emit_clip()
322 clipFill = clipPath->getFillType(); in emit_clip()
345 SkPath clipPath; in calculate_inverse_path() local
346 clipPath.addRect(bounds); in calculate_inverse_path()
348 return Op(clipPath, invPath, kIntersect_PathOp, outPath); in calculate_inverse_path()
450 SkPath clipPath; in updateClip() local
451 if (get_clip_stack_path(transform, clipStack, clipRegion, &clipPath)) { in updateClip()
[all …]
/external/chromium-trace/trace-viewer/tracing/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/src/animator/
DSkDrawClip.cpp36 maker.fCanvas->clipPath(path->fPath); in draw()
/external/skia/src/svg/
DSkSVGDevice.cpp442 SkPath clipPath; in addClipResources() local
443 (void) draw.fClipStack->asPath(&clipPath); in addClipResources()
446 const char* clipRule = clipPath.getFillType() == SkPath::kEvenOdd_FillType ? in addClipResources()
455 if (clipPath.isEmpty() || clipPath.isRect(&clipRect)) { in addClipResources()
461 pathElement.addPathAttributes(clipPath); in addClipResources()
/external/skia/tests/
DCanvasTest.cpp200 void clipPath(const SkPath& p, SkRegion::Op op, bool aa) override { in clipPath() function in Canvas2CanvasClipVisitor
201 fTarget->clipPath(p, op, aa); in clipPath()
348 SIMPLE_TEST_STEP(ClipPath, clipPath(d.fPath));
769 canvas.clipPath(path); in DEF_TEST()
773 canvas.clipPath(path); in DEF_TEST()
777 canvas.clipPath(path); // should not assert here in DEF_TEST()
DPictureTest.cpp919 canvas->clipPath(invPath, SkRegion::kIntersect_Op); in test_clip_bound_opt()
929 canvas->clipPath(path, SkRegion::kIntersect_Op); in test_clip_bound_opt()
930 canvas->clipPath(invPath, SkRegion::kIntersect_Op); in test_clip_bound_opt()
940 canvas->clipPath(path, SkRegion::kIntersect_Op); in test_clip_bound_opt()
941 canvas->clipPath(invPath, SkRegion::kUnion_Op); in test_clip_bound_opt()
951 canvas->clipPath(path, SkRegion::kDifference_Op); in test_clip_bound_opt()
961 canvas->clipPath(path, SkRegion::kReverseDifference_Op); in test_clip_bound_opt()
974 canvas->clipPath(path, SkRegion::kIntersect_Op); in test_clip_bound_opt()
975 canvas->clipPath(path2, SkRegion::kXOR_Op); in test_clip_bound_opt()
/external/skia/bench/
DAAClipBench.cpp62 canvas->clipPath(fClipPath, SkRegion::kReplace_Op, fDoAA); in onDraw()
132 canvas->clipPath(path, in recurse()

12