EQRCode::Draw

Draws the QR code using a pre-defined pen.

Namespace: Euresys::Open_eVision

[C++]

void Draw(
   EDrawAdapter* drawAdapter,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

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

Parameters

drawAdapter

Draw adapter.

zoomX

Horizontal zooming factor. By default, true scale is used.

zoomY

Vertical zooming factor. If set to 0 (default), 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.

hDC

Handle of the device context on which to draw.

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.

EQRCode.Draw

Draws the QR code using a pre-defined pen.

Namespace: Euresys.Open_eVision

[C#]

void Draw(
   Euresys.Open_eVision.EDrawAdapter drawAdapter,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

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

Parameters

drawAdapter

Draw adapter.

zoomX

Horizontal zooming factor. By default, true scale is used.

zoomY

Vertical zooming factor. If set to 0 (default), 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.

hDC

Handle of the device context on which to draw.

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.