When it comes to graphics, Qt splits this domain into two separate parts. One of them is raster graphics (used by widgets and the Graphics View, for example). This part focuses on using high-level operations (such as drawing lines or filling rectangles) to manipulate colors of a grid of points that can be visualized on different devices, such as images, printers, or the display of your computer device. The other is vector graphics, which involves manipulating vertices, triangles, and textures. This is tailored for maximum speed of processing and display, using hardware acceleration provided by modern graphics cards.
Qt abstracts graphics using the concept of a surface (represented by the QSurface class) that it draws on. The type of the surface determines which drawing operations can be performed on the surface: surfaces that support software rendering...