summaryrefslogtreecommitdiffstats
path: root/winit/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar aentity <aentity@yahoo.com>2021-07-13 22:27:48 -0400
committerLibravatar aentity <aentity@yahoo.com>2021-07-21 02:26:53 -0400
commit665422e256b5eb8fed23f1a13900838e0e3bcb44 (patch)
tree465d0e9ff1014e30c5e2a7fd2d2deb3096cc437f /winit/src/lib.rs
parent27b42ca6b6585477fda0a5d07ec09bd74e501a1a (diff)
downloadiced-665422e256b5eb8fed23f1a13900838e0e3bcb44.tar.gz
iced-665422e256b5eb8fed23f1a13900838e0e3bcb44.tar.bz2
iced-665422e256b5eb8fed23f1a13900838e0e3bcb44.zip
Use ceil on svg dimensions, fix svg memory usage
Calls ceil() on dimension bounds as this appears fix svg memory unbounded usage because no longer cache miss. The height and width return from resvg seem to always be ceiling of float dimensions, so we try to match.
Diffstat (limited to 'winit/src/lib.rs')
0 files changed, 0 insertions, 0 deletions