EgtInterface 1.5j4 :
- ora si imposta un context corrente anche per le API come per LUA - il context corrente di LUA coincide con quello delle API.
This commit is contained in:
+18
-18
@@ -33,9 +33,9 @@ using namespace std ;
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtChangeVectorBase( int nGseCtx, int nId, const double ptB[3])
|
||||
__stdcall EgtChangeVectorBase( int nId, const double ptB[3])
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// recupero il vettore
|
||||
IGeoVector3d* pGVect = GetGeoVector3d( pGeomDB->GetGeoObj( nId)) ;
|
||||
@@ -47,16 +47,16 @@ __stdcall EgtChangeVectorBase( int nGseCtx, int nId, const double ptB[3])
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtModifyText( int nGseCtx, int nId, const wchar_t* wsNewText)
|
||||
__stdcall EgtModifyText( int nId, const wchar_t* wsNewText)
|
||||
{
|
||||
return EgtModifyText( nGseCtx, nId, wstrztoA( wsNewText)) ;
|
||||
return EgtModifyText( nId, wstrztoA( wsNewText)) ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtModifyText( int nGseCtx, int nId, const string& sNewText)
|
||||
__stdcall EgtModifyText( int nId, const string& sNewText)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// recupero il testo
|
||||
IExtText* pTXT = GetExtText( pGeomDB->GetGeoObj( nId)) ;
|
||||
@@ -68,16 +68,16 @@ __stdcall EgtModifyText( int nGseCtx, int nId, const string& sNewText)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtChangeTextFont( int nGseCtx, int nId, const wchar_t* wsNewFont)
|
||||
__stdcall EgtChangeTextFont( int nId, const wchar_t* wsNewFont)
|
||||
{
|
||||
return EgtChangeTextFont( nGseCtx, nId, wstrztoA( wsNewFont)) ;
|
||||
return EgtChangeTextFont( nId, wstrztoA( wsNewFont)) ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtChangeTextFont( int nGseCtx, int nId, const string& sNewFont)
|
||||
__stdcall EgtChangeTextFont( int nId, const string& sNewFont)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// recupero il testo
|
||||
IExtText* pTXT = GetExtText( pGeomDB->GetGeoObj( nId)) ;
|
||||
@@ -89,9 +89,9 @@ __stdcall EgtChangeTextFont( int nGseCtx, int nId, const string& sNewFont)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtFlipText( int nGseCtx, int nId)
|
||||
__stdcall EgtFlipText( int nId)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// recupero il testo
|
||||
IExtText* pTXT = GetExtText( pGeomDB->GetGeoObj( nId)) ;
|
||||
@@ -103,9 +103,9 @@ __stdcall EgtFlipText( int nGseCtx, int nId)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtMirrorText( int nGseCtx, int nId, BOOL bOnL)
|
||||
__stdcall EgtMirrorText( int nId, BOOL bOnL)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// recupero il testo
|
||||
IExtText* pTXT = GetExtText( pGeomDB->GetGeoObj( nId)) ;
|
||||
@@ -117,9 +117,9 @@ __stdcall EgtMirrorText( int nGseCtx, int nId, BOOL bOnL)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtTextToOutline( int nGseCtx, int nId, int nDestGroupId)
|
||||
__stdcall EgtTextToOutline( int nId, int nDestGroupId)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// recupero il testo
|
||||
IExtText* pTXT = GetExtText( pGeomDB->GetGeoObj( nId)) ;
|
||||
@@ -151,9 +151,9 @@ __stdcall EgtTextToOutline( int nGseCtx, int nId, int nDestGroupId)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSplitText( int nGseCtx, int nId, int nDestGroupId)
|
||||
__stdcall EgtSplitText( int nId, int nDestGroupId)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// recupero il testo
|
||||
IExtText* pTXT = GetExtText( pGeomDB->GetGeoObj( nId)) ;
|
||||
|
||||
Reference in New Issue
Block a user