Lines Matching refs:GrStyle
310 void GrShape::setInheritedKey(const GrShape &parent, GrStyle::Apply apply, SkScalar scale) { in setInheritedKey()
332 styleKeyFlags |= GrStyle::kClosed_KeyFlag; in setInheritedKey()
335 styleKeyFlags |= GrStyle::kNoJoins_KeyFlag; in setInheritedKey()
337 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags); in setInheritedKey()
354 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale, in setInheritedKey()
375 bool useCenter, const GrStyle& style) { in MakeArc()
417 GrShape::GrShape(const GrShape& parent, GrStyle::Apply apply, SkScalar scale) { in GrShape()
423 (GrStyle::Apply::kPathEffectOnly == apply && !parent.style().pathEffect())) { in GrShape()
448 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr)); in GrShape()
455 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) { in GrShape()
463 tmpParent.init(this->path(), GrStyle(strokeRec, nullptr)); in GrShape()
464 tmpParent.get()->setInheritedKey(parent, GrStyle::Apply::kPathEffectOnly, scale); in GrShape()
483 fStyle = GrStyle(strokeRec, nullptr); in GrShape()
611 fStyle = GrStyle::SimpleFill(); in attemptToSimplifyRRect()
620 fStyle = GrStyle::SimpleFill(); in attemptToSimplifyRRect()
640 fStyle = GrStyle::SimpleFill(); in attemptToSimplifyRRect()
665 fStyle = GrStyle(rec, nullptr); in attemptToSimplifyLine()
749 fStyle = GrStyle::SimpleFill(); in attemptToSimplifyStrokedLineToRRect()
765 fStyle = GrStyle::SimpleFill(); in attemptToSimplifyStrokedLineToRRect()