This interface holds a single path detection result and is used to access its properties. More...
Public Member Functions | |
void | Draw (HDC hdc, LPVPathDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
Public Member Functions inherited from ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Properties | |
ILPolygon | Path [get] |
The path of the result, it's a not-closed polygon. | |
double | Score [get] |
The score of the result, it's the averaging value of all pixels on the path. | |
This interface holds a single path detection result and is used to access its properties.
Usually you get the LPathResult object from the ILPathResults::Item() function.You can then use this interface to access to the path informations and draw the result on graphics windows.
void Draw | ( | HDC | hdc, |
LPVPathDrawFlags | drawFlags, | ||
double | zoomX, | ||
double | zoomY, | ||
double | panX, | ||
double | panY | ||
) |
Draw the path result onto provide device context.
[in] | drawFlags | Control the drawing behavior, see LPVPathDrawFlags |