diff --git a/EInAPI.h b/EInAPI.h index 8114130..a49011c 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -819,6 +819,9 @@ EIN_EXPORT BOOL __stdcall EgtChangeTextureDimensions( const wchar_t* wsName, dou EIN_EXPORT BOOL __stdcall EgtGetImage( int nShowMode, const int TopCol[4], const int BottomCol[4], int nWidth, int nHeight, const wchar_t* wsName) ; +// Image +EIN_EXPORT BOOL __stdcall EgtGetImagePixels( const wchar_t* wsFile, int* pnPixelX, int* pnPixelY) ; + // Photo EIN_EXPORT int __stdcall EgtAddPhoto( const wchar_t* wsName, const wchar_t* wsFile, const double ptOri[3], const double ptCen[3], double dMMxPixel, @@ -836,6 +839,10 @@ EIN_EXPORT BOOL __stdcall EgtGetPhotoDimensions( int nId, double* pdDimX, double EIN_EXPORT BOOL __stdcall EgtGetPhotoPixels( int nId, int* pnPixelX, int* pnPixelY) ; EIN_EXPORT BOOL __stdcall EgtGetPhotoImagePixels( int nId, int* pnPixelX, int* pnPixelY) ; +// Picture +EIN_EXPORT int __stdcall EgtAddPicture( int nParentId, const wchar_t* wsName, const wchar_t* wsFile, + double dDimX, double dDimY, int nRefType) ; + // Geo Base EIN_EXPORT BOOL __stdcall EgtVectorNormalize( double* pdX, double* pdY, double* pdZ, double dEps = 0.001) ; EIN_EXPORT BOOL __stdcall EgtVectorRotate( double* pdX, double* pdY, double* pdZ, diff --git a/EXeExecutor.h b/EXeExecutor.h index 476e135..cf52431 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -934,6 +934,10 @@ EXE_EXPORT bool ExeGetPhotoDimensions( int nId, double& dDimX, double& dDimY) ; EXE_EXPORT bool ExeGetPhotoPixels( int nId, int& nPixelX, int& nPixelY) ; EXE_EXPORT bool ExeGetPhotoImagePixels( int nId, int& nPixelX, int& nPixelY) ; +// Picture +EXE_EXPORT int ExeAddPicture( int nParentId, const std::string& sName, const std::string& sPath, + double dDimX, double dDimY, int nRefType) ; + // Messages EXE_EXPORT bool ExeLoadMessages( const std::string& sMsgFilePath) ; EXE_EXPORT const std::string& ExeGetLanguage( void) ;