DRAW_BEZIER@

Platform

Win32, x64

Purpose

To draw a Bézier spline on the current drawing surface

Syntax

SUBROUTINE DRAW_BEZIER@( X, Y, N, COLOUR )
INTEGER X(N),Y(N),N,COLOUR

Description

X and Y are arrays giving the co-ordinates of the N points and COLOUR is the colour value using the current colour mode.

N must be a multiple of 4 because Bézier curves are formed from segments defined by 4 points where the first and last points are the points to be joined and the second and third points are control points.

There is also a DRAW_BEZIERSD@ routine which is identical to DRAW_BEZIER@ except that the X and Y arrays are DOUBLE PRECISION:

SUBROUTINE DRAW_BEZIERSD@(X,Y,N,ICOL)
DOUBLE PRECISION X(N),Y(N)
INTEGER N,ICOL

See also:

DRAW_FILLED_BEZIERSD@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited