Home
last modified time | relevance | path

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

123456789

/third_party/flutter/skia/include/core/
DSkMaskFilter.h25 class SK_API SkMaskFilter : public SkFlattenable {
33 static sk_sp<SkMaskFilter> MakeBlur(SkBlurStyle style, SkScalar sigma,
40 static sk_sp<SkMaskFilter> MakeCompose(sk_sp<SkMaskFilter> outer, sk_sp<SkMaskFilter> inner);
45 static sk_sp<SkMaskFilter> MakeCombine(sk_sp<SkMaskFilter> filterA, sk_sp<SkMaskFilter> filterB,
55 sk_sp<SkMaskFilter> makeWithMatrix(const SkMatrix&) const;
65 static sk_sp<SkMaskFilter> Deserialize(const void* data, size_t size,
67 return sk_sp<SkMaskFilter>(static_cast<SkMaskFilter*>(
DSkPaint.h21 class SkMaskFilter; variable
514 SkMaskFilter* getMaskFilter() const { return fMaskFilter.get(); } in getMaskFilter()
522 sk_sp<SkMaskFilter> refMaskFilter() const;
532 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
646 sk_sp<SkMaskFilter> fMaskFilter;
/third_party/flutter/skia/src/core/
DSkMaskFilter.cpp380 SkComposeMF(sk_sp<SkMaskFilter> outer, sk_sp<SkMaskFilter> inner) in SkComposeMF()
419 sk_sp<SkMaskFilter> fOuter;
420 sk_sp<SkMaskFilter> fInner;
424 friend class SkMaskFilter;
459 return SkMaskFilter::MakeCompose(std::move(outer), std::move(inner)); in CreateProc()
466 SkCombineMF(sk_sp<SkMaskFilter> dst, sk_sp<SkMaskFilter> src, SkCoverageMode mode) in SkCombineMF()
506 sk_sp<SkMaskFilter> fDst;
507 sk_sp<SkMaskFilter> fSrc;
512 friend class SkMaskFilter;
609 return SkMaskFilter::MakeCombine(std::move(dst), std::move(src), mode); in CreateProc()
[all …]
DSkMaskFilterBase.h39 class SkMaskFilterBase : public SkMaskFilter {
227 inline SkMaskFilterBase* as_MFB(SkMaskFilter* mf) { in as_MFB()
231 inline const SkMaskFilterBase* as_MFB(const SkMaskFilter* mf) { in as_MFB()
235 inline const SkMaskFilterBase* as_MFB(const sk_sp<SkMaskFilter>& mf) { in as_MFB()
DSkStrikeInterface.h21 class SkMaskFilter; variable
28 SkScalerContextEffects(SkPathEffect* pe, SkMaskFilter* mf) in SkScalerContextEffects()
35 SkMaskFilter* fMaskFilter;
/third_party/skia/src/c/
Dsk_types_priv.h13 class SkMaskFilter; variable
29 static inline SkMaskFilter* AsMaskFilter(sk_maskfilter_t* cfilter) { in AsMaskFilter()
30 return reinterpret_cast<SkMaskFilter*>(cfilter); in AsMaskFilter()
33 static inline sk_maskfilter_t* ToMaskFilter(SkMaskFilter* filter) { in ToMaskFilter()
/third_party/flutter/skia/src/c/
Dsk_types_priv.h13 class SkMaskFilter; variable
29 static inline SkMaskFilter* AsMaskFilter(sk_maskfilter_t* cfilter) { in AsMaskFilter()
30 return reinterpret_cast<SkMaskFilter*>(cfilter); in AsMaskFilter()
33 static inline sk_maskfilter_t* ToMaskFilter(SkMaskFilter* filter) { in ToMaskFilter()
/third_party/flutter/skia/gm/
Dshadermaskfilter.cpp44 const SkImage* mask, sk_sp<SkMaskFilter> outer, SkBlendMode mode) { in draw_masked_image()
53 mf = SkMaskFilter::MakeCompose(outer->makeWithMatrix(matrix), mf); in draw_masked_image()
93 auto blurmf = SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 5);
97 const sk_sp<SkMaskFilter> array[] = { nullptr , blurmf, gradmf };
100 for (sk_sp<SkMaskFilter> mf : array) {
112 static sk_sp<SkMaskFilter> make_path_mf(const SkPath& path, unsigned alpha) { in make_path_mf()
157 sk_sp<SkMaskFilter> mfA[2], mfB[2];
182 paint.setMaskFilter(SkMaskFilter::MakeCombine(mfA[j], mfB[j], cmode));
216 sk_sp<SkMaskFilter> mfs[] = {
218 SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 3.5f),
[all …]
Dblurs.cpp46 paint.setMaskFilter(SkMaskFilter::MakeBlur(gRecs[i].fStyle,
59 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle,
86 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 2.3f));
104 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 4.3f));
125 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 10));
/third_party/skia/include/effects/
DSkTableMaskFilter.h30 static SkMaskFilter* Create(const uint8_t table[256]);
31 static SkMaskFilter* CreateGamma(SkScalar gamma);
32 static SkMaskFilter* CreateClip(uint8_t min, uint8_t max);
/third_party/flutter/skia/include/effects/
DSkTableMaskFilter.h30 static SkMaskFilter* Create(const uint8_t table[256]);
31 static SkMaskFilter* CreateGamma(SkScalar gamma);
32 static SkMaskFilter* CreateClip(uint8_t min, uint8_t max);
/third_party/skia/include/core/
DSkMaskFilter.h24 class SK_API SkMaskFilter : public SkFlattenable {
32 static sk_sp<SkMaskFilter> MakeBlur(SkBlurStyle style, SkScalar sigma,
42 static sk_sp<SkMaskFilter> Deserialize(const void* data, size_t size,
DSkPaint.h22 class SkMaskFilter; variable
554 SkMaskFilter* getMaskFilter() const { return fMaskFilter.get(); } in getMaskFilter()
564 sk_sp<SkMaskFilter> refMaskFilter() const;
577 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
697 sk_sp<SkMaskFilter> fMaskFilter;
/third_party/flutter/skia/modules/sksg/include/
DSkSGRenderEffect.h24 class SkMaskFilter; variable
36 static sk_sp<MaskFilter> Make(sk_sp<SkMaskFilter> mf) { in Make()
40 const sk_sp<SkMaskFilter>& getMaskFilter() const { in getMaskFilter()
45 void setMaskFilter(sk_sp<SkMaskFilter>);
48 explicit MaskFilter(sk_sp<SkMaskFilter> = nullptr);
52 virtual sk_sp<SkMaskFilter> onRevalidateMask();
55 sk_sp<SkMaskFilter> fMaskFilter;
/third_party/skia/gm/
Dblurs.cpp47 paint.setMaskFilter(SkMaskFilter::MakeBlur(gRecs[i].fStyle,
60 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle,
87 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 2.3f));
105 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 4.3f));
126 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 10));
/third_party/skia/src/core/
DSkMaskFilterBase.h44 class SkMaskFilterBase : public SkMaskFilter {
242 inline SkMaskFilterBase* as_MFB(SkMaskFilter* mf) { in as_MFB()
246 inline const SkMaskFilterBase* as_MFB(const SkMaskFilter* mf) { in as_MFB()
250 inline const SkMaskFilterBase* as_MFB(const sk_sp<SkMaskFilter>& mf) { in as_MFB()
/third_party/skia/src/gpu/text/
DGrSDFMaskFilter.h17 class GrSDFMaskFilter : public SkMaskFilter {
19 static sk_sp<SkMaskFilter> Make();
DGrSDFMaskFilter.cpp34 using INHERITED = SkMaskFilter;
98 sk_sp<SkMaskFilter> GrSDFMaskFilter::Make() { in Make()
99 return sk_sp<SkMaskFilter>(new GrSDFMaskFilterImpl()); in Make()
/third_party/flutter/skia/src/effects/
DSkTableMaskFilter.cpp33 typedef SkMaskFilter INHERITED;
108 SkMaskFilter* SkTableMaskFilter::Create(const uint8_t table[256]) { in Create()
112 SkMaskFilter* SkTableMaskFilter::CreateGamma(SkScalar gamma) { in CreateGamma()
118 SkMaskFilter* SkTableMaskFilter::CreateClip(uint8_t min, uint8_t max) { in CreateClip()
/third_party/skia/src/effects/
DSkTableMaskFilter.cpp34 using INHERITED = SkMaskFilter;
109 SkMaskFilter* SkTableMaskFilter::Create(const uint8_t table[256]) { in Create()
113 SkMaskFilter* SkTableMaskFilter::CreateGamma(SkScalar gamma) { in CreateGamma()
119 SkMaskFilter* SkTableMaskFilter::CreateClip(uint8_t min, uint8_t max) { in CreateClip()
DSkEmbossMaskFilter.h26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light);
45 using INHERITED = SkMaskFilter;
/third_party/flutter/skia/src/gpu/text/
DGrSDFMaskFilter.h17 class SK_API GrSDFMaskFilter : public SkMaskFilter {
19 static sk_sp<SkMaskFilter> Make();
DGrSDFMaskFilter.cpp34 typedef SkMaskFilter INHERITED;
98 sk_sp<SkMaskFilter> GrSDFMaskFilter::Make() { in Make()
99 return sk_sp<SkMaskFilter>(new GrSDFMaskFilterImpl()); in Make()
/third_party/skia/docs/examples/
Dgamma_mask_filter.cpp15 paint.setMaskFilter(sk_sp<SkMaskFilter>(SkTableMaskFilter::CreateGamma(4.0f))); in draw()
18 paint.setMaskFilter(sk_sp<SkMaskFilter>(SkTableMaskFilter::CreateGamma(0.25f))); in draw()
/third_party/flutter/skia/src/gpu/
DGrBlurUtils.h22 class SkMaskFilter; variable
53 const SkMaskFilter*);

123456789