EBaseROI::Draw
Draws an ROI/image in a device context.
Namespace: Euresys::Open_eVision_2_6
[C++]
void Draw(
EDrawAdapter* graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
EDrawAdapter* graphicContext,
EC24Vector* c24Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
EDrawAdapter* graphicContext,
EBW8Vector* bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
HDC graphicContext,
EC24Vector* c24Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
HDC graphicContext,
EBW8Vector* bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle to the device context of the destination window.
zoomX
Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in
zoomY
Magnification factor for zooming in or out in the vertical direction. Setting a
panX
Pan offset (in pixels) in the horizontal direction. By default, no panning is applied.
panY
Pan offset (in pixels) in the vertical direction. By default, no panning is applied.
c24Vector
When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
bw8Vector
When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
Remarks
An ROI/image can be drawn (its pixels rendered) using a device context. The horizontal and vertical zooming factors can be different and must be contained in the
EBaseROI.Draw
Draws an ROI/image in a device context.
Namespace: Euresys.Open_eVision_2_6
[C#]
void Draw(
Euresys.Open_eVision_2_6.EDrawAdapter graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
Euresys.Open_eVision_2_6.EDrawAdapter graphicContext,
Euresys.Open_eVision_2_6.EC24Vector c24Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
Euresys.Open_eVision_2_6.EDrawAdapter graphicContext,
Euresys.Open_eVision_2_6.EBW8Vector bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
IntPtr graphicContext,
Euresys.Open_eVision_2_6.EC24Vector c24Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
IntPtr graphicContext,
Euresys.Open_eVision_2_6.EBW8Vector bw8Vector,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Handle to the device context of the destination window.
zoomX
Magnification factor for zooming in or out in the horizontal direction. By default, the image is displayed in
zoomY
Magnification factor for zooming in or out in the vertical direction. Setting a
panX
Pan offset (in pixels) in the horizontal direction. By default, no panning is applied.
panY
Pan offset (in pixels) in the vertical direction. By default, no panning is applied.
c24Vector
When supplied, this parameter allows using a LUT that maps from BW8 to C24 when drawing (false colors).
bw8Vector
When supplied, this parameter allows using a LUT that maps from BW8 to BW8 when drawing.
Remarks
An ROI/image can be drawn (its pixels rendered) using a device context. The horizontal and vertical zooming factors can be different and must be contained in the