The example has a lot of code and documentation, but in essence shows how to use float-based QPainter APIs and how to set a render hint. That is two lines of code, which we can show as snippets. Update the screenshot of the example with a higher-resolution version. Pick-to: 6.7 6.6 Fixes: QTBUG-119983 Change-Id: Iafcb813dff6ab8c269176f7994c95947ebf5e559 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> |
||
|---|---|---|
| .. | ||
| affine | ||
| basicdrawing | ||
| composition | ||
| deform | ||
| gradients | ||
| imagecomposition | ||
| painterpaths | ||
| pathstroke | ||
| shared | ||
| transformations | ||
| CMakeLists.txt | ||
| README | ||
| painting.pro | ||
README
Qt's painting system is able to render vector graphics, images, and outline font-based text with sub-pixel accuracy accuracy using anti-aliasing to improve rendering quality. These examples show the most common techniques that are used when painting with Qt, from basic concepts such as drawing simple primitives to the use of transformations. Documentation for these examples can be found via the Examples link in the main Qt documentation.