何をお探しですか?

EBaseROI::HitTest

Detects if the cursor is placed over one of the dragging handles.

Namespace: Euresys::Open_eVision_2_5

[C++]

Euresys::Open_eVision::EDragHandle HitTest(
   OEV_INT32 x,
   OEV_INT32 y,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

x

x-coordinate of the mouse cursor.

y

y-coordinate of the mouse cursor.

zoomX

Must be set to the same horizontal zooming factor as the one used when drawing. By default, true scale is used.

zoomY

Must be set to the same vertical zooming factor as the one used when drawing. By default, true scale is used.

panX

Must be set to the same horizontal pan offset factor as the one used when drawing. By default, true scale is used.

panY

Must be set to the same vertical pan offset as the one used when drawing. By default, true scale is used.

Remarks

Returns a handle identifier, as defined by EDragHandle. If zooming and/or panning were used when drawing the ROI, the same values must be used with EBaseROI::HitTest and EBaseROI::Drag.

EBaseROI.HitTest

Detects if the cursor is placed over one of the dragging handles.

Namespace: Euresys::Open_eVision_2_5

[C#]

Euresys.Open_eVision_2_5.EDragHandle HitTest(
   int x,
   int y,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

x

x-coordinate of the mouse cursor.

y

y-coordinate of the mouse cursor.

zoomX

Must be set to the same horizontal zooming factor as the one used when drawing. By default, true scale is used.

zoomY

Must be set to the same vertical zooming factor as the one used when drawing. By default, true scale is used.

panX

Must be set to the same horizontal pan offset factor as the one used when drawing. By default, true scale is used.

panY

Must be set to the same vertical pan offset as the one used when drawing. By default, true scale is used.

Remarks

Returns a handle identifier, as defined by EDragHandle. If zooming and/or panning were used when drawing the ROI, the same values must be used with EBaseROI::HitTest and EBaseROI::Drag.

EBaseROI.HitTest

Detects if the cursor is placed over one of the dragging handles.

[VB6]

EDragHandle HitTest(
   Long x,
   Long y,
   Single zoomX,
   Single zoomY,
   Single panX,
   Single panY
)

Parameters

x

x-coordinate of the mouse cursor.

y

y-coordinate of the mouse cursor.

zoomX

Must be set to the same horizontal zooming factor as the one used when drawing. By default, true scale is used.

zoomY

Must be set to the same vertical zooming factor as the one used when drawing. By default, true scale is used.

panX

Must be set to the same horizontal pan offset factor as the one used when drawing. By default, true scale is used.

panY

Must be set to the same vertical pan offset as the one used when drawing. By default, true scale is used.

Remarks

Returns a handle identifier, as defined by EDragHandle. If zooming and/or panning were used when drawing the ROI, the same values must be used with EBaseROI::HitTest and EBaseROI::Drag.

どのAPIを表示しますか?

© 西暦 EURESYS s.a.  -  このドキュメントについて  -  Open Source Licenses  -  Open eVision 2.5.1.1107