EPathVector::Draw
Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).
Namespace: Euresys::Open_eVision
[C++]
void Draw(
EDrawAdapter
* graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
) const
void Draw(
EDrawAdapter
* graphicContext,
EPathVectorDrawOption
drawOption,
float zoomX,
float zoomY,
float originX,
float originY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const ERGBColor
& color,
float zoomX,
float zoomY,
float originX,
float originY
) const
Parameters
graphicContext
Handle of the device context on which to draw.
zoomX
Zooming factor along the X axis (1.0f
means no zoom).
zoomY
Zooming factor along the Y axis (1.0f
means no zoom).
originX
Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originY
Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
drawOption
Option for how to draw the path vector
color
The color in which to draw the overlay.
EPathVector.Draw
Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).
Namespace: Euresys.Open_eVision
[C#]
void Draw(
EDrawAdapter
graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
)
void Draw(
EDrawAdapter
graphicContext,
EPathVectorDrawOption
drawOption,
float zoomX,
float zoomY,
float originX,
float originY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
ERGBColor
color,
float zoomX,
float zoomY,
float originX,
float originY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
float zoomX,
float zoomY,
float originX,
float originY
)
Parameters
graphicContext
Handle of the device context on which to draw.
zoomX
Zooming factor along the X axis (1.0f
means no zoom).
zoomY
Zooming factor along the Y axis (1.0f
means no zoom).
originX
Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originY
Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
drawOption
Option for how to draw the path vector
color
The color in which to draw the overlay.
EPathVector.Draw
Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).
Module: open_evision
[Python]
Draw(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
originX: float
originY: float
) -> None
Draw(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
originX: float
) -> None
Draw(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
) -> None
Draw(
graphicContext: EDrawAdapter
zoomX: float
) -> None
Draw(
graphicContext: EDrawAdapter
) -> None
Draw(
graphicContext: EDrawAdapter
drawOption: EPathVectorDrawOption
zoomX: float
zoomY: float
originX: float
originY: float
) -> None
Draw(
graphicContext: EDrawAdapter
drawOption: EPathVectorDrawOption
zoomX: float
zoomY: float
originX: float
) -> None
Draw(
graphicContext: EDrawAdapter
drawOption: EPathVectorDrawOption
zoomX: float
zoomY: float
) -> None
Draw(
graphicContext: EDrawAdapter
drawOption: EPathVectorDrawOption
zoomX: float
) -> None
Draw(
graphicContext: EDrawAdapter
drawOption: EPathVectorDrawOption
) -> None
Parameters
graphicContext
Handle of the device context on which to draw.
zoomX
Zooming factor along the X axis (1.0f
means no zoom).
zoomY
Zooming factor along the Y axis (1.0f
means no zoom).
originX
Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originY
Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
drawOption
Option for how to draw the path vector