krita
KisBasicU8HistogramProducer Class Reference
Inheritance diagram for KisBasicU8HistogramProducer:

Detailed Description
Definition at line 85 of file kis_basic_histogram_producers.h.
Public Member Functions | |
KisBasicU8HistogramProducer (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 KisBasicU8HistogramProducer::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 95 of file kis_basic_histogram_producers.cc.
The documentation for this class was generated from the following files: