summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Painter.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-05-21 20:54:05 +0100
committerJelle Raaijmakers <jelle@gmta.nl>2023-05-22 01:38:41 +0200
commitff70418ffc0148c1a26b0ac54dd692e842561ac4 (patch)
treec31a9b4a2f7bbf71c265b1f7a6086ea7f501a2e1 /Userland/Libraries/LibGfx/Painter.h
parent7cc118e84eae6e365cab5bf476efe6a219b596c2 (diff)
downloadserenity-ff70418ffc0148c1a26b0ac54dd692e842561ac4.zip
Revert "LibGfx: Add NearestFractional scaling type to painter"
This reverts commit df304401178dc4e82edccdbe6e7a7a7d12eecfe9. This scaling type is now unused, and has issues with painting outside of the Painter's clip-rect.
Diffstat (limited to 'Userland/Libraries/LibGfx/Painter.h')
-rw-r--r--Userland/Libraries/LibGfx/Painter.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/Painter.h b/Userland/Libraries/LibGfx/Painter.h
index 07f9eb6d5a..9ee3b68c16 100644
--- a/Userland/Libraries/LibGfx/Painter.h
+++ b/Userland/Libraries/LibGfx/Painter.h
@@ -41,7 +41,6 @@ public:
};
enum class ScalingMode {
- NearestFractional,
NearestNeighbor,
SmoothPixels,
BilinearBlend,