summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-05-03 13:55:48 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-05-08 17:49:12 +0000
commit3ea4f54db7351352146161a54e45f00ddaba8715 (patch)
tree17a70ad5e329da6b70e2a5d6b517fcb91525dc4b /examples/widgets/tutorials
parent7124096f2bd722c05ceb3e863cd92ddebb886e13 (diff)
tablet example: make smoother strokes with the rotation stylus
Each stroke is a polygon (quadrilateral) connecting the previous tablet event point to the current one. Previously we used the same width for both ends of the stroke, so rapid changes in pressure caused steps in the stroke width. Now it is tapered from one end to the other. Change-Id: I909a2e85334a1a6e20fd28ee4babf6825da36612 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'examples/widgets/tutorials')
0 files changed, 0 insertions, 0 deletions