kis_u8_base_colorspace.cpp
74void KisU8BaseColorSpace::applyInverseAlphaU8Mask(TQ_UINT8 * pixels, TQ_UINT8 * alpha, TQ_INT32 nPixels)
92TQString KisU8BaseColorSpace::channelValueText(const TQ_UINT8 *pixel, TQ_UINT32 channelIndex) const
100TQString KisU8BaseColorSpace::normalisedChannelValueText(const TQ_UINT8 *pixel, TQ_UINT32 channelIndex) const
virtual TQ_UINT32 nChannels() const =0
The total number of channels for a single pixel in this color model.
virtual TQ_UINT32 pixelSize() const =0
The size in bytes of a single pixel in this color model.
virtual void multiplyAlpha(TQ_UINT8 *pixels, TQ_UINT8 alpha, TQ_INT32 nPixels)
Multiply the alpha channel of the given run of pixels by the given value.
Definition kis_u8_base_colorspace.cpp:48
virtual TQ_UINT8 getAlpha(const TQ_UINT8 *pixel) const
Get the alpha value of the given pixel, downscaled to an 8-bit value.
Definition kis_u8_base_colorspace.cpp:27
virtual TQString channelValueText(const TQ_UINT8 *pixel, TQ_UINT32 channelIndex) const
Return a string with the channel's value suitable for display in the gui.
Definition kis_u8_base_colorspace.cpp:92
virtual TQ_UINT16 scaleToU16(const TQ_UINT8 *srcPixel, TQ_INT32 channelPos)
Convert the value of the channel at the specified position into a 16-bit value.
Definition kis_u8_base_colorspace.cpp:114
virtual TQ_UINT8 scaleToU8(const TQ_UINT8 *srcPixel, TQ_INT32 channelPos)
Convert the value of the channel at the specified position into an 8-bit value.
Definition kis_u8_base_colorspace.cpp:109
virtual TQString normalisedChannelValueText(const TQ_UINT8 *pixel, TQ_UINT32 channelIndex) const
Return a string with the channel's value with integer channels normalised to the floating point range...
Definition kis_u8_base_colorspace.cpp:100
virtual void applyInverseAlphaU8Mask(TQ_UINT8 *pixels, TQ_UINT8 *alpha, TQ_INT32 nPixels)
Applies the inverted 8-bit alpha mask to the pixels.
Definition kis_u8_base_colorspace.cpp:74
virtual void setAlpha(TQ_UINT8 *pixels, TQ_UINT8 alpha, TQ_INT32 nPixels) const
Set the alpha channel of the given run of pixels to the given value.
Definition kis_u8_base_colorspace.cpp:34
virtual void applyAlphaU8Mask(TQ_UINT8 *pixels, TQ_UINT8 *alpha, TQ_INT32 nPixels)
Applies the specified 8-bit alpha mask to the pixels.
Definition kis_u8_base_colorspace.cpp:60
