Lines Matching defs:scale
242 SkScalar scale) {
286 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale,
331 GrStyledShape::GrStyledShape(const GrStyledShape& parent, GrStyle::Apply apply, SkScalar scale) {
332 // TODO: Add some quantization of scale for better cache performance here or leave that up
334 // TODO: For certain shapes and stroke params we could ignore the scale. (e.g. miter or bevel
362 scale)) {
364 *this = tmpParent->applyStyle(apply, scale);
367 // A path effect has access to change the res scale but we aren't expecting it to and it
369 SkASSERT(scale == strokeRec.getResScale());
379 tmpParent->setInheritedKey(parent, GrStyle::Apply::kPathEffectOnly, scale);
388 *tmpPath.get(), scale));
412 *srcForParentStyle, scale));
422 this->setInheritedKey(*parentForKey, apply, scale);