IXC_Channel Enumeration

From Tracker Software PDF SDK
Revision as of 01:58, 29 April 2015 by Oliynykd (Talk | contribs)

Jump to: navigation, search


The IXC_Channel enumeration specifies the channel to which the function should be applied.

Syntax

enum IXC_Channel
{
    Channel_B    = 0;
    Channel_G    = 1;
    Channel_R    = 2;
    Channel_A    = 3;
    Channel_Gray = 0;
};

Constants

Channel_B
The indicates that the function must be applied to the Blue channel of the page.
Channel_G
The indicates that the function must be applied to the Green channel of the page. If the page doesn't contain a green channel (for example is grayscaled), the corresponding function will fails.
Channel_R
The indicates that the function must be applied to the Red channel of the page. If the page doesn't contain a red channel (for example is grayscaled), the corresponding function will fails.
Channel_A
The indicates that the function must be applied to the Alpha channel of the page. If the page doesn't contain an Alpha channel, the corresponding function will fails.
Channel_Gray
The indicates that the function must be applied to the Gray channel of the page, and used only for grayscaled pages.

See Also

IIXC_Page::CopyChannel
IIXC_Page::FillChannel
IIXC_Page::GetChannelPixel
IIXC_Page::InvertChannel
IIXC_Page::SetChannelPixel