qt5base-lts/examples/widgets/painting
Allan Sandfeld Jensen 515e802ae2 Use C++ <cmath> instead of <math.h>
Including math.h can pollute the default namespace, and break
some compilers if cmath versions of the method are declared as using.

Switching to C++ math functions also greatly simplifies handling of
float qreal as C++ automatically chooses the right method.

[ChangeLog][QtCore][QtMath] qmath.h no longer includes math.h, so any
sources depending on that indirect inclusion may fail to build.

Change-Id: I4d0e331dafba354ec05dc5052e61ef4ff8d387fe
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2015-02-16 16:21:15 +00:00
..
affine Update copyright headers 2015-02-11 06:49:51 +00:00
basicdrawing Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
composition MSVC: Remove use of -Zm argument 2015-02-13 21:23:19 +00:00
concentriccircles Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
deform Update copyright headers 2015-02-11 06:49:51 +00:00
fontsampler Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
gradients Update copyright headers 2015-02-11 06:49:51 +00:00
imagecomposition Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
painterpaths Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
pathstroke Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
transformations Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
painting.pro don't build shared demo library which is not used anyway 2013-01-31 15:51:09 +01: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.