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))
572 // so that our stroking and effects will operate the same way they
804 SkScalerContext_Empty(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects,
806 : SkScalerContext(std::move(typeface), effects, desc) {}
833 const SkScalerContextEffects& effects, const SkDescriptor* desc, bool allowFailure) const
835 std::unique_ptr<SkScalerContext> c(this->onCreateScalerContext(effects, desc));
838 effects, desc);
904 SkScalerContextEffects* effects) {
1070 new (effects) SkScalerContextEffects{paint};
1071 if (effects->fPathEffect) {
1075 if (effects->fMaskFilter) {
1119 SkScalerContextEffects* effects) {
1122 MakeRecAndEffects(paint, surfaceProps, deviceMatrix, scalerContextFlags, &rec, effects);
1123 return AutoDescriptorGivenRecAndEffects(rec, *effects, ad);
1128 const SkScalerContextEffects& effects,
1135 if (effects.fPathEffect) {
1136 effects.fPathEffect->flatten(*pathEffectBuffer);
1140 if (effects.fMaskFilter) {
1141 effects.fMaskFilter->flatten(*maskFilterBuffer);
1156 const SkScalerContextEffects& effects,
1184 if (effects.fPathEffect) {
1188 if (effects.fMaskFilter) {
1204 const SkScalerContextEffects& effects,
1216 if (effects.fPathEffect) {
1219 if (effects.fMaskFilter) {
1225 test_desc(rec, effects, pathEffectBuffer, maskFilterBuffer, desc);
1231 const SkScalerContextEffects& effects,
1236 ad->reset(calculate_size_and_flatten(rec, effects, &peBuffer, &mfBuffer));
1238 generate_descriptor(rec, effects, &peBuffer, &mfBuffer, ad->getDesc());
1245 const SkScalerContextEffects& effects)
1249 auto desc = SkDescriptor::Alloc(calculate_size_and_flatten(rec, effects, &peBuffer, &mfBuffer));
1251 generate_descriptor(rec, effects, &peBuffer, &mfBuffer, desc.get());
1263 const SkScalerContextEffects& effects,
1267 return size >= calculate_size_and_flatten(rec, effects, &peBuffer, &mfBuffer);