eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::ERegionFreeHandPainter Class Reference

Manages a complete context for a ERegionFreeHandPainter. This class allows to paint a region using a free hand method. More...

#include <eVision/Easy/ERegionFreeHandPainter.h>

Collaboration diagram for eVision::ERegionFreeHandPainter:

Public Member Functions

 ERegionFreeHandPainter ()
 Constructs an ERegionFreeHandPainter context.
virtual ~ERegionFreeHandPainter () throw ()
void Paint (int x, int y, float zoomX, float zoomY, float panX, float panY)
 Paints the region by applying the brush on the canvas at the designed coordinates.
void Paint (int x, int y, float zoomX, float zoomY, float panX)
 Paints the region by applying the brush on the canvas at the designed coordinates.
void Paint (int x, int y, float zoomX, float zoomY)
 Paints the region by applying the brush on the canvas at the designed coordinates.
void Paint (int x, int y, float zoomX)
 Paints the region by applying the brush on the canvas at the designed coordinates.
void Paint (int x, int y)
 Paints the region by applying the brush on the canvas at the designed coordinates.
void SetBrush (const eVision::ERegion &brush)
 Sets the brush to use to paint the region.
void SetCanvasSize (int width, int height)
 Sets the canvas size.
void SetCanvasSize (const eVision::EBaseROI &roi)
 Sets the canvas size.
void ClearCanvas ()
 Clear the canvas.
eVision::ERegion & RetrieveRegion ()
 Retrieves the painted region.
void Draw (eVision::EDrawAdapter *graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, float opacity, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, float opacity, float zoomX)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, float opacity)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float opacity)
 Draws the ERegionFreeHandPainter shape.
void Draw (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, float opacity, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, float opacity, float zoomX)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, float opacity)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity, float zoomX)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, const eVision::ERGBColor &color, float opacity)
 Draws the ERegionFreeHandPainter shape.
void Draw (HDC graphicContext, const eVision::ERGBColor &color)
 Draws the ERegionFreeHandPainter shape.
void DrawContour (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, float zoomX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color, float zoomX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (eVision::EDrawAdapter *graphicContext, const eVision::ERGBColor &color)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, float zoomX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY, float panX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX, float zoomY)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, const eVision::ERGBColor &color, float zoomX)
 Draws the ERegionFreeHandPainter contour.
void DrawContour (HDC graphicContext, const eVision::ERGBColor &color)
 Draws the ERegionFreeHandPainter contour.
 ERegionFreeHandPainter (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Manages a complete context for a ERegionFreeHandPainter. This class allows to paint a region using a free hand method.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ ERegionFreeHandPainter() [1/2]

eVision::ERegionFreeHandPainter::ERegionFreeHandPainter ( )

Constructs an ERegionFreeHandPainter context.

◆ ~ERegionFreeHandPainter()

eVision::ERegionFreeHandPainter::~ERegionFreeHandPainter ( )
throw ( )
virtual

◆ ERegionFreeHandPainter() [2/2]

eVision::ERegionFreeHandPainter::ERegionFreeHandPainter ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ ClearCanvas()

void eVision::ERegionFreeHandPainter::ClearCanvas ( )

Clear the canvas.

The canvas is the area on which to paint the region.

◆ Draw() [1/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext)

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [2/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.

◆ Draw() [3/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float opacity )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [4/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [5/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [6/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [7/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [8/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
float opacity )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [9/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
float opacity,
float zoomX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [10/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [11/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [12/24]

void eVision::ERegionFreeHandPainter::Draw ( eVision::EDrawAdapter * graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [13/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext)

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [14/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
const eVision::ERGBColor & color )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [15/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
const eVision::ERGBColor & color,
float opacity )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [16/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [17/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [18/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [19/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
const eVision::ERGBColor & color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [20/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
float opacity )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [21/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
float opacity,
float zoomX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [22/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [23/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [24/24]

void eVision::ERegionFreeHandPainter::Draw ( HDC graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [1/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext)

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.

◆ DrawContour() [2/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.

◆ DrawContour() [3/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float zoomX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawContour() [4/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ DrawContour() [5/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawContour() [6/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
const eVision::ERGBColor & color,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawContour() [7/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
float zoomX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ DrawContour() [8/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ DrawContour() [9/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ DrawContour() [10/20]

void eVision::ERegionFreeHandPainter::DrawContour ( eVision::EDrawAdapter * graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ DrawContour() [11/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext)

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [12/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
const eVision::ERGBColor & color )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [13/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
const eVision::ERGBColor & color,
float zoomX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [14/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
const eVision::ERGBColor & color,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [15/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
const eVision::ERGBColor & color,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [16/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
const eVision::ERGBColor & color,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERegionFreeHandPainter.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [17/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
float zoomX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [18/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
float zoomX,
float zoomY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [19/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
float zoomX,
float zoomY,
float panX )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawContour() [20/20]

void eVision::ERegionFreeHandPainter::DrawContour ( HDC graphicContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERegionFreeHandPainter contour.

Parameters
graphicContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Paint() [1/5]

void eVision::ERegionFreeHandPainter::Paint ( int x,
int y )

Paints the region by applying the brush on the canvas at the designed coordinates.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.

The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.

◆ Paint() [2/5]

void eVision::ERegionFreeHandPainter::Paint ( int x,
int y,
float zoomX )

Paints the region by applying the brush on the canvas at the designed coordinates.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.

The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.

◆ Paint() [3/5]

void eVision::ERegionFreeHandPainter::Paint ( int x,
int y,
float zoomX,
float zoomY )

Paints the region by applying the brush on the canvas at the designed coordinates.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.

◆ Paint() [4/5]

void eVision::ERegionFreeHandPainter::Paint ( int x,
int y,
float zoomX,
float zoomY,
float panX )

Paints the region by applying the brush on the canvas at the designed coordinates.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.

◆ Paint() [5/5]

void eVision::ERegionFreeHandPainter::Paint ( int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Paints the region by applying the brush on the canvas at the designed coordinates.

Parameters
xX position on which to apply the brush.
yY position on which to apply the brush.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

The canvas is the area on which to paint the region. The center of the brush region bounding box will be applied at the given location. By default, the brush is a 8-pixel radius circle.

◆ RetrieveRegion()

eVision::ERegion & eVision::ERegionFreeHandPainter::RetrieveRegion ( )

Retrieves the painted region.

◆ SetBrush()

void eVision::ERegionFreeHandPainter::SetBrush ( const eVision::ERegion & brush)

Sets the brush to use to paint the region.

Parameters
brushBrush to use.

Any region can be used as a brush. By default, the brush is a 8-pixel radius circle.

◆ SetCanvasSize() [1/2]

void eVision::ERegionFreeHandPainter::SetCanvasSize ( const eVision::EBaseROI & roi)

Sets the canvas size.

Parameters
roiROI/Image from which the canvas size will be adapted.

The canvas is the area on which to paint the region.

◆ SetCanvasSize() [2/2]

void eVision::ERegionFreeHandPainter::SetCanvasSize ( int width,
int height )

Sets the canvas size.

Parameters
widthWidth of the canvas.
heightHeight of the canvas.

The canvas is the area on which to paint the region.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::ERegionFreeHandPainter::wrappedClass_