EMatrixCode::DrawWithCurrentPen

This method is deprecated.

Draws the EMatrixCode corner points and symbol finder pattern (when the symbol size has been correctly detected).

Namespace: Euresys::Open_eVision

[C++]

void DrawWithCurrentPen(
   HDC graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicContext

Handle of the device context on which to draw.

zoomX

Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

zoomY

Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

Remarks

The reference corner has a bold cross marking. 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.

EMatrixCode.DrawWithCurrentPen

This method is deprecated.

Draws the EMatrixCode corner points and symbol finder pattern (when the symbol size has been correctly detected).

Namespace: Euresys.Open_eVision

[C#]

void DrawWithCurrentPen(
   IntPtr graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicContext

Handle of the device context on which to draw.

zoomX

Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

zoomY

Vertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

Remarks

The reference corner has a bold cross marking. 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.