14 Nov
2023
14 Nov
'23
10:03 p.m.
On Tue Nov 14 21:27:29 2023 +0000, Nikolay Sivov wrote:
I meant, does resample_bitmap_pixel() need to use GpPointF input at all. I think yes. According to documentation:
``` Consider the pixel in the upper-left corner of an image with address (0, 0). With PixelOffsetModeNone, the pixel covers the area between –0.5 and 0.5 in both the x and y directions; that is, the pixel center is at (0, 0). With PixelOffsetModeHalf, the pixel covers the area between 0 and 1 in both the x and y directions; that is, the pixel center is at (0.5, 0.5). ``` https://learn.microsoft.com/en-us/windows/win32/api/gdiplusenums/ne-gdipluse... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4393#note_52285