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.