36 inline qreal xInner( qreal cos )
const
37 {
return centerInnerX + sx * cos * radiusInnerX; }
39 inline qreal yInner( qreal sin )
const
40 {
return centerInnerY + sy * sin * radiusInnerY; }
42 inline qreal xOuter( qreal cos )
const
43 {
return centerX + sx * ( cos * radiusX ); }
45 inline qreal yOuter( qreal sin )
const
46 {
return centerY + sy * ( sin * radiusY ); }
48 inline int innerStepCount()
const
49 {
return ( centerInnerX == 0.0 ) ? 1 : stepCount; }
51 qreal centerX, centerY;
52 qreal radiusX, radiusY;
54 qreal centerInnerX, centerInnerY;
55 qreal radiusInnerX, radiusInnerY;