Transforms any curves in the path that is selected into the current DC, turning each curve into a sequence of lines
#include <WinAPIGdi.au3>
_WinAPI_FlattenPath ( $hDC )
| $hDC | Handle to a device context that contains a valid path. | 
| Success: | True. | 
| Failure: | False, call _WinAPI_GetLastError() to get extended error information | 
Search FlattenPath in MSDN Library.