#include "BIFILTER.H"
BOOL CALLBACK HistDIBToDC( HDC hDC,
LPHISTDATA lpHist,
LPRECT lprc,
int nSelect)
Description
Plots a computed histogram to a specified hDC.
Parameters
|
HDC |
hDC |
Target object’s hDC property where the histogram is to be plotted. |
|
LPHISTDATA |
lpHist |
This parameter contains the histogram data. For further information about this structure, see the description at Chapter Data Structures - Histogram Data. |
|
LPRECT |
lprc |
This parameter specifies the target rectangle where the histogram is to be plotted. For further information about this pointer, see the description at Chapter Data Structures - Histogram Data. |
|
int |
nSelect |
Selected color channel to be plotted |
Return values
TRUE on success orFALSE on failure.
Programming notes
Requirements
Header : Declared in BIFilter.h; include BIFilter.h.
Library : Use BIFilter.lib.
DLLs : BIFilter.dll.