Look at MirrorImage for details.
function ImMirrorImage(var Image: TImageData): Boolean; cdecl;
ImagingExport (at line 112)