EQuadrangle::Draw

Draws the quadrangle, by drawing lines between its corners.

Namespace: Euresys::Open_eVision_2_11

[C++]

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

void Draw(
   HDC graphicContext,
   const ERGBColor& color,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   BOOL drawDiagonals
)

void Draw(
   EDrawAdapter* graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   BOOL drawDiagonals
)

Parameters

graphicContext

Graphic context on which to draw.

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.

drawDiagonals

Specifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

color

The color in which to draw the overlay.

Remarks

Drawing is done in the device context associated to the desired window.

EQuadrangle.Draw

Draws the quadrangle, by drawing lines between its corners.

Namespace: Euresys.Open_eVision_2_11

[C#]

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

void Draw(
   IntPtr graphicContext,
   Euresys.Open_eVision_2_11.ERGBColor color,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   bool drawDiagonals
)

void Draw(
   Euresys.Open_eVision_2_11.EDrawAdapter graphicContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY,
   bool drawDiagonals
)

Parameters

graphicContext

Graphic context on which to draw.

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.

drawDiagonals

Specifies whether or not lines are to be drawn between the 1st and 3rd corners, as well as between the 2nd and 4th corners.

color

The color in which to draw the overlay.

Remarks

Drawing is done in the device context associated to the desired window.