Here's the code to draw the ellipse shown in Figure 8.5 (a):. Figure 8.5. Geometric shape examples. graphics/08fig05.gif QPainter painter(this); painter.
確定! 回上一頁