EgtInterface 1.6v4 :

- aggiunta interfaccia per EgtInvertVector
- EgtInvertCurve ora accetta un array di Id
- corretto parametro di ritorno di EgtDeleteContext da int a BOOL.
This commit is contained in:
Dario Sassi
2016-10-18 18:40:38 +00:00
parent 28dabdccc8
commit f5ca68e41b
5 changed files with 18 additions and 6 deletions
+11
View File
@@ -41,6 +41,17 @@ __stdcall EgtChangeVectorBase( int nId, const double ptB[3], int nRefType)
return ( ExeChangeVectorBase( nId, ptB, nRefType) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtInvertVector( int nNumId, const int nIds[])
{
INTVECTOR vIds ;
vIds.reserve( nNumId) ;
for ( int i = 0 ; i < nNumId ; ++i)
vIds.push_back( nIds[i]) ;
return ( ExeInvertVector( vIds) ? TRUE : FALSE) ;
}
//-------------------------------------------------------------------------------
BOOL
__stdcall EgtModifyText( int nId, const wchar_t* wsNewText)