EBW8Vector::DrawWithCurrentPen
This method is deprecated.
Draws a plot of the vector element values.
Namespace: Euresys::Open_eVision
[C++]
void DrawWithCurrentPen(
HDC graphicContext,
float width,
float height,
float originX,
float originY
)
Parameters
graphicContext
Handle of the device context on which to draw.
width
Outermost horizontal size, in pixels.
height
Outermost vertical size, in pixels.
originX
Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originY
Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Remarks
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background. Drawing is done in the device context associated to the desired window. To draw the curves, the current pen is used. To draw the annotations, a black pen is used instead. 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.
EBW8Vector.DrawWithCurrentPen
This method is deprecated.
Draws a plot of the vector element values.
Namespace: Euresys.Open_eVision
[C#]
void DrawWithCurrentPen(
IntPtr graphicContext,
float width,
float height,
float originX,
float originY
)
Parameters
graphicContext
Handle of the device context on which to draw.
width
Outermost horizontal size, in pixels.
height
Outermost vertical size, in pixels.
originX
Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originY
Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Remarks
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background. 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.