DrawCircles

Draws circles.

Syntax

Definition:

HRESULT DrawCircles(
    HRESULT            hrPrev,
    ITcVnContainer*    ipCircles,
    LONG               nCircleIndex,
    ITcVnImage*        ipDestImage,
    TcVnVector4_LREAL& aColor,
    LONG               nThickness,
    ETcVnLineType      eLineType = LT_8_CONNECTED
)

Parameters

Name

Type

Default

Description

hrPrev

HRESULT

HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.)

ipCircles

ITcVnContainer*

Container with circles (ContainerType_Vector_TcVnVector3_REAL; Each container element contains the x coordinate of the circle center [0], the y coordinate of the circle center [1], and the radius [2].)

nCircleIndex

LONG

Index of a specific circle to be drawn (if negative, all circles within the container are drawn)

ipDestImage

ITcVnImage*

Destination image

aColor

TcVnVector4_LREAL&

Color

nThickness

LONG

Line thickness (if negative, the circle is filled)

eLineType

ETcVnLineType

LT_8_CONNECTED

Line type

DrawCircles 1: Return value

HRESULT

Required License

TC3 Vision Base

System Requirements