EBaseROI::DrawFrameWithCurrentPen
Draws a rectangular frame around an image or ROI.
Namespace: Euresys::Open_eVision_2_6
[C++]
void DrawFrameWithCurrentPen(
HDC graphicContext,
BOOL bHandles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrameWithCurrentPen(
HDC graphicContext,
Euresys::Open_eVision_2_6::EFramePosition framePosition,
BOOL bHandles,
float zoomX,
float zoomY,
float x,
float y
)
Parameters
graphicContext
Handle to the device context of the destination window.
bHandles
-
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
x
Translation factor for panning in the horizontal direction.
y
Translation factor for panning in the vertical direction.
framePosition
-
Remarks
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the
EBaseROI.DrawFrameWithCurrentPen
Draws a rectangular frame around an image or ROI.
Namespace: Euresys.Open_eVision_2_6
[C#]
void DrawFrameWithCurrentPen(
IntPtr graphicContext,
bool bHandles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrameWithCurrentPen(
IntPtr graphicContext,
Euresys.Open_eVision_2_6.EFramePosition framePosition,
bool bHandles,
float zoomX,
float zoomY,
float x,
float y
)
Parameters
graphicContext
Handle to the device context of the destination window.
bHandles
-
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
x
Translation factor for panning in the horizontal direction.
y
Translation factor for panning in the vertical direction.
framePosition
-
Remarks
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. The current device context pen is used. Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the