E3DObject::Draw
Draws the specified feature of the object in the given graphic context
Namespace: Euresys::Open_eVision::Easy3D
[C++]
void Draw(
EDrawAdapter* drawAdapter,
Euresys::Open_eVision::Easy3D::E3DObjectFeature feature,
const ERGBColor& color,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
HDC graphicContext,
Euresys::Open_eVision::Easy3D::E3DObjectFeature feature,
const ERGBColor& color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
drawAdapter
-
feature
The feature to draw.
color
The color in which to draw the feature (optional).
zoomX
-
zoomY
-
panX
-
panY
-
graphicContext
Graphic context on which to draw.
Remarks
Drawing is done in the device context associated to the desired window.
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.E3DObject.Draw
Draws the specified feature of the object in the given graphic context
Namespace: Euresys.Open_eVision.Easy3D
[C#]
void Draw(
Euresys.Open_eVision.EDrawAdapter drawAdapter,
Euresys.Open_eVision.Easy3D.E3DObjectFeature feature,
Euresys.Open_eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
IntPtr graphicContext,
Euresys.Open_eVision.Easy3D.E3DObjectFeature feature,
Euresys.Open_eVision.ERGBColor color,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
drawAdapter
-
feature
The feature to draw.
color
The color in which to draw the feature (optional).
zoomX
-
zoomY
-
panX
-
panY
-
graphicContext
Graphic context on which to draw.
Remarks
Drawing is done in the device context associated to the desired window.
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.