Home
last modified time | relevance | path

Searched refs:fArc (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/geometry/
DGrShape.cpp31 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()
[all …]
DGrShape.h142 GrArc& arc() { SkASSERT(this->isArc()); return fArc; } in arc()
143 const GrArc& arc() const { SkASSERT(this->isArc()); return fArc; } in arc()
168 fArc = arc; in setArc()
271 GrArc fArc; member