Include :

- aggiornamento interfacce
- aggiunte per export SVG.
This commit is contained in:
Dario Sassi
2019-09-16 15:29:10 +00:00
parent c7467cb267
commit f81bf2bb82
4 changed files with 43 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
//----------------------------------------------------------------------------
// EgalTech 2019-2019
//----------------------------------------------------------------------------
// File : EExExportSvg.h Data : 15.09.19 Versione : 2.1i2
// Contenuto : Dichiarazione della interfaccia IExportSvg.
//
//
//
// Modifiche : 15.09.19 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
#include "/EgtDev/Include/EgkGeomDB.h"
#include "/EgtDev/Include/EExExportConst.h"
#include <string>
//----------------------- Macro per import/export ----------------------------
#undef EEK_EXPORT
#if defined( I_AM_EEX) // da definirsi solo nella DLL
#define EEX_EXPORT __declspec( dllexport)
#else
#define EEX_EXPORT __declspec( dllimport)
#endif
//-----------------------------------------------------------------------------
class __declspec( novtable) IExportSvg
{
public :
virtual ~IExportSvg( void) {}
virtual bool SetOptions( int nFilter) = 0 ;
virtual bool Export( IGeomDB* pGDB, int nId, const std::string& sFile) = 0 ;
} ;
//-----------------------------------------------------------------------------
extern "C" {
EEX_EXPORT IExportSvg* CreateExportSvg(void) ;
}
+1
View File
@@ -106,6 +106,7 @@ EIN_EXPORT BOOL __stdcall EgtImportPnt( const wchar_t* wsFilePath, int nFlag) ;
EIN_EXPORT BOOL __stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor) ;
EIN_EXPORT BOOL __stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtExportStl( int nId, const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath) ;
// Tsc Executor
EIN_EXPORT BOOL __stdcall EgtInitTscExec( void) ;
+1
View File
@@ -25,6 +25,7 @@ enum FileType { FT_NULL = 0,
FT_BTL = 15,
FT_IMG = 16,
FT_PNT = 17,
FT_SVG = 18,
FT_TSC = 101,
FT_LUA = 102} ;
+1
View File
@@ -112,6 +112,7 @@ EXE_EXPORT bool ExeImportPnt( const std::string& sFilePath, int nFlag) ;
EXE_EXPORT bool ExeImportStl( const std::string& sFilePath, double dScaleFactor) ;
EXE_EXPORT bool ExeExportDxf( int nId, const std::string& sFilePath) ;
EXE_EXPORT bool ExeExportStl( int nId, const std::string& sFilePath) ;
EXE_EXPORT bool ExeExportSvg( int nId, const std::string& sFilePath) ;
// Tsc Executor
EXE_EXPORT bool ExeInitTscExec( void) ;