Lines Matching refs:fArc
31 this->setArc(shape.fArc); in operator =()
103 bool wasClosed = fArc.fUseCenter; in simplifyArc()
104 if (fArc.fOval.isEmpty() || !fArc.fSweepAngle) { in simplifyArc()
108 } else if (!fArc.fSweepAngle) { in simplifyArc()
109 SkPoint center = {fArc.fOval.centerX(), fArc.fOval.centerY()}; in simplifyArc()
110 SkScalar startRad = SkDegreesToRadians(fArc.fStartAngle); in simplifyArc()
111 SkPoint start = {center.fX + 0.5f * fArc.fOval.width() * SkScalarCos(startRad), in simplifyArc()
112 center.fY + 0.5f * fArc.fOval.height() * SkScalarSin(startRad)}; in simplifyArc()
114 if (fArc.fUseCenter) { in simplifyArc()
126 if ((flags & kSimpleFill_Flag) || ((flags & kIgnoreWinding_Flag) && !fArc.fUseCenter)) { in simplifyArc()
128 if (fArc.fSweepAngle <= -360.f || fArc.fSweepAngle >= 360.f) { in simplifyArc()
129 this->simplifyRRect(SkRRect::MakeOval(fArc.fOval), in simplifyArc()
137 if (fArc.fSweepAngle < 0) { in simplifyArc()
138 fArc.fStartAngle = fArc.fStartAngle + fArc.fSweepAngle; in simplifyArc()
139 fArc.fSweepAngle = -fArc.fSweepAngle; in simplifyArc()
142 if (fArc.fStartAngle < 0 || fArc.fStartAngle >= 360.f) { in simplifyArc()
143 fArc.fStartAngle = SkScalarMod(fArc.fStartAngle, 360.f); in simplifyArc()
297 if (fArc.fUseCenter) { in conservativeContains()
335 return fArc.fUseCenter; in closed()
354 return SkPathPriv::DrawArcIsConvex(fArc.fSweepAngle, fArc.fUseCenter, simpleFill); in convex()
378 return fArc.fOval; in bounds()
405 if (fArc.fUseCenter) { in segmentMask()
449 SkPathPriv::CreateDrawArcPath(out, fArc.fOval, fArc.fStartAngle, fArc.fSweepAngle, in asPath()
450 fArc.fUseCenter, simpleFill); in asPath()