CurveToV Class Documentation

classCurveToV : Segment

Namespace:datalogics_interface

Inherits from:
Segment

Detailed Description

The current point is the beginning point in the curve.

The name CurveToV is drawn from the "V" path construction operator.

Uses types

Constructor & Destructor Documentation

CurveToV

Parameters

p2: const Point &

the second control point.

p3: const Point &

the new current point.

Append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using the current point and point2 as the Bézier control points. The new current point is point3.

CurveToV

CurveToV(doublex2, doubley2, doublex3, doubley3)

Parameters

x2: double

the second control point.

y2: double

the new current point.

x3: double

the append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using the c...

y3: double

the append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using the c...

Append a cubic Bézier curve to the current path. The curve extends from the current point to point3, using the current point and point2 as the Bézier control points. The new current point is point3.

~CurveToV

~CurveToV()

Member Function Documentation

point2

Pointpoint2()

Returns:

The single off-curve control point (current point is reused as the first control point).

point3

Pointpoint3()

Returns:

The end point of the curve.

to_string

std::stringto_string()

Returns:

std::string

Represents a segment, or a single line, within a path.