#include <kis_channelinfo.h>
Public Member Functions | |
| KisChannelInfo (const TQString &name, const TQString &abbrev, TQ_INT32 npos, enumChannelType channelType, enumChannelValueType channelValueType, TQ_INT32 size=1, TQColor color=TQColor(0, 0, 0)) | |
| TQString | name () const |
| TQString | abbrev () const |
| TQ_INT32 | pos () const |
| TQ_INT32 | size () const |
| enumChannelType | channelType () const |
| enumChannelValueType | channelValueType () const |
| TQColor | color () const |
Detailed Description
This class gives some basic information about a channel, that is, one of the components that makes up a particular pixel.
Definition at line 30 of file kis_channelinfo.h.
Member Enumeration Documentation
◆ enumChannelFlags
| enum KisChannelInfo::enumChannelFlags |
Definition at line 48 of file kis_channelinfo.h.
◆ enumChannelType
| enum KisChannelInfo::enumChannelType |
Definition at line 32 of file kis_channelinfo.h.
◆ enumChannelValueType
| enum KisChannelInfo::enumChannelValueType |
Definition at line 39 of file kis_channelinfo.h.
Constructor & Destructor Documentation
◆ KisChannelInfo() [1/2]
|
inline |
Definition at line 57 of file kis_channelinfo.h.
◆ KisChannelInfo() [2/2]
|
inline |
- Parameters
-
name The i18n'ed name of this channel ("Red") abbrev A one or two letter abbreviation of the name of this channel ("R") npos the position of the first byte of this channel value in the pixel channelType the type of this channel (color, alpha, etc) channelValueType the datatype of this channel size the size in bytes of this channel color a color to visually represent this channel by in the gui
Definition at line 67 of file kis_channelinfo.h.
Member Function Documentation
◆ abbrev()
|
inline |
Return the single-letter abbreviation for this channel.
Definition at line 78 of file kis_channelinfo.h.
◆ channelType()
|
inline |
returns the type of the channel
Definition at line 92 of file kis_channelinfo.h.
◆ channelValueType()
|
inline |
return the type of the value of the channel (float, uint8 or uint16)
Definition at line 96 of file kis_channelinfo.h.
◆ color()
|
inline |
This is a color that can be used to represent this channel in histograms and so.
By default this is black, so keep in mind that many channels might look the same
Definition at line 101 of file kis_channelinfo.h.
◆ name()
|
inline |
User-friendly name for this channel for presentation purposes in the gui.
Definition at line 73 of file kis_channelinfo.h.
◆ pos()
|
inline |
returns the position of the first byte of the channel in the pixel
Definition at line 82 of file kis_channelinfo.h.
◆ size()
|
inline |
returns the number of bytes this channel takes
Definition at line 87 of file kis_channelinfo.h.
The documentation for this class was generated from the following file:
