Lines Matching +full:cap +full:- +full:std
4 * Use of this source code is governed by a BSD-style license that can be
19 return -1; in KeySize()
27 // One for res scale, one for style/cap/join, one for miter limit, and one for width. in KeySize()
68 kCapBits = 32 - kStyleBits - kJoinBits, in WriteKey()
76 // The cap type only matters for unclosed shapes. However, a path effect could unclose in WriteKey()
78 SkPaint::Cap cap = SkPaint::kDefault_Cap; in WriteKey() local
80 cap = style.strokeRec().getCap(); in WriteKey()
82 SkScalar miter = -1.f; in WriteKey()
96 cap << kCapShift; in WriteKey()
114 if (SkPathEffect::kDash_DashType == pe->asADash(&info)) { in initPathEffect()
121 pe->asADash(&info); in initPathEffect()
122 fPathEffect = std::move(pe); in initPathEffect()
125 fPathEffect = std::move(pe); in initPathEffect()
135 SkASSERT(!fPathEffect->needsCTM()); in applyPathEffect()
141 SkASSERT(!fPathEffect->needsCTM()); // Make sure specified PE doesn't need CTM in applyPathEffect()
156 } else if (!fPathEffect->filterPath(dst, src, strokeRec, nullptr)) { in applyPathEffect()
159 dst->setIsVolatile(true); in applyPathEffect()
168 if (!this->applyPathEffect(dst, &strokeRec, src)) { in applyPathEffectToPath()
182 if (this->applyPathEffect(dst, &strokeRec, src)) { in applyToPath()
191 dst->setIsVolatile(true); in applyToPath()