Home
last modified time | relevance | path

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

123456789

/external/skqp/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.h32 class SkMaskFilter; variable
506 SkMaskFilter* getMaskFilter() const { return fMaskFilter.get(); } in getMaskFilter()
514 sk_sp<SkMaskFilter> refMaskFilter() const;
524 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
672 sk_sp<SkMaskFilter> fMaskFilter;
/external/skia/include/core/
DSkMaskFilter.h24 class SK_API SkMaskFilter : public SkFlattenable {
32 static sk_sp<SkMaskFilter> MakeBlur(SkBlurStyle style, SkScalar sigma,
43 static sk_sp<SkMaskFilter> Deserialize(const void* data, size_t size,
45 return sk_sp<SkMaskFilter>(static_cast<SkMaskFilter*>(
DSkPaint.h21 class SkMaskFilter; variable
548 SkMaskFilter* getMaskFilter() const { return fMaskFilter.get(); } in getMaskFilter()
558 sk_sp<SkMaskFilter> refMaskFilter() const;
571 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
691 sk_sp<SkMaskFilter> fMaskFilter;
/external/skqp/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()
/external/skqp/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()
/external/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()
/external/skqp/gm/
Dshadermaskfilter.cpp19 const SkImage* mask, sk_sp<SkMaskFilter> outer, SkBlendMode mode) { in draw_masked_image()
25 mf = SkMaskFilter::MakeCompose(outer, mf); in draw_masked_image()
66 auto blurmf = SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 5);
70 const sk_sp<SkMaskFilter> array[] = { nullptr , blurmf, gradmf };
73 for (sk_sp<SkMaskFilter> mf : array) {
87 static sk_sp<SkMaskFilter> make_path_mf(const SkPath& path, unsigned alpha) { in make_path_mf()
133 sk_sp<SkMaskFilter> mfA[2], mfB[2];
158 paint.setMaskFilter(SkMaskFilter::MakeCombine(mfA[j], mfB[j], cmode));
195 sk_sp<SkMaskFilter> mfs[] = {
197 SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 3.5f),
[all …]
Dblurs.cpp37 paint.setMaskFilter(SkMaskFilter::MakeBlur(gRecs[i].fStyle,
50 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle,
77 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 2.3f));
95 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 4.3f));
116 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, 10));
/external/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);
/external/skqp/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);
/external/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));
/external/skia/src/core/
DSkMaskFilterBase.h44 class SkMaskFilterBase : public SkMaskFilter {
234 inline SkMaskFilterBase* as_MFB(SkMaskFilter* mf) { in as_MFB()
238 inline const SkMaskFilterBase* as_MFB(const SkMaskFilter* mf) { in as_MFB()
242 inline const SkMaskFilterBase* as_MFB(const sk_sp<SkMaskFilter>& mf) { in as_MFB()
/external/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()
/external/skqp/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()
/external/skqp/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()
DSkEmbossMaskFilter.h26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light);
45 typedef SkMaskFilter INHERITED;
/external/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;
/external/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()
/external/skia/src/gpu/
DGrBlurUtils.h22 class SkMaskFilter; variable
53 const SkMaskFilter*);
/external/skqp/src/gpu/
DGrBlurUtils.h21 class SkMaskFilter; variable
52 const SkMaskFilter*);

123456789