Documentation Portal      

What are you looking for?

ERegion::Draw

Draws the ERegion shape.

Namespace: Euresys::Open_eVision_2_10

[C++]

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

void Draw(
   HDC graphicContext,
   const ERGBColor& color,
   float opacity,
   float zoomX,
   float zoomY,
   int panX,
   int 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 factor. By default, no panning occurs.

panY

Vertical panning factor. By default, no panning occurs.

color

The color in which to draw the ERegion.

ERegion.Draw

Draws the ERegion shape.

Namespace: Euresys.Open_eVision_2_10

[C#]

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

void Draw(
   IntPtr graphicContext,
   Euresys.Open_eVision_2_10.ERGBColor color,
   float opacity,
   float zoomX,
   float zoomY,
   int panX,
   int 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 factor. By default, no panning occurs.

panY

Vertical panning factor. By default, no panning occurs.

color

The color in which to draw the ERegion.

Which API shall we display?

© 2019 EURESYS s.a.  -  About Documentation  -  Open Source Licenses  -  Open eVision 2.10.0.1121