ECodedImage2::Draw
Draw the designated coded element An object or a hole., all the objects from a layer A binary image constructed by a segmentation process., or all the coded elements from a given selection.
Namespace: Euresys::Open_eVision
[C++]
void Draw(
EDrawAdapter
* graphicContext,
const ECodedElement
& element,
float zoomX,
float zoomY,
float panX,
float panY
) const
void Draw(
EDrawAdapter
* graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
) const
void Draw(
EDrawAdapter
* graphicContext,
OEV_UINT32 layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
) const
void Draw(
EDrawAdapter
* graphicContext,
const EObjectSelection
& selection,
float zoomX,
float zoomY,
float panX,
float panY
) const
void Draw(
EDrawAdapter
* graphicContext,
const EObjectSelection
& selection,
OEV_UINT32 elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const ECodedElement
& element,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const ERGBColor
& color,
const ECodedElement
& element,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const ERGBColor
& color,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
OEV_UINT32 layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const ERGBColor
& color,
OEV_UINT32 layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const EObjectSelection
& selection,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const ERGBColor
& color,
const EObjectSelection
& selection,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const EObjectSelection
& selection,
OEV_UINT32 elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
) const
[[deprecated("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]]
void Draw(
HDC graphicContext,
const ERGBColor
& color,
const EObjectSelection
& selection,
OEV_UINT32 elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
) const
Parameters
graphicContext
Graphic context on which to draw.
element
The coded element to draw.
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to 0
(default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panX
Horizontal panning value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
layerIndex
Index of the layer of interest. If no layer index is specified, the default layer is taken into consideration. Note that this methods throws an exception if no layer index is specified and if, simultaneously, the coded image contains several layers. Indeed, in such a case, no default layer exists.
selection
The selection of coded elements to draw.
elementIndex
The index in the selection of the coded element to draw. If no element index is specified, all the elements of the selection are take into consideration.
color
The color in which to draw the overlay.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.
ECodedImage2.Draw
Draw the designated coded element, all the objects from a layer, or all the coded elements from a given selection.
Namespace: Euresys.Open_eVision
[C#]
void Draw(
EDrawAdapter
graphicContext,
ECodedElement
element,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
EDrawAdapter
graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
EDrawAdapter
graphicContext,
uint layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
EDrawAdapter
graphicContext,
EObjectSelection
selection,
float zoomX,
float zoomY,
float panX,
float panY
)
void Draw(
EDrawAdapter
graphicContext,
EObjectSelection
selection,
uint elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
ECodedElement
element,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
ERGBColor
color,
ECodedElement
element,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
ERGBColor
color,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
uint layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
ERGBColor
color,
uint layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
EObjectSelection
selection,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
ERGBColor
color,
EObjectSelection
selection,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
EObjectSelection
selection,
uint elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
IntPtr graphicContext,
ERGBColor
color,
EObjectSelection
selection,
uint elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
ECodedElement
element,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
ECodedElement
element,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
uint layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
uint layerIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
EObjectSelection
selection,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
EObjectSelection
selection,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
EObjectSelection
selection,
uint elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
[Obsolete("Use the overload taking an EDrawAdapter
by using an instance of EWindowsDrawAdapter
.")]
void Draw(
System.Drawing.Graphics graphicContext,
ERGBColor
color,
EObjectSelection
selection,
uint elementIndex,
float zoomX,
float zoomY,
float panX,
float panY
)
Parameters
graphicContext
Graphic context on which to draw.
element
The coded element to draw.
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to 0
(default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panX
Horizontal panning value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
layerIndex
Index of the layer of interest. If no layer index is specified, the default layer is taken into consideration. Note that this methods throws an exception if no layer index is specified and if, simultaneously, the coded image contains several layers. Indeed, in such a case, no default layer exists.
selection
The selection of coded elements to draw.
elementIndex
The index in the selection of the coded element to draw. If no element index is specified, all the elements of the selection are take into consideration.
color
The color in which to draw the overlay.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.
ECodedImage2.Draw
Draw the designated coded element, all the objects from a layer, or all the coded elements from a given selection.
Module: open_evision
[Python]
Draw(
graphicContext: EDrawAdapter
element: ECodedElement
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
Draw(
graphicContext: EDrawAdapter
element: ECodedElement
zoomX: float
zoomY: float
panX: float
) -> None
Draw(
graphicContext: EDrawAdapter
element: ECodedElement
zoomX: float
zoomY: float
) -> None
Draw(
graphicContext: EDrawAdapter
element: ECodedElement
zoomX: float
) -> None
Draw(
graphicContext: EDrawAdapter
element: ECodedElement
) -> None
Draw(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
Draw(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
panX: float
) -> None
Draw(
graphicContext: EDrawAdapter
zoomX: float
zoomY: float
) -> None
Draw(
graphicContext: EDrawAdapter
zoomX: float
) -> None
Draw(
graphicContext: EDrawAdapter
) -> None
Draw(
graphicContext: EDrawAdapter
layerIndex: int
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
Draw(
graphicContext: EDrawAdapter
selection: EObjectSelection
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
Draw(
graphicContext: EDrawAdapter
selection: EObjectSelection
zoomX: float
zoomY: float
panX: float
) -> None
Draw(
graphicContext: EDrawAdapter
selection: EObjectSelection
zoomX: float
zoomY: float
) -> None
Draw(
graphicContext: EDrawAdapter
selection: EObjectSelection
zoomX: float
) -> None
Draw(
graphicContext: EDrawAdapter
selection: EObjectSelection
) -> None
Draw(
graphicContext: EDrawAdapter
selection: EObjectSelection
elementIndex: int
zoomX: float
zoomY: float
panX: float
panY: float
) -> None
Parameters
graphicContext
Graphic context on which to draw.
element
The coded element to draw.
zoomX
Horizontal zooming factor. By default, true scale is used.
zoomY
Vertical zooming factor. If set to 0
(default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panX
Horizontal panning value expressed in pixels. By default, no panning occurs.
panY
Vertical panning value expressed in pixels. By default, no panning occurs.
layerIndex
Index of the layer of interest. If no layer index is specified, the default layer is taken into consideration. Note that this methods throws an exception if no layer index is specified and if, simultaneously, the coded image contains several layers. Indeed, in such a case, no default layer exists.
selection
The selection of coded elements to draw.
elementIndex
The index in the selection of the coded element to draw. If no element index is specified, all the elements of the selection are take into consideration.
Remarks
Drawing is done in the device context associated to the desired window. The current pen is used.