qt5base-lts/examples/widgets/painting
Volker Hilsheimer 7c59c5ed13 Examples: remove OpenGL code paths from painting examples
The extra code for using the OpenGL paint engine is significant enough
to be distracting from what the examples are supposed to show. If we
want to show how to use QPainter on an OpenGL widget, then we can make
dedicated and documented examples for that, in the OpenGL category. And
we have such examples in the Qt OpenGL module anyway.

As is, the examples feel more like manual tests of the OpenGL paint
engine; if we need more coverage there, then we can add it there.

Change-Id: I7b56ea6d08c02cd0a1050ab03991656a0538498d
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2023-10-27 16:22:59 +02:00
..
affine Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
basicdrawing Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
composition Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
concentriccircles Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
deform Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
gradients Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
imagecomposition Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
painterpaths Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
pathstroke Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
shared Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
transformations Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
CMakeLists.txt Examples: remove OpenGL code paths from painting examples 2023-10-27 16:22:59 +02:00
painting.pro Move font sampler example to manual test 2023-06-28 09:56:39 +02:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00

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.