Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrStyle.h96 fPathEffect = that.fPathEffect;
104 fPathEffect.reset(nullptr); in resetToInitStyle()
113 bool isSimpleFill() const { return fStrokeRec.isFillStyle() && !fPathEffect; } in isSimpleFill()
116 bool isSimpleHairline() const { return fStrokeRec.isHairlineStyle() && !fPathEffect; } in isSimpleHairline()
118 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect()
119 sk_sp<SkPathEffect> refPathEffect() const { return fPathEffect; } in refPathEffect()
121 bool hasPathEffect() const { return SkToBool(fPathEffect.get()); } in hasPathEffect()
123 bool hasNonDashPathEffect() const { return fPathEffect.get() && !this->isDashed(); } in hasNonDashPathEffect()
211 sk_sp<SkPathEffect> fPathEffect; variable
DGrStyle.cpp107 SkASSERT(!fPathEffect); in initPathEffect()
122 fPathEffect = std::move(pe); in initPathEffect()
125 fPathEffect = std::move(pe); in initPathEffect()
130 if (!fPathEffect) { in applyPathEffect()
151 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect()
179 } else if (fPathEffect) { in applyToPath()
188 } else if (!fPathEffect) { in applyToPath()
/external/skia/src/gpu/
DGrStyle.h96 fPathEffect = that.fPathEffect;
104 fPathEffect.reset(nullptr); in resetToInitStyle()
113 bool isSimpleFill() const { return fStrokeRec.isFillStyle() && !fPathEffect; } in isSimpleFill()
116 bool isSimpleHairline() const { return fStrokeRec.isHairlineStyle() && !fPathEffect; } in isSimpleHairline()
118 SkPathEffect* pathEffect() const { return fPathEffect.get(); } in pathEffect()
119 sk_sp<SkPathEffect> refPathEffect() const { return fPathEffect; } in refPathEffect()
121 bool hasPathEffect() const { return SkToBool(fPathEffect.get()); } in hasPathEffect()
123 bool hasNonDashPathEffect() const { return fPathEffect.get() && !this->isDashed(); } in hasNonDashPathEffect()
211 sk_sp<SkPathEffect> fPathEffect; variable
DGrStyle.cpp107 SkASSERT(!fPathEffect); in initPathEffect()
122 fPathEffect = std::move(pe); in initPathEffect()
125 fPathEffect = std::move(pe); in initPathEffect()
130 if (!fPathEffect) { in applyPathEffect()
151 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect()
179 } else if (fPathEffect) { in applyToPath()
188 } else if (!fPathEffect) { in applyToPath()
/external/skia/src/core/
DSkStrikeInterface.h25 SkScalerContextEffects() : fPathEffect(nullptr), fMaskFilter(nullptr) {} in SkScalerContextEffects()
27 : fPathEffect(pe), fMaskFilter(mf) {} in SkScalerContextEffects()
29 : fPathEffect(paint.getPathEffect()) in SkScalerContextEffects()
32 SkPathEffect* fPathEffect; member
DSkScalerContext.cpp79 , fPathEffect(sk_ref_sp(effects.fPathEffect)) in SkScalerContext()
82 , fGenerateImageFromPath(fRec.fFrameWidth > 0 || fPathEffect != nullptr) in SkScalerContext()
601 if (fRec.fFrameWidth > 0 || fPathEffect != nullptr) { in internalGetPath()
629 if (fPathEffect) { in internalGetPath()
631 if (fPathEffect->filterPath(&effectPath, localPath, &rec, nullptr)) { in internalGetPath()
1100 if (effects.fPathEffect || effects.fMaskFilter) { in calculate_size_and_flatten()
1101 if (effects.fPathEffect) { effectBuffer->writeFlattenable(effects.fPathEffect); } in calculate_size_and_flatten()
DSkScalerContext.h337 return { fPathEffect.get(), fMaskFilter.get() }; in getEffects()
409 sk_sp<SkPathEffect> fPathEffect; variable
DSkPaint.cpp71 return EQUAL(fPathEffect) in operator ==()
458 if (fPathEffect && fPathEffect->filterPath(&tmpPath, src, &rec, cullRect)) { in getFillPath()
/external/skia/bench/
DDashBench.cpp254 sk_sp<SkPathEffect> fPathEffect; member in DrawPointsDashingBench
264 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench()
278 p.setPathEffect(fPathEffect); in onDraw()
301 sk_sp<SkPathEffect> fPathEffect; member in GiantDashBench
324 fPathEffect = SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0); in GiantDashBench()
362 p.setPathEffect(fPathEffect); in onDraw()
380 sk_sp<SkPathEffect> fPathEffect; member in DashGridBench
389 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
403 p.setPathEffect(fPathEffect); in onDraw()
/external/skqp/bench/
DDashBench.cpp254 sk_sp<SkPathEffect> fPathEffect; member in DrawPointsDashingBench
264 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench()
278 p.setPathEffect(fPathEffect); in onDraw()
301 sk_sp<SkPathEffect> fPathEffect; member in GiantDashBench
324 fPathEffect = SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0); in GiantDashBench()
362 p.setPathEffect(fPathEffect); in onDraw()
380 sk_sp<SkPathEffect> fPathEffect; member in DashGridBench
389 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
403 p.setPathEffect(fPathEffect); in onDraw()
/external/skqp/src/core/
DSkScalerContext.h41 SkScalerContextEffects() : fPathEffect(nullptr), fMaskFilter(nullptr) {} in SkScalerContextEffects()
43 : fPathEffect(pe), fMaskFilter(mf) {} in SkScalerContextEffects()
45 : fPathEffect(paint.getPathEffect()) in SkScalerContextEffects()
48 SkPathEffect* fPathEffect; member
349 return { fPathEffect.get(), fMaskFilter.get() }; in getEffects()
417 sk_sp<SkPathEffect> fPathEffect; variable
DSkPaint.cpp62 : COPY(fPathEffect) in SkPaint()
77 MOVE(fPathEffect); in SkPaint()
98 ASSIGN(fPathEffect); in operator =()
119 MOVE(fPathEffect); in operator =()
136 return EQUAL(fPathEffect) in operator ==()
524 if (fPathEffect && fPathEffect->filterPath(&tmpPath, src, &rec, cullRect)) { in getFillPath()
DSkScalerContext.cpp48 , fPathEffect(sk_ref_sp(effects.fPathEffect)) in SkScalerContext()
51 , fGenerateImageFromPath(fRec.fFrameWidth > 0 || fPathEffect != nullptr) in SkScalerContext()
573 if (fRec.fFrameWidth > 0 || fPathEffect != nullptr) { in internalGetPath()
601 if (fPathEffect) { in internalGetPath()
603 if (fPathEffect->filterPath(&effectPath, localPath, &rec, nullptr)) { in internalGetPath()
1117 if (effects.fPathEffect || effects.fMaskFilter) { in calculate_size_and_flatten()
1118 if (effects.fPathEffect) { effectBuffer->writeFlattenable(effects.fPathEffect); } in calculate_size_and_flatten()
/external/skqp/gm/
Dinversepaths.cpp44 , fPathEffect(std::move(pe)) {} in Style()
46 sk_sp<SkPathEffect> fPathEffect; member
115 paint.setPathEffect(styles[styleIndex].fPathEffect);
/external/skia/gm/
Dinversepaths.cpp44 , fPathEffect(std::move(pe)) {} in Style()
46 sk_sp<SkPathEffect> fPathEffect; member
115 paint.setPathEffect(styles[styleIndex].fPathEffect);
/external/skqp/include/core/
DSkPaint.h483 SkPathEffect* getPathEffect() const { return fPathEffect.get(); } in getPathEffect()
670 sk_sp<SkPathEffect> fPathEffect;
/external/skia/include/core/
DSkPaint.h485 SkPathEffect* getPathEffect() const { return fPathEffect.get(); } in getPathEffect()
672 sk_sp<SkPathEffect> fPathEffect;
/external/skqp/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp172 effects.fPathEffect = fRun->fPathEffect.get(); in doRegen()
DGrTextBlob.cpp64 fPathEffect = sk_ref_sp(effects.fPathEffect); in setupFont()
DGrTextBlob.h498 sk_sp<SkPathEffect> fPathEffect; member
/external/skia/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp172 effects.fPathEffect = fRun->fPathEffect.get(); in doRegen()
DGrTextBlob.cpp64 fPathEffect = sk_ref_sp(strikeSpec.effects().fPathEffect); in setupFont()
DGrTextBlob.h496 sk_sp<SkPathEffect> fPathEffect; member
/external/skia/tools/viewer/
DViewer.h56 bool fPathEffect = false; member
/external/skqp/tools/viewer/
DViewer.h56 bool fPathEffect = false; member