diff options
author | Nils Jeisecke <jeisecke@saltation.de> | 2015-06-05 17:48:00 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2017-09-07 20:40:14 +0200 |
commit | 87748cc18e6a0d9e65933aa2462dc78ab8f9f22e (patch) | |
tree | 82fa4b8e8fdcddf3fcdeea5fd8aad2a07cb22034 /header.LGPL | |
parent | 20e9422e069a27b7e29b54207447e6ca02b3a55a (diff) |
QTextDocumentLayout: Avoid table border drawing artifacts
As borders are always painted for single cells any rounding errors that
occur when mapping from fixed point numbers to integers during raster
painting will cause ugly drawing artifacts like extra pixels between
cells or borders that overlap.
To avoid this the following values are being rounded:
- table offset
- column positions and widths
- row positions and cell heights
For the column positions and widths the distribution constraints (total
table width) are respected.
Task-number: QTBUG-43589
Change-Id: I6308c113f8f9be3db8e9267629f26b5d65d2d7c7
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'header.LGPL')
0 files changed, 0 insertions, 0 deletions