summaryrefslogtreecommitdiff
path: root/servers/rendering/rendering_server_globals.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-07-02 18:45:42 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-07-02 18:45:42 +0200
commitcf1ce8494dbba21b41a7963cf19aed6338a64145 (patch)
tree0fc94f2fa0536cf4abb996e9c81b6a7926fd0dad /servers/rendering/rendering_server_globals.cpp
parent73812c70f2b14ac76245e0754197878b27f85338 (diff)
Improve antialiased line drawing sharpness and respect of original width
Antialiased lines with a width of 2 pixels or more now use a smaller feather width of 1.25 instead of 2.0. This makes them look sharper and better preserves their original shape while still having good antialiasing quality. This also improves the appearance of thin antialiased lines by slightly increasing their feather size (from 1.0 to 1.25). It makes them appear a tad thicker, but the antialiasing quality is much improved by doing this.
Diffstat (limited to 'servers/rendering/rendering_server_globals.cpp')
0 files changed, 0 insertions, 0 deletions