EOCR::DrawChar
Draws the bounding box of a given character.
Namespace: Euresys::Open_eVision
[C++]
void DrawChar(
EDrawAdapter
* graphicContext,
OEV_UINT32 charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void DrawChar(
HDC graphicContext,
OEV_UINT32 charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void DrawChar(
HDC graphicContext,
const ERGBColor
& color,
OEV_UINT32 charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle of the device context on which to draw.
charIndex
Character index, in range 0..NumChars-1
.
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 value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
color
The color in which to draw the overlay.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.
EOCR.DrawChar
Draws the bounding box of a given character.
Namespace: Euresys.Open_eVision
[C#]
void DrawChar(
EDrawAdapter
graphicContext,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChar(
IntPtr graphicContext,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChar(
IntPtr graphicContext,
ERGBColor
color,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChar(
System.Drawing.Graphics graphicContext,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChar(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
uint charIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle of the device context on which to draw.
charIndex
Character index, in range 0..NumChars-1
.
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 value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
color
The color in which to draw the overlay.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.
EOCR.DrawChar
Draws the bounding box of a given character.
Module: open_evision
[Python]
DrawChar(
graphicContext: EDrawAdapter
charIndex: int
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
DrawChar(
graphicContext: EDrawAdapter
charIndex: int
zoomX: float
zoomY: float
panX: float
) -> None
DrawChar(
graphicContext: EDrawAdapter
charIndex: int
zoomX: float
zoomY: float
) -> None
DrawChar(
graphicContext: EDrawAdapter
charIndex: int
zoomX: float
) -> None
DrawChar(
graphicContext: EDrawAdapter
charIndex: int
) -> None
Parameters
graphicContext
Handle of the device context on which to draw.
charIndex
Character index, in range 0..NumChars-1
.
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 value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.