Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkPathEffect.h30 class SK_API SkPathEffect : public SkFlattenable {
32 SK_DECLARE_INST_COUNT(SkPathEffect)
135 SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect) in SK_DEFINE_FLATTENABLE_TYPE() argument
143 SkPathEffect() {} in SkPathEffect() function
147 SkPathEffect(const SkPathEffect&);
148 SkPathEffect& operator=(const SkPathEffect&);
159 class SkPairPathEffect : public SkPathEffect {
164 SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1);
169 SkPathEffect* fPE0, *fPE1;
174 typedef SkPathEffect INHERITED;
[all …]
DSkPaint.h32 class SkPathEffect; variable
584 SkPathEffect* getPathEffect() const { return fPathEffect; } in getPathEffect()
596 SkPathEffect* setPathEffect(SkPathEffect* effect);
1027 SkPathEffect* fPathEffect;
/external/skia/src/gpu/
DGrStrokeInfo.h22 fStroke(style), fDashType(SkPathEffect::kNone_DashType) {} in GrStrokeInfo()
31 fDashType = SkPathEffect::kNone_DashType;
36 fStroke(paint, styleOverride), fDashType(SkPathEffect::kNone_DashType) { in GrStrokeInfo()
41 fStroke(paint), fDashType(SkPathEffect::kNone_DashType) { in GrStrokeInfo()
69 bool setDashInfo(const SkPathEffect* pe) { in setDashInfo()
71 SkPathEffect::DashInfo dashInfo; in setDashInfo()
73 if (SkPathEffect::kDash_DashType == fDashType) { in setDashInfo()
87 bool setDashInfo(const SkPathEffect::DashInfo& info) { in setDashInfo()
90 fDashType = SkPathEffect::kDash_DashType; in setDashInfo()
102 return (!fStroke.isFillStyle() && SkPathEffect::kDash_DashType == fDashType); in isDashed()
[all …]
DGrStrokeInfo.cpp14 SkPathEffect::DashInfo info; in applyDash()
/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()
101 SkAutoTUnref<SkPathEffect> pe0(buffer.readPathEffect()); in CreateProc()
102 SkAutoTUnref<SkPathEffect> pe1(buffer.readPathEffect()); in CreateProc()
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()
DSkPicture.cpp153 const SkPathEffect* effect = op.paint.getPathEffect(); in operator ()()
155 SkPathEffect::DashInfo info; in operator ()()
156 SkPathEffect::DashType dashType = effect->asADash(&info); in operator ()()
158 SkPathEffect::kDash_DashType == dashType && 2 == info.fCount) { in operator ()()
DSkReadBuffer.h133 SkPathEffect* readPathEffect() { return this->readFlattenable<SkPathEffect>(); } in readPathEffect()
/external/skia/tests/
DAsADashTest.cpp16 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()
27 SkPathEffect::DashType dashType = pe->asADash(NULL); in DEF_TEST()
28 REPORTER_ASSERT(reporter, SkPathEffect::kDash_DashType == dashType); in DEF_TEST()
38 SkPathEffect::DashInfo info; in DEF_TEST()
40 SkPathEffect::DashType dashType = pe->asADash(&info); in DEF_TEST()
41 REPORTER_ASSERT(reporter, SkPathEffect::kDash_DashType == dashType); in DEF_TEST()
/external/skia/samplecode/
DSamplePathEffects.cpp30 static SkPathEffect* make_pe(int flags, SkScalar phase) { in make_pe()
41 SkPathEffect* outer = SkPath1DPathEffect::Create(path, 12, phase, in make_pe()
47 SkPathEffect* inner = SkCornerPathEffect::Create(SkIntToScalar(CORNER_RADIUS)); in make_pe()
49 SkPathEffect* pe = SkComposePathEffect::Create(outer, inner); in make_pe()
55 static SkPathEffect* make_warp_pe(SkScalar phase) { in make_warp_pe()
63 SkPathEffect* outer = SkPath1DPathEffect::Create( in make_warp_pe()
65 SkPathEffect* inner = SkCornerPathEffect::Create(SkIntToScalar(CORNER_RADIUS)); in make_warp_pe()
67 SkPathEffect* pe = SkComposePathEffect::Create(outer, inner); in make_warp_pe()
DClockFaceView.cpp110 class InverseFillPE : public SkPathEffect {
129 typedef SkPathEffect INHERITED;
136 static SkPathEffect* makepe(float interp, SkTDArray<SkPoint>* pts) { in makepe()
205 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 {
45 typedef SkPathEffect INHERITED;
DSkDiscretePathEffect.h17 class SK_API SkDiscretePathEffect : public SkPathEffect {
61 typedef SkPathEffect INHERITED;
DSkDashPathEffect.h17 class SK_API SkDashPathEffect : public SkPathEffect {
74 typedef SkPathEffect INHERITED;
DSk1DPathEffect.h17 class SK_API Sk1DPathEffect : public SkPathEffect {
39 typedef SkPathEffect INHERITED;
DSk2DPathEffect.h15 class SK_API Sk2DPathEffect : public SkPathEffect {
53 typedef SkPathEffect INHERITED;
/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;
DSkDrawDiscrete.cpp29 SkPathEffect* SkDiscrete::getPathEffect() { in getPathEffect()
DSkDrawDash.cpp30 SkPathEffect* SkDash::getPathEffect() { in getPathEffect()
/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/bench/
DDashBench.cpp180 SkAutoTUnref<SkPathEffect> fPE;
217 SkAutoTUnref<SkPathEffect> fPE;
255 SkAutoTUnref<SkPathEffect> fPathEffect;
302 SkAutoTUnref<SkPathEffect> fPathEffect;
382 SkAutoTUnref<SkPathEffect> fPathEffect;
/external/skia/src/utils/
DSkDashPathPriv.h29 const SkPathEffect::DashInfo& info);

12