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
+18
View File
@@ -84,3 +84,21 @@ __stdcall EgtGetPhotoMMxPixel( int nId, double* pdMMxPixel)
return FALSE ;
return ( ExeGetPhotoMMxPixel( nId, *pdMMxPixel) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetPhotoDimensions( int nId, double* pdDimX, double* pdDimY)
{
if ( pdDimX == nullptr || pdDimY == nullptr)
return FALSE ;
return ( ExeGetPhotoDimensions( nId, *pdDimX, *pdDimY) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetPhotoPixels( int nId, int* pnPixelX, int* pnPixelY)
{
if ( pnPixelX == nullptr || pnPixelY == nullptr)
return FALSE ;
return ( ExeGetPhotoPixels( nId, *pnPixelX, *pnPixelY) ? TRUE : FALSE) ;
}