29 Jan
2024
29 Jan
'24
2:46 p.m.
On Fri Jan 26 20:01:22 2024 +0000, Esme Povirk wrote:
We can use GdipCreatePath2I in this case. I'm not sure this will be possible. Looking at EmfPlusPoint:
`typedef struct EmfPlusPoint { short X; short Y; } EmfPlusPoint;` On the other hand, GpPoint, which is a typedef for Point is defined as: `typedef struct Point { INT X; INT Y; } Point;` It seems to me that the difference in internal types means casting EmfPlusPoint to GpPoint will give us memory corruption. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4803#note_59371