summaryrefslogtreecommitdiffstats
path: root/examples/qtestlib/tutorial4/testgui.cpp
diff options
context:
space:
mode:
authorMartin Walch <walch.martin@web.de>2022-10-01 15:48:42 +0200
committerMartin Walch <walch.martin@web.de>2022-11-16 08:36:18 +0200
commit1fee7adccf82c5e9e15dec3affd6007fe7cdb935 (patch)
tree95e4b060af9327850d261cc7d215e61046db5e1d /examples/qtestlib/tutorial4/testgui.cpp
parent9f64065c1f70827e3c41a04630ebc50369af5697 (diff)
Scale BMP color samples with periodic bit expansion
Scale samples up by periodically repeating the bit pattern of each value to fill up the lower bits instead of padding them with 0. Vice versa truncate samples that exceed the bit depth of QRgb. Change-Id: I777519e359932f52e54a33073a1ff297a76f620c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'examples/qtestlib/tutorial4/testgui.cpp')
0 files changed, 0 insertions, 0 deletions