ERegion::DrawWithCurrentPen

This method is deprecated.

Draws the ERegion area.

Namespace: Euresys::Open_eVision

[C++]

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

Parameters

graphicContext

Handle of the device context on which to draw.

opacity

Opacity of the drawn area (range: 0.0 to 1.0).

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.

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.

ERegion.DrawWithCurrentPen

This method is deprecated.

Draws the ERegion area.

Namespace: Euresys.Open_eVision

[C#]

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

Parameters

graphicContext

Handle of the device context on which to draw.

opacity

Opacity of the drawn area (range: 0.0 to 1.0).

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.

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.