EOCR::HitChar

Returns true if the cursor is placed over the character specified by charIndex.

Namespace: Euresys::Open_eVision

[C++]

bool HitChar(
   int cursorX,
   int cursorY,
   OEV_UINT32 charIndex,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

cursorX

Current cursor coordinates.

cursorY

Current cursor coordinates.

charIndex

Index of the character to be hit.

zoomX

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

zoomY

Vertical zooming factor. If set to 0, the default value, 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

If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.

EOCR.HitChar

Returns true if the cursor is placed over the character specified by charIndex.

Namespace: Euresys.Open_eVision

[C#]

bool HitChar(
   int cursorX,
   int cursorY,
   uint charIndex,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

cursorX

Current cursor coordinates.

cursorY

Current cursor coordinates.

charIndex

Index of the character to be hit.

zoomX

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

zoomY

Vertical zooming factor. If set to 0, the default value, 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

If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.

EOCR.HitChar

Returns true if the cursor is placed over the character specified by charIndex.

Module: open_evision

[Python]

HitChar(
    cursorX: int
    cursorY: int
    charIndex: int
    zoomX: float
    zoomY: float
    panX: float
    panY: float
) -> bool

HitChar(
    cursorX: int
    cursorY: int
    charIndex: int
    zoomX: float
    zoomY: float
    panX: float
) -> bool

HitChar(
    cursorX: int
    cursorY: int
    charIndex: int
    zoomX: float
    zoomY: float
) -> bool

HitChar(
    cursorX: int
    cursorY: int
    charIndex: int
    zoomX: float
) -> bool

HitChar(
    cursorX: int
    cursorY: int
    charIndex: int
) -> bool

Parameters

cursorX

Current cursor coordinates.

cursorY

Current cursor coordinates.

charIndex

Index of the character to be hit.

zoomX

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

zoomY

Vertical zooming factor. If set to 0, the default value, 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

If zooming and/or panning were used when drawing the ROI, the same values must be used with this method.