qt5base-lts/examples/widgets/painting
Edward Welbourne 178ab88562 PathStrokeRenderer::initializePoints(): use float division
The (example) code used a real to hold 360 / 7, which is of course 51,
discarding the 3/7 that was most likely meant to be kept.  Noticed by
Coverity (CID 22364).  Use 360.0 instead of 360 to get more accurate
results.

Change-Id: Ifdfbb932589d8ea728710e8b656af651c9f8a7d2
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2016-07-15 11:35:12 +00:00
..
affine fix usage of wince scope 2015-06-05 10:29:10 +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 Deprecate ItemIsTristate in favor of ItemIsAutoTristate. 2015-05-07 09:14:18 +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 PathStrokeRenderer::initializePoints(): use float division 2016-07-15 11:35:12 +00:00
shared examples: remove use of obsolete QStyleOption*V<N> typedefs 2015-11-02 18:43:26 +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.