mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47: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:
parent
837625e422
commit
df30440117
2 changed files with 14 additions and 2 deletions
|
@ -37,6 +37,7 @@ public:
|
|||
};
|
||||
|
||||
enum class ScalingMode {
|
||||
NearestFractional,
|
||||
NearestNeighbor,
|
||||
SmoothPixels,
|
||||
BilinearBlend,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue