Home
last modified time | relevance | path

Searched refs:SkPathEffect (Results 1 – 25 of 63) sorted by relevance

123

/external/skia/include/core/
DSkPathEffect.h29 class SK_API SkPathEffect : public SkFlattenable {
132 SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect) in SK_DEFINE_FLATTENABLE_TYPE() argument
140 SkPathEffect() {} in SkPathEffect() function
144 SkPathEffect(const SkPathEffect&);
145 SkPathEffect& operator=(const SkPathEffect&);
156 class SkPairPathEffect : public SkPathEffect {
161 SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1);
166 SkPathEffect* fPE0, *fPE1;
171 typedef SkPathEffect INHERITED;
186 static SkPathEffect* Create(SkPathEffect* outer, SkPathEffect* inner) { in Create()
[all …]
DSkPaint.h31 class SkPathEffect; variable
550 SkPathEffect* getPathEffect() const { return fPathEffect; } in getPathEffect()
562 SkPathEffect* setPathEffect(SkPathEffect* effect);
1034 SkPathEffect* fPathEffect;
/external/skia/tests/
DAsADashTest.cpp15 SkAutoTUnref<SkPathEffect> pe(SkCornerPathEffect::Create(1.0)); in DEF_TEST()
16 SkPathEffect::DashInfo info; in DEF_TEST()
18 SkPathEffect::DashType dashType = pe->asADash(&info); in DEF_TEST()
19 REPORTER_ASSERT(reporter, SkPathEffect::kNone_DashType == dashType); in DEF_TEST()
25 SkAutoTUnref<SkPathEffect> pe(SkDashPathEffect::Create(inIntervals, 4, phase)); in DEF_TEST()
27 SkPathEffect::DashType dashType = pe->asADash(nullptr); in DEF_TEST()
28 REPORTER_ASSERT(reporter, SkPathEffect::kDash_DashType == dashType); in DEF_TEST()
36 SkAutoTUnref<SkPathEffect> pe(SkDashPathEffect::Create(inIntervals, 4, phase)); in DEF_TEST()
38 SkPathEffect::DashInfo info; in DEF_TEST()
40 SkPathEffect::DashType dashType = pe->asADash(&info); in DEF_TEST()
[all …]
DDashPathEffectTest.cpp21 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); in DEF_TEST()
36 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f)); in DEF_TEST()
73 SkPathEffect::PointData results; in DEF_TEST()
98 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0)); in DEF_TEST()
DDrawPathTest.cpp195 SkAutoTUnref<SkPathEffect> dontAssert(SkDashPathEffect::Create(vals, 4, -248.135982067f)); in test_crbug_140642()
205 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, 2, -10)); in test_crbug_124652()
284 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0)); in test_infinite_dash()
304 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0)); in test_crbug_165432()
DGpuDrawPathTest.cpp52 SkPathEffect* effect) { in fill_and_stroke()
76 SkAutoTUnref<SkPathEffect> dashEffect(SkDashPathEffect::Create(intervals, 2, 0)); in test_drawSameRectOvals()
/external/skia/src/gpu/
DGrStrokeInfo.h31 , fDashType(SkPathEffect::kNone_DashType) { in GrStrokeInfo()
42 fDashType = SkPathEffect::kNone_DashType; in INHERITED()
48 , fDashType(SkPathEffect::kNone_DashType) { in GrStrokeInfo()
54 , fDashType(SkPathEffect::kNone_DashType) { in GrStrokeInfo()
91 bool setDashInfo(const SkPathEffect* pe) { in setDashInfo()
93 SkPathEffect::DashInfo dashInfo; in setDashInfo()
95 if (SkPathEffect::kDash_DashType == fDashType) { in setDashInfo()
109 bool setDashInfo(const SkPathEffect::DashInfo& info) { in setDashInfo()
111 fDashType = SkPathEffect::kDash_DashType; in setDashInfo()
123 return (!this->isFillStyle() && SkPathEffect::kDash_DashType == fDashType); in isDashed()
[all …]
DGrBlurUtils.h22 class SkPathEffect; variable
53 const SkPathEffect*,
/external/skia/src/core/
DSkPathEffect.cpp16 void SkPathEffect::computeFastBounds(SkRect* dst, const SkRect& src) const { in computeFastBounds()
20 bool SkPathEffect::asPoints(PointData* results, const SkPath& src, in asPoints()
25 SkPathEffect::DashType SkPathEffect::asADash(DashInfo* info) const { in asADash()
31 SkPairPathEffect::SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1) in SkPairPathEffect()
68 SkAutoTUnref<SkPathEffect> pe0(buffer.readPathEffect()); in CreateProc()
69 SkAutoTUnref<SkPathEffect> pe1(buffer.readPathEffect()); in CreateProc()
105 SkAutoTUnref<SkPathEffect> pe0(buffer.readPathEffect()); in CreateProc()
106 SkAutoTUnref<SkPathEffect> pe1(buffer.readPathEffect()); in CreateProc()
DSkPictureCommon.h110 const SkPathEffect* effect = op.paint.getPathEffect(); in operator()
112 SkPathEffect::DashInfo info; in operator()
113 SkPathEffect::DashType dashType = effect->asADash(&info); in operator()
115 SkPathEffect::kDash_DashType == dashType && 2 == info.fCount) { in operator()
DSkPictureContentInfo.cpp49 SkPathEffect::DashInfo info; in onDrawPoints()
50 SkPathEffect::DashType dashType = paint.getPathEffect()->asADash(&info); in onDrawPoints()
52 SkPathEffect::kDash_DashType == dashType && 2 == info.fCount) { in onDrawPoints()
/external/skia/samplecode/
DSamplePathEffects.cpp29 static SkPathEffect* make_pe(int flags, SkScalar phase) { in make_pe()
40 SkPathEffect* outer = SkPath1DPathEffect::Create(path, 12, phase, in make_pe()
46 SkPathEffect* inner = SkCornerPathEffect::Create(SkIntToScalar(CORNER_RADIUS)); in make_pe()
48 SkPathEffect* pe = SkComposePathEffect::Create(outer, inner); in make_pe()
54 static SkPathEffect* make_warp_pe(SkScalar phase) { in make_warp_pe()
62 SkPathEffect* outer = SkPath1DPathEffect::Create( in make_warp_pe()
64 SkPathEffect* inner = SkCornerPathEffect::Create(SkIntToScalar(CORNER_RADIUS)); in make_warp_pe()
66 SkPathEffect* pe = SkComposePathEffect::Create(outer, inner); in make_warp_pe()
DClockFaceView.cpp111 class InverseFillPE : public SkPathEffect {
130 typedef SkPathEffect INHERITED;
135 static SkPathEffect* makepe(float interp, SkTDArray<SkPoint>* pts) { in makepe()
204 SkPathEffect* pe = makepe(0, &pts); in drawdots()
/external/skia/include/effects/
DSkArcToPathEffect.h13 class SK_API SkArcToPathEffect : public SkPathEffect {
18 static SkPathEffect* Create(SkScalar radius) { in Create()
37 typedef SkPathEffect INHERITED;
DSkCornerPathEffect.h18 class SK_API SkCornerPathEffect : public SkPathEffect {
23 static SkPathEffect* Create(SkScalar radius) { return new SkCornerPathEffect(radius); } in Create()
44 typedef SkPathEffect INHERITED;
DSk2DPathEffect.h15 class SK_API Sk2DPathEffect : public SkPathEffect {
53 typedef SkPathEffect INHERITED;
58 static SkPathEffect* Create(SkScalar width, const SkMatrix& matrix) { in Create()
87 static SkPathEffect* Create(const SkMatrix& matrix, const SkPath& path) { in Create()
DSkDiscretePathEffect.h17 class SK_API SkDiscretePathEffect : public SkPathEffect {
32 static SkPathEffect* Create(SkScalar segLength, SkScalar deviation, uint32_t seedAssist = 0) {
58 typedef SkPathEffect INHERITED;
DSkDashPathEffect.h17 class SK_API SkDashPathEffect : public SkPathEffect {
39 static SkPathEffect* Create(const SkScalar intervals[], int count, SkScalar phase);
72 typedef SkPathEffect INHERITED;
DSk1DPathEffect.h17 class SK_API Sk1DPathEffect : public SkPathEffect {
39 typedef SkPathEffect INHERITED;
59 static SkPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, Style);
/external/skia/src/animator/
DSkDrawExtraPathEffect.cpp24 SkPathEffect* getPathEffect() override;
29 SkPathEffect* fPathEffect;
62 SkPathEffect* getPathEffect() override;
73 SkPathEffect* getPathEffect() override;
200 SkPathEffect* SkDrawShapePathEffect::getPathEffect() { in getPathEffect()
381 SkPathEffect* SkDrawComposePathEffect::getPathEffect() { in getPathEffect()
382 SkPathEffect* e1 = effect1->getPathEffect(); in getPathEffect()
383 SkPathEffect* e2 = effect2->getPathEffect(); in getPathEffect()
384 SkPathEffect* composite = SkComposePathEffect::Create(e1, e2); in getPathEffect()
413 SkPathEffect* SkDrawCornerPathEffect::getPathEffect() { in getPathEffect()
DSkDrawDiscrete.h16 SkPathEffect* getPathEffect() override;
DSkDrawDash.h18 SkPathEffect* getPathEffect() override;
/external/skia/gm/
Dpatheffects.cpp19 SkPathEffect* pe = paint->getPathEffect(); in compose_pe()
20 SkPathEffect* corner = SkCornerPathEffect::Create(25); in compose_pe()
21 SkPathEffect* compose; in compose_pe()
89 static SkPathEffect* MakeTileEffect() { in MakeTileEffect()
/external/skia/site/user/api/
Dskpaint.md10 - [SkPathEffect](#SkPathEffect) - modify to the geometry before it
124 * **SkPathEffect** - modifications to the geometry (path) before it
520 <span id="SkPathEffect"></span>
522 SkPathEffect section in SkPaint
541 SkAutoTUnref<SkPathEffect> pathEffect(
565 SkAutoTUnref<SkPathEffect> pe(
586 SkAutoTUnref<SkPathEffect> pe(
619 SkAutoTUnref<SkPathEffect> pe(
638 SkAutoTUnref<SkPathEffect> pe(
658 SkAutoTUnref<SkPathEffect> pe(
[all …]
/external/skia/bench/
DDashBench.cpp181 SkAutoTUnref<SkPathEffect> fPE;
218 SkAutoTUnref<SkPathEffect> fPE;
256 SkAutoTUnref<SkPathEffect> fPathEffect;
303 SkAutoTUnref<SkPathEffect> fPathEffect;
383 SkAutoTUnref<SkPathEffect> fPathEffect;

123