Home
last modified time | relevance | path

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

1234567

/external/skqp/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, 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()
/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, 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()
/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/skqp/samplecode/
DSampleIdentityScale.cpp64 SkPath clipPath; in onDrawContent() local
65 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent()
66 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
DSampleClip.cpp133 SkPath clipPath; in onDrawContent() local
135 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
143 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()
/external/skia/samplecode/
DSampleIdentityScale.cpp64 SkPath clipPath; in onDrawContent() local
65 clipPath.addRoundRect(r, SkIntToScalar(5), SkIntToScalar(5)); in onDrawContent()
66 canvas->clipPath(clipPath, kIntersect_SkClipOp, true); in onDrawContent()
DSampleClip.cpp133 SkPath clipPath; in onDrawContent() local
135 clipPath.addRoundRect(r, SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
143 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()
/external/skqp/tests/
DClipStackTest.cpp63 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
109 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison()
142 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
307 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
308 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
368 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
369 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
437 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_inverse_fill()
531 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
533 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
[all …]
DPictureTest.cpp393 canvas->clipPath(invPath); in test_clip_bound_opt()
402 canvas->clipPath(path); in test_clip_bound_opt()
403 canvas->clipPath(invPath); in test_clip_bound_opt()
412 canvas->clipPath(path); in test_clip_bound_opt()
413 canvas->clipPath(invPath, kUnion_SkClipOp); in test_clip_bound_opt()
422 canvas->clipPath(path, kDifference_SkClipOp); in test_clip_bound_opt()
431 canvas->clipPath(path, kReverseDifference_SkClipOp); in test_clip_bound_opt()
443 canvas->clipPath(path, kIntersect_SkClipOp); in test_clip_bound_opt()
444 canvas->clipPath(path2, kXOR_SkClipOp); in test_clip_bound_opt()
/external/skia/tests/
DClipStackTest.cpp63 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
109 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison()
142 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison()
307 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
308 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
368 stack.clipPath(clipA, SkMatrix::I(), kReplace_SkClipOp, false); in test_isWideOpen()
369 stack.clipPath(clipB, SkMatrix::I(), kUnion_SkClipOp, false); in test_isWideOpen()
437 stack.clipPath(path, SkMatrix::I(), kIntersect_SkClipOp, false); in test_rect_inverse_fill()
531 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
533 stack.clipPath(path, SkMatrix::I(), kReplace_SkClipOp, false); in test_path_replace()
[all …]
DPictureTest.cpp393 canvas->clipPath(invPath); in test_clip_bound_opt()
402 canvas->clipPath(path); in test_clip_bound_opt()
403 canvas->clipPath(invPath); in test_clip_bound_opt()
412 canvas->clipPath(path); in test_clip_bound_opt()
413 canvas->clipPath(invPath, kUnion_SkClipOp); in test_clip_bound_opt()
422 canvas->clipPath(path, kDifference_SkClipOp); in test_clip_bound_opt()
431 canvas->clipPath(path, kReverseDifference_SkClipOp); in test_clip_bound_opt()
443 canvas->clipPath(path, kIntersect_SkClipOp); in test_clip_bound_opt()
444 canvas->clipPath(path2, kXOR_SkClipOp); in test_clip_bound_opt()
/external/skqp/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp167 GrCCClipPath& clipPath = in makeClipProcessor() local
169 if (!clipPath.isInitialized()) { in makeClipProcessor()
177 clipPath.init(croppedPath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
179 clipPath.init(deviceSpacePath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
182 clipPath.addAccess(accessRect); in makeClipProcessor()
185 bool mustCheckBounds = !clipPath.pathDevIBounds().contains(accessRect); in makeClipProcessor()
186 return skstd::make_unique<GrCCClipProcessor>(&clipPath, MustCheckBounds(mustCheckBounds), in makeClipProcessor()
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp167 GrCCClipPath& clipPath = in makeClipProcessor() local
169 if (!clipPath.isInitialized()) { in makeClipProcessor()
177 clipPath.init(croppedPath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
179 clipPath.init(deviceSpacePath, accessRect, rtWidth, rtHeight, caps); in makeClipProcessor()
182 clipPath.addAccess(accessRect); in makeClipProcessor()
185 bool mustCheckBounds = !clipPath.pathDevIBounds().contains(accessRect); in makeClipProcessor()
186 return skstd::make_unique<GrCCClipProcessor>(&clipPath, MustCheckBounds(mustCheckBounds), in makeClipProcessor()
/external/pdfium/public/
Dfpdf_transformpage.h147 FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath);
160 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()
/external/skqp/experimental/svg/model/
DSkSVGNode.cpp42 if (const auto* clipPath = localContext.clipPath()) { in asPath() local
44 Op(path, *clipPath, kIntersect_SkPathOp, &path); in asPath()
/external/pdfium/fpdfsdk/
Dfpdf_transformpage.cpp223 FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) { in FPDF_DestroyClipPath() argument
225 std::unique_ptr<CPDF_ClipPath>(static_cast<CPDF_ClipPath*>(clipPath)); in FPDF_DestroyClipPath()
266 FPDF_CLIPPATH clipPath) { in FPDFPage_InsertClipPath() argument
277 CPDF_ClipPath* pClipPath = (CPDF_ClipPath*)clipPath; in FPDFPage_InsertClipPath()
/external/skqp/modules/sksg/src/
DSkSGText.cpp82 canvas->clipPath(this->asPath(), antiAlias); in onClip()
108 canvas->clipPath(this->asPath(), antiAlias); in onClip()
/external/skia/modules/sksg/src/
DSkSGText.cpp86 canvas->clipPath(this->asPath(), antiAlias); in onClip()
116 canvas->clipPath(this->asPath(), antiAlias); in onClip()

1234567