Dmitry Timoshkov : gdiplus: Use same rounding formula that is used to decide whether a path should be stored as an array integers .