From 6f7c603cc38069f3bcf9238554300db2fe6d398d Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 12 Apr 2021 07:51:13 +0000 Subject: [PATCH] EgtInterface 2.3d3 : - modificate le interfacce di EgtAddCurveCompoCurve, EgtAddCurveCompoLine, EgtAddCurveCompoArcTg e EgtAddCurveCompoArc2P con aggiunta del parametro bStartVsEnd. --- API_GdbModifyCurve.cpp | 16 ++++++++-------- EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/API_GdbModifyCurve.cpp b/API_GdbModifyCurve.cpp index f4d9633..7679c6c 100644 --- a/API_GdbModifyCurve.cpp +++ b/API_GdbModifyCurve.cpp @@ -232,30 +232,30 @@ __stdcall EgtCloseCurveCompo( int nId) //------------------------------------------------------------------------------- BOOL -__stdcall EgtAddCurveCompoCurve( int nId, int nAddCrvId, BOOL bEraseOrig) +__stdcall EgtAddCurveCompoCurve( int nId, int nAddCrvId, BOOL bEraseOrig, BOOL bStartVsEnd) { - return ( ExeAddCurveCompoCurve( nId, nAddCrvId, ( bEraseOrig != FALSE)) ? TRUE : FALSE) ; + return ( ExeAddCurveCompoCurve( nId, nAddCrvId, ( bEraseOrig != FALSE), ( bStartVsEnd != FALSE)) ? TRUE : FALSE) ; } //------------------------------------------------------------------------------- BOOL -__stdcall EgtAddCurveCompoLine( int nId, const double ptP[3], int nRefType) +__stdcall EgtAddCurveCompoLine( int nId, const double ptP[3], BOOL bStartVsEnd, int nRefType) { - return ( ExeAddCurveCompoLine( nId, ptP, nRefType) ? TRUE : FALSE) ; + return ( ExeAddCurveCompoLine( nId, ptP, ( bStartVsEnd != FALSE), nRefType) ? TRUE : FALSE) ; } //------------------------------------------------------------------------------- BOOL -__stdcall EgtAddCurveCompoArcTg( int nId, const double ptP[3], int nRefType) +__stdcall EgtAddCurveCompoArcTg( int nId, const double ptP[3], BOOL bStartVsEnd, int nRefType) { - return ( ExeAddCurveCompoArcTg( nId, ptP, nRefType) ? TRUE : FALSE) ; + return ( ExeAddCurveCompoArcTg( nId, ptP, ( bStartVsEnd != FALSE), nRefType) ? TRUE : FALSE) ; } //------------------------------------------------------------------------------- BOOL -__stdcall EgtAddCurveCompoArc2P( int nId, const double ptMid[3], const double ptP[3], int nRefType) +__stdcall EgtAddCurveCompoArc2P( int nId, const double ptMid[3], const double ptP[3], BOOL bStartVsEnd, int nRefType) { - return ( ExeAddCurveCompoArc2P( nId, ptMid, ptP, nRefType) ? TRUE : FALSE) ; + return ( ExeAddCurveCompoArc2P( nId, ptMid, ptP, ( bStartVsEnd != FALSE), nRefType) ? TRUE : FALSE) ; } //------------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index 67227d657a188b8b59b8dade0fec386efd236a85..e2a84e1d2d3584e9082d8c005365dd968648aca9 100644 GIT binary patch delta 111 zcmX>WeJpyzFE&Qw%^&$rGEF|hS;uHR`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o07yS5wg3PC delta 111 zcmX>WeJpyzFE&QQ%^&$rGEF|hS;uHN`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o07PdfrT_o{