15 Sep
2023
15 Sep
'23
9:15 p.m.
Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/graphics.c:
for (x = dst_area.left, src_pointf = src_pointf_row; x < dst_area.right; x++, src_pointf.X += x_dx, src_pointf.Y += x_dy) { - if (src_pointf.X >= srcx && src_pointf.X < srcx + srcwidth && - src_pointf.Y >= srcy && src_pointf.Y < srcy + srcheight)
This checks are no longer needed, as we properly counted number of destination pixels (dst_area.left etc.). It could possitively impact on performance (less floating numbers operations). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3865#note_45614