PolyBezier Method

Object List Next Object

Defined By:
Printer

Description:

Draws one or more bezier splines using the current pen (the spline is not filled).

Declaration:

PolyBezier(x() As Single, y() As Single, ByVal count As Long)


Syntax Description


x( ), y( ) Array of points

count Number of points in the x( ) and y( ) arrays.

Details:

This function draws Bezier splines by using the endpoints and control points specifed in the array x(), y(). The first spline uses the second and third points as control points and draws lines from the first point to fourth, which are the start and end points.

If you are drawing multiple splines in a sequence, each succeeding spline requires three more points: the starting point, which is the ending point to the previous spline; two control points, which are the next two points in the sequence; and the end point, which is the third point.

The PolyBezier method does not use nor update the current position.