EBaseROI::DrawFrame
Draws a rectangular frame around an image or ROI.
Namespace: Euresys::Open_eVision_2_6
[C++]
void DrawFrame(
EDrawAdapter* graphicContext,
Euresys::Open_eVision_2_6::EFramePosition framePosition,
BOOL handles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
EDrawAdapter* graphicContext,
BOOL handles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
HDC graphicContext,
Euresys::Open_eVision_2_6::EFramePosition framePosition,
BOOL bHandles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
HDC graphicContext,
BOOL bHandles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
HDC graphicContext,
const ERGBColor& color,
BOOL bHandles,
float zoomX,
float zoomY,
float x,
float y
)
Parameters
graphicContext
Handle to the device context of the destination window.
framePosition
-
handles
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.
bHandles
-
color
-
Remarks
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EBaseROI::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the
EBaseROI.DrawFrame
Draws a rectangular frame around an image or ROI.
Namespace: Euresys.Open_eVision_2_6
[C#]
void DrawFrame(
Euresys.Open_eVision_2_6.EDrawAdapter graphicContext,
Euresys.Open_eVision_2_6.EFramePosition framePosition,
bool handles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
Euresys.Open_eVision_2_6.EDrawAdapter graphicContext,
bool handles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
IntPtr graphicContext,
Euresys.Open_eVision_2_6.EFramePosition framePosition,
bool bHandles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
IntPtr graphicContext,
bool bHandles,
float zoomX,
float zoomY,
float x,
float y
)
void DrawFrame(
IntPtr graphicContext,
Euresys.Open_eVision_2_6.ERGBColor color,
bool bHandles,
float zoomX,
float zoomY,
float x,
float y
)
Parameters
graphicContext
Handle to the device context of the destination window.
framePosition
-
handles
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.
bHandles
-
color
-
Remarks
A frame can be drawn (using a device context) around an image or ROI, possibly with 9 sizing handles. A suitable default pen is used (see EBaseROI::DrawFrameWithCurrentPen if you wish to use the pen currently selected into the device context). Zooming and panning are possible. Please note that panning is applied before zooming. (MFC users can use the