EOCR::DrawChars
Draws the bounding boxes of all characters in the image.
Namespace: Euresys::Open_eVision
[C++]
void DrawChars(
EDrawAdapter
* graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void DrawChars(
HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void DrawChars(
HDC graphicContext,
const ERGBColor
& color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle of the device 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 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 for all characters (to vary the colors, draw the objects separately using the EOCR::DrawChar
method instead).
EOCR.DrawChars
Draws the bounding boxes of all characters in the image.
Namespace: Euresys.Open_eVision
[C#]
void DrawChars(
EDrawAdapter
graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChars(
IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChars(
IntPtr graphicContext,
ERGBColor
color,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChars(
System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void DrawChars(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle of the device 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 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 for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar
method instead).
EOCR.DrawChars
Draws the bounding boxes of all characters in the image.
Module: open_evision
[Python]
DrawChars(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
DrawChars(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
panX: float
) -> None
DrawChars(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
) -> None
DrawChars(
graphicContext: EDrawAdapter
zoomX: float
) -> None
DrawChars(
graphicContext: EDrawAdapter
) -> None
Parameters
graphicContext
Handle of the device 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 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 for all characters (to vary the colors, draw the objects separately using the EOCR.DrawChar
method instead).