]> git.nihav.org Git - nihav.git/commit
qdraw: rework bounding rectangles
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 25 Sep 2026 08:28:58 +0000 (10:28 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 25 Sep 2026 08:28:58 +0000 (10:28 +0200)
commitf8ab2f646c18608cd86c129ce393b83f285ad440
tree634b1e2a84e74c20f5c25d0169cd26508511ed01
parentce61792995a996bed7acd16ed3f626cf92fbc5cc
qdraw: rework bounding rectangles

They contain start and end co-ordinates, not start point plus size.
Also those co-ordinates may be negative or point outside image, so
adjust them before decoding.
nihav-qt/src/codecs/qdraw.rs