EPathVector::DrawWithCurrentPen

This method is deprecated.

Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Namespace: Euresys::Open_eVision

[C++]

void DrawWithCurrentPen(
   HDC graphicContext,
   float zoomX,
   float zoomY,
   float originX,
   float originY
)

Parameters

graphicContext

Handle of the device context on which to draw.

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.

Remarks

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

EPathVector.DrawWithCurrentPen

This method is deprecated.

Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Namespace: Euresys.Open_eVision

[C#]

void DrawWithCurrentPen(
   IntPtr graphicContext,
   float zoomX,
   float zoomY,
   float originX,
   float originY
)

Parameters

graphicContext

Handle of the device context on which to draw.

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.

Remarks

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.