Look at SetPixel32 for details.
procedure ImSetPixel32(const Image: TImageData; X: LongInt; Y: LongInt; const Color: TColor32Rec); cdecl;
ImagingExport (at line 156)