SwapChannelsOfPalette Function
Imaging

Swaps SrcChannel and DstChannel color or alpha channels of palette.

Pascal
procedure SwapChannelsOfPalette(Pal: PPalette32; 
                                Entries: LongInt; 
                                SrcChannel: LongInt; 
                                DstChannel: LongInt);
File

Imaging (at line 283)

Description

Use ChannelRed, ChannelBlue, ChannelGreen, ChannelAlpha constants to identify channels. Pal must be allocated to at least Entries * SizeOf(TColor32Rec) bytes.

Related Information
You are here: Symbol Reference > Functions > SwapChannelsOfPalette Function