WinPalette

Graphics32

WinPalette

function WinPalette(P: TPalette32): HPALETTE;

Description

The provided TPalette32 fixed-size buffer of color values is converted into the Win32 API equivalent HPALETTE handle definition of a palette with 256 32-bit color entries.

See Also

Color32, TPalette32