ERegion::DrawContour
Draws the ERegion contour.
Namespace: Euresys::Open_eVision
[C++]
void DrawContour(
EDrawAdapter* drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawContour(
EDrawAdapter* drawAdapter,
const ERGBColor& color,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawContour(
HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawContour(
HDC graphicContext,
const ERGBColor& color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
drawAdapter
A pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
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 ERegion.
graphicContext
Handle of the device context on which to draw.
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.
ERegion.DrawContour
Draws the ERegion contour.
Namespace: Euresys.Open_eVision
[C#]
void DrawContour(
Euresys.Open_eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawContour(
Euresys.Open_eVision.EDrawAdapter drawAdapter,
Euresys.Open_eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawContour(
IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void DrawContour(
IntPtr graphicContext,
Euresys.Open_eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
drawAdapter
A pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to
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 ERegion.
graphicContext
Handle of the device context on which to draw.
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.