From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/bin/cbezier.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'app/bin/cbezier.h') 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); -- cgit v1.2.3 From a14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 3 Jul 2024 10:19:30 +0200 Subject: New upstream version 5.3.0GA --- app/bin/cbezier.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'app/bin/cbezier.h') diff --git a/app/bin/cbezier.h b/app/bin/cbezier.h index 74ef51f..2cd72d9 100644 --- a/app/bin/cbezier.h +++ b/app/bin/cbezier.h @@ -17,7 +17,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "common.h" @@ -32,23 +32,21 @@ extern dynArr_t tempEndPts_da; #define bezCmdCreateTrack (3) #define bezCmdCreateLine (4) -extern wDrawColor lineColor; -extern long lineWidth; - 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 ); +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 ConvertToArcs (coOrd[4], dynArr_t *, BOOL_T, wDrawColor, DIST_T); +BOOL_T ConvertToArcs (coOrd[4], dynArr_t *, BOOL_T, wDrawColor, LWIDTH_T); 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); -void UpdateParms(wDrawColor color,long width); +void UpdateParms(wDrawColor color,LWIDTH_T lineWidth); void addSegBezier(dynArr_t * array_p, trkSeg_p seg); -- cgit v1.2.3