EPathVector::DrawClosedContour

Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes ClockwiseAlwaysClosed and AnticlockwiseAlwaysClosed.

Namespace: Euresys::Open_eVision

[C++]

void DrawClosedContour(
   EDrawAdapter* graphicContext,
   Euresys::Open_eVision::EContourMode contourMode,
   float zoomX,
   float zoomY,
   float originX,
   float originY
)

Parameters

graphicContext

Handle of the device context on which to draw.

contourMode

Contour mode used to get this path vector used to draw the external boundary of the contour.

zoomX

Zooming factor along the X axis (1.0f means no zoom).

zoomY

Zooming factor along the Y axis (1.0f means no zoom).

originX

Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

originY

Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

EPathVector.DrawClosedContour

Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes ClockwiseAlwaysClosed and AnticlockwiseAlwaysClosed.

Namespace: Euresys.Open_eVision

[C#]

void DrawClosedContour(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   Euresys.Open_eVision.EContourMode contourMode,
   float zoomX,
   float zoomY,
   float originX,
   float originY
)

Parameters

graphicContext

Handle of the device context on which to draw.

contourMode

Contour mode used to get this path vector used to draw the external boundary of the contour.

zoomX

Zooming factor along the X axis (1.0f means no zoom).

zoomY

Zooming factor along the Y axis (1.0f means no zoom).

originX

Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

originY

Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.