EMatrixCode::Draw

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 Draw(
   EDrawAdapter* graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

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

void Draw(
   HDC graphicContext,
   const ERGBColor& color,
   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.

color

The color in which to draw the overlay.

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.Draw

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 Draw(
   Euresys.Open_eVision.EDrawAdapter graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

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

void Draw(
   IntPtr graphicContext,
   Euresys.Open_eVision.ERGBColor color,
   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.

color

The color in which to draw the overlay.

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.