Lines Matching refs:fStyle

11     fStyle = that.fStyle;
67 if (Type::kEmpty == fType && !fStyle.hasNonDashPathEffect()) {
71 fStyle.adjustBounds(&bounds, this->bounds());
219 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags);
236 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale,
241 GrShape::GrShape(const GrShape& that) : fStyle(that.fStyle) {
274 SkPathEffect* pe = parent.fStyle.pathEffect();
290 SkStrokeRec strokeRec = parent.fStyle.strokeRec();
291 if (!parent.fStyle.applyPathEffectToPath(&this->path(), &strokeRec, *srcForPathEffect,
325 fStyle.resetToInitStyle(fillOrHairline);
328 fStyle = GrStyle(strokeRec, nullptr);
339 SkASSERT(parent.fStyle.applies());
340 SkASSERT(!parent.fStyle.pathEffect());
341 SkAssertResult(parent.fStyle.applyToPath(&this->path(), &fillOrHairline, *srcForParentStyle,
343 fStyle.resetToInitStyle(fillOrHairline);
451 } else if (fStyle.isDashed()) {
456 if (!fStyle.hasPathEffect() &&
457 fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style &&
458 fStyle.strokeRec().getJoin() == SkPaint::kMiter_Join &&
459 fStyle.strokeRec().getMiter() >= SK_ScalarSqrt2 &&
461 SkScalar r = fStyle.strokeRec().getWidth() / 2;
463 fStyle = GrStyle::SimpleFill();
470 if (fStyle.isDashed()) {
474 } else if (fStyle.hasPathEffect()) {
477 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStrokeAndFill_Style) {
479 SkStrokeRec rec = fStyle.strokeRec();
480 rec.setStrokeStyle(fStyle.strokeRec().getWidth(), false);
481 fStyle = GrStyle(rec, nullptr);
483 if (fStyle.isSimpleFill() && !fLineData.fInverted) {
488 if (fStyle.strokeRec().getStyle() == SkStrokeRec::kStroke_Style) {
498 SkScalar r = fStyle.strokeRec().getWidth() / 2;
501 switch (fStyle.strokeRec().getCap()) {
531 fStyle = GrStyle::SimpleFill();