1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:57:47 +00:00

LibGfx: Fix off-by-some in Painter::draw_scaled_bitmap_with_transform()

Before this, drawing a 1x1 bitmap scaled up to MxN would only fill
M/2 x N/2 pixel, due to source_point going outside (0, 0).
This commit is contained in:
Nico Weber 2024-01-09 21:29:16 -05:00 committed by Andreas Kling
parent 822b7720e1
commit 7fb32b6682
3 changed files with 53 additions and 1 deletions

View file

@ -6,6 +6,7 @@ set(TEST_SOURCES
TestGfxBitmap.cpp
TestICCProfile.cpp
TestImageDecoder.cpp
TestPainter.cpp
TestParseISOBMFF.cpp
TestRect.cpp
TestScalingFunctions.cpp