Curve - r3n/rebol-wiki GitHub Wiki
| Next Page: Ellipse | Return To Draw Contents |
Draws a smooth Bezier curve to fit the points provided.
| Arg | Type | Description | Values |
|---|---|---|---|
| point1 | [pair!] | End point A | |
| point2 | [pair!] | Control point A | |
| point3 | [pair!] | End point B, or control point B | |
| point4 | [pair!] | End point B |
Either three or more points should be specified. Three points determines a cubic Bezier curve with two endpoints and one control point. Four points provides two control points. Additional points are needed for complicated curves like circular and elliptical arcs.
curve 20x150 60x250 200x50 |
![]() Curve With One Control Point |
curve 20x20 80x300 140x20 200x300 |
![]() Curve With Two Control Points |
pen yellow line-pattern red 5 5 line-width 4 curve 20x150 60x250 200x50 |
![]() Thick Curve With Patterned Line |
pen yellow line-pattern red 5 5 line-width 4 fill-pen blue curve 20x20 80x300 140x20 200x300 |
![]() With Fill Pen |
| Next Page: Ellipse | Return To Draw Contents |
| Pages |
|
|
Chapters
|



