• Home
  • Raw
  • Download

Lines Matching refs:strokeRec

290         SkStrokeRec strokeRec = parent.fStyle.strokeRec();  in GrShape()  local
291 if (!parent.fStyle.applyPathEffectToPath(&this->path(), &strokeRec, *srcForPathEffect, in GrShape()
293 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr)); in GrShape()
299 SkASSERT(scale == strokeRec.getResScale()); in GrShape()
300 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) { in GrShape()
308 tmpParent.init(this->path(), GrStyle(strokeRec, nullptr)); in GrShape()
328 fStyle = GrStyle(strokeRec, nullptr); in GrShape()
418 if (this->style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style || in attemptToSimplifyPath()
419 this->style().strokeRec().getStyle() == SkStrokeRec::kHairline_Style) { in attemptToSimplifyPath()
457 fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style && in attemptToSimplifyRRect()
458 fStyle.strokeRec().getJoin() == SkPaint::kMiter_Join && in attemptToSimplifyRRect()
459 fStyle.strokeRec().getMiter() >= SK_ScalarSqrt2 && in attemptToSimplifyRRect()
461 SkScalar r = fStyle.strokeRec().getWidth() / 2; in attemptToSimplifyRRect()
477 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style) { in attemptToSimplifyLine()
479 SkStrokeRec rec = fStyle.strokeRec(); in attemptToSimplifyLine()
480 rec.setStrokeStyle(fStyle.strokeRec().getWidth(), false); in attemptToSimplifyLine()
488 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style) { in attemptToSimplifyLine()
498 SkScalar r = fStyle.strokeRec().getWidth() / 2; in attemptToSimplifyLine()
501 switch (fStyle.strokeRec().getCap()) { in attemptToSimplifyLine()