FLTK 1.3.7: fl_curve.cxx File Reference

FLTK 1.3.7

fl_curve.cxx File Reference

Utility for drawing Bezier curves, adding the points to the current fl_begin/fl_vertex/fl_end path. More...

`#include <FL/fl_draw.H>`
`#include <math.h>`

## Detailed Description

Utility for drawing Bezier curves, adding the points to the current fl_begin/fl_vertex/fl_end path.

Incremental math implementation: I very much doubt this is optimal! From Foley/vanDam page 511. If anybody has a better algorithm, please send it!

- Copyright © 1998-2021 by Bill Spitzak and others.