#include <ddghist.h>
Public Members | |||
ddgHistogram (unsigned int s) | |||
Create a text object at a given canvas location. | |||
~ddgHistogram (void) | |||
Free the memory of this histogram. | |||
bool | init (void) | ||
Allocate memory if needed and clear the data samples. | |||
void | incr (unsigned int i) | ||
Increment one range entry. | |||
void | decr (unsigned int i) | ||
Decrement one range entry. | |||
unsigned int | size (void) | ||
Return the size of the histogram. | |||
unsigned int | maxVal (void) | ||
Return the maxVal of the histogram. | |||
unsigned int | totalSample (void) | ||
Return the totalSample of the histogram. | |||
unsigned int | data (unsigned int i) | ||
Return the totalSample of the histogram. |