krita
KisBasicU16HistogramProducer Class Reference
Inheritance diagram for KisBasicU16HistogramProducer:

Detailed Description
Definition at line 93 of file kis_basic_histogram_producers.h.
Public Member Functions | |
KisBasicU16HistogramProducer (const KisID &id, KisColorSpace *colorSpace) | |
virtual void | addRegionToBin (Q_UINT8 *pixels, Q_UINT8 *selectionMask, Q_UINT32 nPixels, KisColorSpace *colorSpace) |
virtual QString | positionToString (double pos) const |
virtual double | maximalZoom () const |
Member Function Documentation
void KisBasicU16HistogramProducer::addRegionToBin | ( | Q_UINT8 * | pixels, | |
Q_UINT8 * | selectionMask, | |||
Q_UINT32 | nPixels, | |||
KisColorSpace * | colorSpace | |||
) | [virtual] |
Adds the values from the specified array of pixels to the bins -- does not reset anything.
- Parameters:
-
pixels A pointer an array of pixeldata in the given colorspace selectionMask a pointer to an array of bytes, where 0 is unselected and 1-255 is degree of selectedness. The array must be just as long as the array of pixels. nPixels The number of pixels colorSpace the colorspace that can decode the pixel data.
Implements KisHistogramProducer.
Definition at line 154 of file kis_basic_histogram_producers.cc.
The documentation for this class was generated from the following files: