diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 |
commit | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (patch) | |
tree | ce8982b6c0111f79791068de2c2d4c6ce3138a49 /app/bin/cbezier.h | |
parent | b623f5953691b2a0614e6f1f4def86bdbb9a4113 (diff) |
New upstream version 5.2.2GAupstream/5.2.2GA
Diffstat (limited to 'app/bin/cbezier.h')
-rw-r--r-- | app/bin/cbezier.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/app/bin/cbezier.h b/app/bin/cbezier.h index 49b818f..74ef51f 100644 --- a/app/bin/cbezier.h +++ b/app/bin/cbezier.h @@ -21,8 +21,6 @@ */ #include "common.h" -#include "wlib.h" -#include "utility.h" extern dynArr_t tempEndPts_da; @@ -37,16 +35,16 @@ extern dynArr_t tempEndPts_da; extern wDrawColor lineColor; extern long lineWidth; -typedef void (*bezMessageProc)( char *, ... ); +typedef void (*bezMessageProc)( const char *, ... ); STATUS_T CmdBezCurve( wAction_t, coOrd); STATUS_T CmdBezModify(track_p, wAction_t, coOrd, DIST_T); STATUS_T CreateBezier( wAction_t, coOrd, BOOL_T, wDrawColor, DIST_T, long, bezMessageProc ); DIST_T BezierDescriptionDistance( coOrd, track_p, coOrd *, BOOL_T, BOOL_T * ); STATUS_T BezierDescriptionMove( track_p, wAction_t, coOrd ); -BOOL_T GetBezierMiddle( track_p, coOrd * ); + BOOL_T ConvertToArcs (coOrd[4], dynArr_t *, BOOL_T, wDrawColor, DIST_T); -track_p NewBezierTrack(coOrd[4], trkSeg_t *, int); +track_p NewBezierTrack(coOrd[4], trkSeg_p, int); double BezierLength(coOrd[4], dynArr_t); double BezierOffsetLength(dynArr_t,double offset); double BezierMinRadius(coOrd[4],dynArr_t); |