EgtInterface :

- aggiunta interfaccia per EgtCreateCurveCompoByReorder
- aggiunte EgtGetPhotoDimensions e EgtGetPhotoPixels.
This commit is contained in:
Dario Sassi
2017-01-14 11:18:25 +00:00
parent 998ca87697
commit e0ffed2ac3
2 changed files with 31 additions and 0 deletions
+13
View File
@@ -230,6 +230,19 @@ __stdcall EgtCreateCurveCompoByChain( int nParentId, int nNumId, const int nIds[
return ExeCreateCurveCompoByChain( nParentId, vIds, ptNear, ( bErase != FALSE), nRefType, nullptr) ;
}
//-------------------------------------------------------------------------------
int
__stdcall EgtCreateCurveCompoByReorder( int nParentId, int nNumId, const int nIds[],
const double ptNear[3], BOOL bErase, int nRefType)
{
INTVECTOR vIds ;
vIds.reserve( nNumId) ;
for ( int i = 0 ; i < nNumId ; ++i) {
vIds.push_back( nIds[i]) ;
}
return ExeCreateCurveCompoByReorder( nParentId, vIds, ptNear, ( bErase != FALSE), nRefType, nullptr) ;
}
//-------------------------------------------------------------------------------
int
__stdcall EgtCreateCurveCompoFromPoints( int nParentId, int nP, const double ptPs[], int nRefType)