void QPainter::drawPie(const QRectF &rectangle, int startAngle, int spanAngle)
Draws a pie defined by the given rectangle, startAngle and spanAngle.
The pie is filled with the current brush().
The startAngle and spanAngle must be specified in 1/16th of a degree, i.e. a full circle equals 5760 (16 * 360). Positive values for the angles mean counter-clockwise while negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position.
绘制由给定矩形,startAngle和spanAngle定义的饼图。
饼图用当前画笔()填充。
startAngle和spanAngle必须以1/16度指定,即整圆等于5760(16 * 360)。 角度的正值表示逆时针,而负值表示顺时针方向。 零度位于3点钟位置。