1
0
Fork 0
Commit Graph

7 Commits

Author SHA1 Message Date
Thaddeus Crews 3d523ee86d
Merge pull request #92997 from Calinou/styleboxflat-antialiasing-adjust-for-stretch-scale
Adjust StyleBoxFlat antialiasing to account for 2D stretch scale
2024-12-19 19:59:48 -06:00
Hugo Locurcio b43c47d6dd Adjust StyleBoxFlat antialiasing to account for 2D stretch scale
This prevents the antialiasing feather from becoming too wide
at viewport sizes higher than the default, which can lead to blurry visuals.

This is adjusted to account for the 2D scale factor returned on the root
Window, so it takes both the `canvas_items` scaling and
`content_scale_factor` into account.
2024-12-04 01:07:25 +01:00
MewPurPur 08a8f430f4 Codestyle improvements in style_box_flat.cpp 2024-12-03 22:03:53 +02:00
Hugo Locurcio ad24dd4ba2
Increase range hint for StyleBoxFlat `border_width`, `corner_radius` and `expand_margin` 2024-10-24 01:21:40 +02:00
MewPurPur 71ac6b7476 Optimize StyleBoxFlat.draw() 2024-09-28 12:37:31 +03:00
kleonc 86c773d208 Fix StyleBoxFlat rectangles skewing independently 2024-08-29 15:34:30 +02:00
Hendrik Brucker a29a680920 Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00