Reformat to FLTK style, improve documentation
No code changes. Replace '#define fl_clip ..' with an inline method.
This commit is contained in:
parent
e4d8b94102
commit
b2979b6425
1052
FL/fl_draw.H
1052
FL/fl_draw.H
File diff suppressed because it is too large
Load Diff
@ -635,7 +635,7 @@ Add a single vertex to the current path.
|
|||||||
void fl_curve(double X0, double Y0, double X1, double Y1, double X2, double Y2, double X3, double Y3)
|
void fl_curve(double X0, double Y0, double X1, double Y1, double X2, double Y2, double X3, double Y3)
|
||||||
|
|
||||||
\par
|
\par
|
||||||
Add a series of points on a Bezier curve to the path. The curve ends
|
Add a series of points on a Bézier curve to the path. The curve ends
|
||||||
(and two of the points are) at <tt>X0,Y0</tt> and <tt>X3,Y3</tt>.
|
(and two of the points are) at <tt>X0,Y0</tt> and <tt>X3,Y3</tt>.
|
||||||
|
|
||||||
\anchor drawing_fl_arc
|
\anchor drawing_fl_arc
|
||||||
|
@ -266,7 +266,7 @@ on few systems (some version of Irix for example).
|
|||||||
\subsection examples_curve curve
|
\subsection examples_curve curve
|
||||||
|
|
||||||
\par
|
\par
|
||||||
\c curve draws a nice Bezier curve into a custom widget. The
|
\c curve draws a nice Bézier curve into a custom widget. The
|
||||||
<i>points</i> option for splines is not supported on all platforms.
|
<i>points</i> option for splines is not supported on all platforms.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// Bezier curve functions for the Fast Light Tool Kit (FLTK).
|
// Bézier curve functions for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
// Copyright 1998-2010 by Bill Spitzak and others.
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
||||||
//
|
//
|
||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
\file fl_curve.cxx
|
\file fl_curve.cxx
|
||||||
\brief Utility for drawing Bezier curves, adding the points to the
|
\brief Utility for drawing Bézier curves, adding the points to the
|
||||||
current fl_begin/fl_vertex/fl_end path.
|
current fl_begin/fl_vertex/fl_end path.
|
||||||
|
|
||||||
Incremental math implementation:
|
Incremental math implementation:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user