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,
Euresys::Open_eVision::EPathVectorDrawOption drawOption,
float zoomX,
float zoomY,
float originX,
float originY
)
void Draw(
HDC graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
)
void Draw(
HDC graphicContext,
const 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 (
zoomY
Zooming factor along the Y axis (
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.
Remarks
Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.
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(
Euresys.Open_eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
)
void Draw(
Euresys.Open_eVision.EDrawAdapter graphicContext,
Euresys.Open_eVision.EPathVectorDrawOption drawOption,
float zoomX,
float zoomY,
float originX,
float originY
)
void Draw(
IntPtr graphicContext,
float zoomX,
float zoomY,
float originX,
float originY
)
void Draw(
IntPtr graphicContext,
Euresys.Open_eVision.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 (
zoomY
Zooming factor along the Y axis (
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.
Remarks
Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.