EC24Vector::Draw
Draws a plot of the vector element values.
Namespace: Euresys::Open_eVision
[C++]
void Draw(
EDrawAdapter
* graphicContext,
float width,
float height
) const
void Draw(
EDrawAdapter
* graphicContext,
float width,
float height,
float originX,
float originY
) const
void Draw(
EDrawAdapter
* graphicContext,
float width,
float height,
float originX,
float originY,
const ERGBColor
& color0,
const ERGBColor
& color1,
const ERGBColor
& color2
) const
void Draw(
EDrawAdapter
* graphicContext,
float width,
float height,
const ERGBColor
& color0,
const ERGBColor
& color1,
const ERGBColor
& color2
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
float width,
float height
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
float width,
float height,
float originX,
float originY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
float width,
float height,
float originX,
float originY,
const ERGBColor
& color0,
const ERGBColor
& color1,
const ERGBColor
& color2
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
float width,
float height,
const ERGBColor
& color0,
const ERGBColor
& color1,
const ERGBColor
& color2
) const
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.
color0
The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
color1
The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
color2
The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
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.
In the special case of the EC24Vector
, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
EC24Vector.Draw
Draws a plot of the vector element values.
Namespace: Euresys.Open_eVision
[C#]
void Draw(
EDrawAdapter
graphicContext,
float width,
float height
)
void Draw(
EDrawAdapter
graphicContext,
float width,
float height,
float originX,
float originY
)
void Draw(
EDrawAdapter
graphicContext,
float width,
float height,
float originX,
float originY,
ERGBColor
color0,
ERGBColor
color1,
ERGBColor
color2
)
void Draw(
EDrawAdapter
graphicContext,
float width,
float height,
ERGBColor
color0,
ERGBColor
color1,
ERGBColor
color2
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
float width,
float height
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
float width,
float height,
float originX,
float originY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
float width,
float height,
float originX,
float originY,
ERGBColor
color0,
ERGBColor
color1,
ERGBColor
color2
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
float width,
float height,
ERGBColor
color0,
ERGBColor
color1,
ERGBColor
color2
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
float width,
float height
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
float width,
float height,
float originX,
float originY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
float width,
float height,
float originX,
float originY,
ERGBColor
color0,
ERGBColor
color1,
ERGBColor
color2
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
float width,
float height,
ERGBColor
color0,
ERGBColor
color1,
ERGBColor
color2
)
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.
color0
The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
color1
The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
color2
The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
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.
In the special case of the EC24Vector
, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
EC24Vector.Draw
Draws a plot of the vector element values.
Module: open_evision
[Python]
Draw(
graphicContext: EDrawAdapter
width: float
height: float
) -> None
Draw(
graphicContext: EDrawAdapter
width: float
height: float
originX: float
originY: float
) -> None
Draw(
graphicContext: EDrawAdapter
width: float
height: float
originX: float
originY: float
color0: ERGBColor
color1: ERGBColor
color2: ERGBColor
) -> None
Draw(
graphicContext: EDrawAdapter
width: float
height: float
color0: ERGBColor
color1: ERGBColor
color2: ERGBColor
) -> None
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.
color0
The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
color1
The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
color2
The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve.
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.
In the special case of the EC24Vector
, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.