EgtInterface 1.8h2 :
- aggiunte EgtGetRawPartCenter, EgtGetRawPartBBox - aggiunte EgtSetTextureMaxLinPixels e EgtGetTextureImagePixels - aggiunte EgtAddPhoto2, EgtMovePhoto, EgtRotatePhoto e EgtGetPhotoImagePixels - eliminata EgtGetPhotoMMxPixel.
This commit is contained in:
@@ -462,6 +462,13 @@ __stdcall EgtUnProjectPoint( int nWinX, int nWinY, double ptP[3])
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSetTextureMaxLinPixels( int nMaxLinPix)
|
||||
{
|
||||
return ( ExeSetTextureMaxLinPixels( nMaxLinPix) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtLoadTexture( const wchar_t* wsName, const wchar_t* wsFile,
|
||||
@@ -492,6 +499,20 @@ __stdcall EgtGetTexturePixels( const wchar_t* wsName, int* pnWidth, int* pnHeigh
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetTextureImagePixels( const wchar_t* wsName, int* pnWidth, int* pnHeight)
|
||||
{
|
||||
int nWidth, nHeight ;
|
||||
if ( ! ExeGetTextureImagePixels( wstrztoA( wsName), nWidth, nHeight))
|
||||
return FALSE ;
|
||||
if ( pnWidth != nullptr)
|
||||
*pnWidth = nWidth ;
|
||||
if ( pnHeight != nullptr)
|
||||
*pnHeight = nHeight ;
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetTextureDimensions( const wchar_t* wsName, double* pdDimX, double* pdDimY)
|
||||
|
||||
Reference in New Issue
Block a user