summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/xkbcommon/src/xkbcomp/vmod.c
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-04-28 13:48:39 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-05-03 20:53:34 +0200
commitbbff35a343f607fde64a71b651db9f35365e3c67 (patch)
treeed948759d7453a9619be242704ae6a4ec81c1cf9 /src/3rdparty/xkbcommon/src/xkbcomp/vmod.c
parentccbff2c08b4506317860019e32d5d906c3a45594 (diff)
QCommonStyle: Fix painting arrows when size is evenHEADdev
Rework the painting code to not use floating point numbers and make sure the tip of the arrow is painted with one or two points (depending on the size is odd or even) so the arrow is always symmetric. Therefore also no anti-aliasing is needed. Sadly the dpr scaling and also QPainter::drawPolygon() screw things up a little bit with such small sizes, therefore do the dpr handling by ourself to get nice results. Pick-to: 6.7 Fixes: QTBUG-124554 Task-number: QTBUG-114539 Change-Id: I8ab8c2ce3ceb90af5d7c3a0dfeec7f7445e92a4d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/3rdparty/xkbcommon/src/xkbcomp/vmod.c')
0 files changed, 0 insertions, 0 deletions