qt6-bb10/examples/widgets/painting
Allan Sandfeld Jensen a0b021d136 Fix selection of fonts based on styleName
By carrying the styleName through from QFontDef to
bestFoundry and giving it to bestStyle that can use it
we can accurately match fonts based on styleName. This
makes it possible to match styles such as DejaVu Sans
Condensed and Ubuntu Medium.

The example fontsampler is updated so it can actually
sample all the different styles it lists.

Change-Id: I381effc74130311f98794cd07d30be10dee4fe45
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
2014-08-14 14:39:20 +02:00
..
affine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
basicdrawing Remove references to Nokia in qtbase examples. 2013-07-11 17:29:39 +02:00
composition Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concentriccircles Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
deform Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
fontsampler Fix selection of fonts based on styleName 2014-08-14 14:39:20 +02:00
gradients Remove qSort usages from qtbase examples 2013-09-14 13:12:40 +02:00
imagecomposition Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
painterpaths Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
pathstroke Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
shared purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
transformations Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
painting.pro don't build shared demo library which is not used anyway 2013-01-31 15:51:09 +01:00

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.