1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

LibGfx: Add NearestFractional scaling type to painter

This is useful for cases where you want to avoid scaling artifacts.
This commit is contained in:
FrHun 2022-12-04 21:23:53 +01:00 committed by Sam Atkins
parent 837625e422
commit df30440117
2 changed files with 14 additions and 2 deletions

View file

@ -37,6 +37,7 @@ public:
};
enum class ScalingMode {
NearestFractional,
NearestNeighbor,
SmoothPixels,
BilinearBlend,