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) |
![]() | |
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. | |
![]() | |
LString | Name [get, set] |
Name of the object. By default, the object has no name. In most cases, LPV classes don't make use of the names. The name is drawn on canvas around the object if ILDrawable::SetDrawName() is enabled. More... | |
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 |