Home | History | Annotate | Download | only in core

Lines Matching full:effects

69 SkScalerContext::SkScalerContext(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects,
74 , fPathEffect(sk_ref_sp(effects.fPathEffect))
75 , fMaskFilter(sk_ref_sp(effects.fMaskFilter))
566 // so that our stroking and effects will operate the same way they
798 SkScalerContext_Empty(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects,
800 : SkScalerContext(std::move(typeface), effects, desc) {}
827 const SkScalerContextEffects& effects, const SkDescriptor* desc, bool allowFailure) const
829 std::unique_ptr<SkScalerContext> c(this->onCreateScalerContext(effects, desc));
832 effects, desc);
898 SkScalerContextEffects* effects) {
1062 new (effects) SkScalerContextEffects{paint};
1063 if (effects->fPathEffect) {
1067 if (effects->fMaskFilter) {
1120 SkScalerContextEffects* effects) {
1123 MakeRecAndEffects(paint, surfaceProps, deviceMatrix, scalerContextFlags, &rec, effects);
1124 return AutoDescriptorGivenRecAndEffects(rec, *effects, ad);
1129 const SkScalerContextEffects& effects,
1136 if (effects.fPathEffect) {
1137 effects.fPathEffect->flatten(*pathEffectBuffer);
1141 if (effects.fMaskFilter) {
1142 effects.fMaskFilter->flatten(*maskFilterBuffer);
1157 const SkScalerContextEffects& effects,
1185 if (effects.fPathEffect) {
1189 if (effects.fMaskFilter) {
1205 const SkScalerContextEffects& effects,
1217 if (effects.fPathEffect) {
1220 if (effects.fMaskFilter) {
1226 test_desc(rec, effects, pathEffectBuffer, maskFilterBuffer, desc);
1232 const SkScalerContextEffects& effects,
1237 ad->reset(calculate_size_and_flatten(rec, effects, &peBuffer, &mfBuffer));
1239 generate_descriptor(rec, effects, &peBuffer, &mfBuffer, ad->getDesc());
1246 const SkScalerContextEffects& effects)
1250 auto desc = SkDescriptor::Alloc(calculate_size_and_flatten(rec, effects, &peBuffer, &mfBuffer));
1252 generate_descriptor(rec, effects, &peBuffer, &mfBuffer, desc.get());
1264 const SkScalerContextEffects& effects,
1268 return size >= calculate_size_and_flatten(rec, effects, &peBuffer, &mfBuffer);