Documentation Portal      

What are you looking for?

EEllipseRegion::Drag

Moves the specified handle to a new position and updates all placement parameters of the region.

Namespace: Euresys::Open_eVision_2_10

[C++]

void Drag(
   int x,
   int y,
   float zoomX,
   float zoomY,
   int panX,
   int panY
)

Parameters

x

x-coordinate of the mouse cursor.

y

y-coordinate of the mouse cursor.

zoomX

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

zoomY

Vertical zoom factor. By default, true scale is used.

panX

Horizontal pan offset. By default, no pan is added.

panY

Vertical pan offset. By default, no pan is added.

Remarks

If zooming and/or panning were used when drawing the region, the same values must be used with EEllipseRegion::HitTest and EEllipseRegion::Drag.

EEllipseRegion.Drag

Moves the specified handle to a new position and updates all placement parameters of the region.

Namespace: Euresys.Open_eVision_2_10

[C#]

void Drag(
   int x,
   int y,
   float zoomX,
   float zoomY,
   int panX,
   int panY
)

Parameters

x

x-coordinate of the mouse cursor.

y

y-coordinate of the mouse cursor.

zoomX

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

zoomY

Vertical zoom factor. By default, true scale is used.

panX

Horizontal pan offset. By default, no pan is added.

panY

Vertical pan offset. By default, no pan is added.

Remarks

If zooming and/or panning were used when drawing the region, the same values must be used with EEllipseRegion::HitTest and EEllipseRegion::Drag.

Which API shall we display?

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