David Kahurani : gdiplus: Use helper to calculate transform properties.