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 67227d6..e2a84e1 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ