Home
last modified time | relevance | path

Searched refs:pathEffect (Results 1 – 25 of 46) sorted by relevance

12

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPaint.java36 private PathEffect pathEffect; field in ShadowPaint
67 this.pathEffect = otherShadowPaint.pathEffect; in __constructor__()
271 return pathEffect; in getPathEffect()
276 this.pathEffect = effect; in setPathEffect()
/external/skia/samplecode/
DSampleFilterFuzz.cpp415 sk_sp<SkPathEffect> pathEffect; in make_path_effect() local
416 if (canBeNull && (R(3) == 1)) { return pathEffect; } in make_path_effect()
420 pathEffect = SkPath2DPathEffect::Make(make_matrix(), make_path()); in make_path_effect()
423 pathEffect = SkPathEffect::MakeCompose(make_path_effect(false), in make_path_effect()
427 pathEffect = SkCornerPathEffect::Make(make_scalar()); in make_path_effect()
435 pathEffect = SkDashPathEffect::Make(intervals, count, make_scalar()); in make_path_effect()
439 pathEffect = SkDiscretePathEffect::Make(make_scalar(), make_scalar()); in make_path_effect()
442 pathEffect = SkPath1DPathEffect::Make(make_path(), make_scalar(), make_scalar(), in make_path_effect()
446 pathEffect = SkLine2DPathEffect::Make(make_scalar(), make_matrix()); in make_path_effect()
450 pathEffect = SkPathEffect::MakeSum(make_path_effect(false), in make_path_effect()
[all …]
/external/skqp/samplecode/
DSampleFilterFuzz.cpp415 sk_sp<SkPathEffect> pathEffect; in make_path_effect() local
416 if (canBeNull && (R(3) == 1)) { return pathEffect; } in make_path_effect()
420 pathEffect = SkPath2DPathEffect::Make(make_matrix(), make_path()); in make_path_effect()
423 pathEffect = SkPathEffect::MakeCompose(make_path_effect(false), in make_path_effect()
427 pathEffect = SkCornerPathEffect::Make(make_scalar()); in make_path_effect()
435 pathEffect = SkDashPathEffect::Make(intervals, count, make_scalar()); in make_path_effect()
439 pathEffect = SkDiscretePathEffect::Make(make_scalar(), make_scalar()); in make_path_effect()
442 pathEffect = SkPath1DPathEffect::Make(make_path(), make_scalar(), make_scalar(), in make_path_effect()
446 pathEffect = SkLine2DPathEffect::Make(make_scalar(), make_matrix()); in make_path_effect()
450 pathEffect = SkPathEffect::MakeSum(make_path_effect(false), in make_path_effect()
[all …]
/external/skia/src/gpu/
DGrStyle.h118 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect() function
143 return this->pathEffect() || (!fStrokeRec.isFillStyle() && !fStrokeRec.isHairlineStyle()); in applies()
173 if (this->pathEffect()) { in adjustBounds()
174 this->pathEffect()->computeFastBounds(dst, src); in adjustBounds()
DGrStyle.cpp17 } else if (style.pathEffect()) { in KeySize()
60 SkASSERT(!style.pathEffect()); in WriteKey()
79 if (!(flags & kClosed_KeyFlag) || style.pathEffect()) { in WriteKey()
DGrShape.cpp432 (GrStyle::Apply::kPathEffectOnly == apply && !parent.style().pathEffect())) { in GrShape()
438 SkPathEffect* pe = parent.fStyle.pathEffect(); in GrShape()
504 SkASSERT(!parent.fStyle.pathEffect()); in GrShape()
704 if (fStyle.isSimpleFill() || (!fStyle.pathEffect() && !fArcData.fUseCenter && in attemptToSimplifyArc()
716 if (!fStyle.pathEffect()) { in attemptToSimplifyArc()
DGrPathRenderer.h208 if (style.pathEffect()) { in IsStrokeHairlineOrEquivalent()
DGrRenderTargetContext.cpp501 SkASSERT(!style->pathEffect()); in drawRect()
915 SkASSERT(!style.pathEffect()); // this should've been devolved to a path in SkGpuDevice in drawRRect()
1303 if (oval.isEmpty() && !style.pathEffect()) { in drawOval()
1650 if (!pr && originalShape.style().pathEffect()) { in drawShapeUsingPathRenderer()
/external/skqp/src/gpu/
DGrStyle.h118 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect() function
143 return this->pathEffect() || (!fStrokeRec.isFillStyle() && !fStrokeRec.isHairlineStyle()); in applies()
173 if (this->pathEffect()) { in adjustBounds()
174 this->pathEffect()->computeFastBounds(dst, src); in adjustBounds()
DGrStyle.cpp17 } else if (style.pathEffect()) { in KeySize()
60 SkASSERT(!style.pathEffect()); in WriteKey()
79 if (!(flags & kClosed_KeyFlag) || style.pathEffect()) { in WriteKey()
DGrShape.cpp384 (GrStyle::Apply::kPathEffectOnly == apply && !parent.style().pathEffect())) { in GrShape()
390 SkPathEffect* pe = parent.fStyle.pathEffect(); in GrShape()
456 SkASSERT(!parent.fStyle.pathEffect()); in GrShape()
DGrPathRenderer.h208 if (style.pathEffect()) { in IsStrokeHairlineOrEquivalent()
DGrRenderTargetContext.cpp499 SkASSERT(!style->pathEffect()); in drawRect()
913 SkASSERT(!style.pathEffect()); // this should've been devolved to a path in SkGpuDevice in drawRRect()
1303 SkASSERT(!style.pathEffect()); // this should've been devolved to a path in SkGpuDevice in drawOval()
1648 if (!pr && originalShape.style().pathEffect()) { in drawShapeUsingPathRenderer()
DGrShape.h70 if (style.pathEffect()) { in GrShape()
/external/skia/site/user/api/
Dskpaint_overview.md191 * SkComposePathEffect: a pathEffect whose effect is to apply
192 first the inner pathEffect and the the outer pathEffect (i.e.
197 * SkSumPathEffect: a pathEffect whose effect is to apply two effects,
/external/skqp/site/user/api/
Dskpaint_overview.md191 * SkComposePathEffect: a pathEffect whose effect is to apply
192 first the inner pathEffect and the the outer pathEffect (i.e.
197 * SkSumPathEffect: a pathEffect whose effect is to apply two effects,
/external/skqp/src/gpu/gl/
DGrGLPathRange.cpp40 bool forceFill = fStyle.pathEffect() || in init()
DGrGLPath.cpp285 if (style.pathEffect()) { in GrGLPath()
/external/skia/src/gpu/gl/
DGrGLPathRange.cpp40 bool forceFill = fStyle.pathEffect() || in init()
DGrGLPath.cpp285 if (style.pathEffect()) { in GrGLPath()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp45 if (args.fShape->style().pathEffect()) { in onCanDrawPath()
341 SkASSERT(!args.fShape->style().pathEffect()); in onDrawPath()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp45 if (args.fShape->style().pathEffect()) { in onCanDrawPath()
340 SkASSERT(!args.fShape->style().pathEffect()); in onDrawPath()
/external/skia/tests/
DGrShapeTest.cpp1796 REPORTER_ASSERT(r, !fillCase.style().pathEffect()); in test_rrect()
1797 REPORTER_ASSERT(r, !strokeAndFillCase.style().pathEffect()); in test_rrect()
1819 REPORTER_ASSERT(r, strokeCase.style().pathEffect()); in test_rrect()
1820 REPORTER_ASSERT(r, hairlineCase.style().pathEffect()); in test_rrect()
1847 REPORTER_ASSERT(r, !strokeCase.style().pathEffect()); in test_rrect()
1848 REPORTER_ASSERT(r, !hairlineCase.style().pathEffect()); in test_rrect()
/external/skqp/tests/
DGrShapeTest.cpp1768 REPORTER_ASSERT(r, !fillCase.style().pathEffect()); in test_rrect()
1769 REPORTER_ASSERT(r, !strokeAndFillCase.style().pathEffect()); in test_rrect()
1791 REPORTER_ASSERT(r, strokeCase.style().pathEffect()); in test_rrect()
1792 REPORTER_ASSERT(r, hairlineCase.style().pathEffect()); in test_rrect()
1819 REPORTER_ASSERT(r, !strokeCase.style().pathEffect()); in test_rrect()
1820 REPORTER_ASSERT(r, !hairlineCase.style().pathEffect()); in test_rrect()
/external/skia/tools/debugger/
DSkDrawCommand.cpp1121 SkPathEffect* pathEffect = paint.getPathEffect(); in apply_paint_patheffect() local
1122 if (pathEffect != nullptr) { in apply_paint_patheffect()
1124 SkPathEffect::DashType dashType = pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
1127 pathEffect->asADash(&dashInfo); in apply_paint_patheffect()
1139 SkDrawCommand::flatten(pathEffect, &jsonPathEffect, urlDataManager); in apply_paint_patheffect()
1320 sk_sp<SkPathEffect> pathEffect((SkPathEffect*)load_flattenable(jsonPathEffect, in extract_json_paint_patheffect() local
1322 if (pathEffect != nullptr) { in extract_json_paint_patheffect()
1323 target->setPathEffect(pathEffect); in extract_json_paint_patheffect()

12