Lines Matching defs:first
83 /** Construct a pathEffect whose effect is to apply first the inner pathEffect
115 // inner (fPE1) is computed first, automatically updating bounds before computing outer.
145 (e.g. first(path) + second(path))
146 The reference counts for first and second are both incremented in the constructor,
149 static sk_sp<SkPathEffect> Make(sk_sp<SkPathEffect> first, sk_sp<SkPathEffect> second) {
150 if (!first) {
154 return first;
156 return sk_sp<SkPathEffect>(new SkSumPathEffect(first, second));
159 SkSumPathEffect(sk_sp<SkPathEffect> first, sk_sp<SkPathEffect> second)
160 : INHERITED(first, second) {}
164 // always call both, even if the first one succeeds
173 // Unlike Compose(), PE0 modifies the path first for Sum
195 sk_sp<SkPathEffect> SkPathEffect::MakeSum(sk_sp<SkPathEffect> first, sk_sp<SkPathEffect> second) {
196 return SkSumPathEffect::Make(std::move(first), std::move(second));