EgtInterface 1.8l3 :
- aggiunta interfaccia per EgtGetImagePixels - aggiunta interfaccia per EgtAddPicture.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2017-2017
|
||||
//----------------------------------------------------------------------------
|
||||
// File : API_Image.cpp Data : 27.12.17 Versione : 1.8l3
|
||||
// Contenuto : Funzioni gestione immagini per API.
|
||||
//
|
||||
//
|
||||
//
|
||||
// Modifiche : 27.12.17 DS Creazione modulo.
|
||||
//
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
//--------------------------- Include ----------------------------------------
|
||||
#include "stdafx.h"
|
||||
#include "API.h"
|
||||
#include "/EgtDev/Include/EInAPI.h"
|
||||
#include "/EgtDev/Include/EXeExecutor.h"
|
||||
#include "/EgtDev/Include/EgtStringConverter.h"
|
||||
|
||||
using namespace std ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetImagePixels( const wchar_t* wsFile, int* pnPixelX, int* pnPixelY)
|
||||
{
|
||||
if ( pnPixelX == nullptr || pnPixelY == nullptr)
|
||||
return false ;
|
||||
return ( ExeGetImagePixels( wstrztoA( wsFile), *pnPixelX, *pnPixelY) ? TRUE : FALSE ) ;
|
||||
}
|
||||
Reference in New Issue
Block a user