fac1ceff47
- aggiunta interfaccia per EgtGetImagePixels - aggiunta interfaccia per EgtAddPicture.
31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
//----------------------------------------------------------------------------
|
|
// 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 ) ;
|
|
}
|