diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2023-11-05 14:17:49 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2023-11-05 14:17:49 +1300 |
commit | cd3769a48efcc3fdd2dc1304b1babfe6d26f788d (patch) | |
tree | 37c62c9ce10bd415326e4b1abac42e3a73d8d78f /src/render.rs | |
parent | 8e08d723ff7a853f2b10dc0f1408911d5801cea8 (diff) | |
download | phosphor-cd3769a48efcc3fdd2dc1304b1babfe6d26f788d.zip |
Implement window scaling
A window now can declare a scale factor to be used when rendering logical
pixels to a physical window. Each logical pixel will be drawn as an NxN
block of physical pixels, where N is the scale factor.
Diffstat (limited to 'src/render.rs')
0 files changed, 0 insertions, 0 deletions