kis_channelinfo.h
53 FLAG_COLOR_AND_ALPHA = FLAG_ALPHA | FLAG_COLOR // HACK to be able to use convolution of color and alpha at the same time
67 KisChannelInfo( const TQString & name, const TQString & abbrev, TQ_INT32 npos, enumChannelType channelType, enumChannelValueType channelValueType, TQ_INT32 size = 1, TQColor color = TQColor(0,0,0))
68 : m_name (name), m_abbrev(abbrev), m_pos (npos), m_channelType(channelType), m_channelValueType(channelValueType), m_size(size), m_color(color) { };
TQString name() const
User-friendly name for this channel for presentation purposes in the gui.
Definition kis_channelinfo.h:73
enumChannelValueType channelValueType() const
return the type of the value of the channel (float, uint8 or uint16)
Definition kis_channelinfo.h:96
TQString abbrev() const
Return the single-letter abbreviation for this channel.
Definition kis_channelinfo.h:78
KisChannelInfo(const TQString &name, const TQString &abbrev, TQ_INT32 npos, enumChannelType channelType, enumChannelValueType channelValueType, TQ_INT32 size=1, TQColor color=TQColor(0, 0, 0))
Definition kis_channelinfo.h:67
TQColor color() const
This is a color that can be used to represent this channel in histograms and so.
Definition kis_channelinfo.h:101
TQ_INT32 pos() const
returns the position of the first byte of the channel in the pixel
Definition kis_channelinfo.h:82
