EWorldShape::DrawCrossGrid
Draws a regular grid of crosses in world coordinates.
Namespace: Euresys::Open_eVision
[C++]
void DrawCrossGrid(
EDrawAdapter* graphicContext,
float minimumX,
float maximumX,
float minimumY,
float maximumY,
OEV_UINT32 numberOfIntervalsX,
OEV_UINT32 numberOfIntervalsY
)
void DrawCrossGrid(
HDC graphicContext,
float minimumX,
float maximumX,
float minimumY,
float maximumY,
OEV_UINT32 numberOfIntervalsX,
OEV_UINT32 numberOfIntervalsY
)
void DrawCrossGrid(
HDC graphicContext,
const ERGBColor& color,
float minimumX,
float maximumX,
float minimumY,
float maximumY,
OEV_UINT32 numberOfIntervalsX,
OEV_UINT32 numberOfIntervalsY
)
Parameters
graphicContext
Handle of the device context on which to draw.
minimumX
Abscissa of the leftmost crosses, in world coordinates.
maximumX
Abscissa of the rightmost crosses, in world coordinates.
minimumY
Ordinate of the leftmost crosses, in world coordinates.
maximumY
Ordinate of the rightmost crosses, in world coordinates.
numberOfIntervalsX
Number of intervals between crosses along the horizontal direction.
numberOfIntervalsY
Number of intervals between crosses along the vertical direction.
color
The color in which to draw the overlay.
Remarks
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.
EWorldShape.DrawCrossGrid
Draws a regular grid of crosses in world coordinates.
Namespace: Euresys.Open_eVision
[C#]
void DrawCrossGrid(
Euresys.Open_eVision.EDrawAdapter graphicContext,
float minimumX,
float maximumX,
float minimumY,
float maximumY,
uint numberOfIntervalsX,
uint numberOfIntervalsY
)
void DrawCrossGrid(
IntPtr graphicContext,
float minimumX,
float maximumX,
float minimumY,
float maximumY,
uint numberOfIntervalsX,
uint numberOfIntervalsY
)
void DrawCrossGrid(
IntPtr graphicContext,
Euresys.Open_eVision.ERGBColor color,
float minimumX,
float maximumX,
float minimumY,
float maximumY,
uint numberOfIntervalsX,
uint numberOfIntervalsY
)
Parameters
graphicContext
Handle of the device context on which to draw.
minimumX
Abscissa of the leftmost crosses, in world coordinates.
maximumX
Abscissa of the rightmost crosses, in world coordinates.
minimumY
Ordinate of the leftmost crosses, in world coordinates.
maximumY
Ordinate of the rightmost crosses, in world coordinates.
numberOfIntervalsX
Number of intervals between crosses along the horizontal direction.
numberOfIntervalsY
Number of intervals between crosses along the vertical direction.
color
The color in which to draw the overlay.
Remarks
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.