EgtInterface 1.6g5 :

- aggiornamento per modifica parametri funzioni di creazione.
This commit is contained in:
Dario Sassi
2015-07-20 13:07:56 +00:00
parent e363ee8432
commit ee45e1da16
3 changed files with 67 additions and 42 deletions
+6 -6
View File
@@ -58,28 +58,28 @@ __stdcall EgtCreateGeoFrame( int nParentId, const double ptOrig[3],
//-------------------------------------------------------------------------------
int
__stdcall EgtCreateText( int nParentId, const double ptP[3], double dAngRotDeg,
__stdcall EgtCreateText( int nParentId, const double ptP[3],
const wchar_t* wsText, double dH, int nRefType)
{
return ExeCreateText( nParentId, ptP, dAngRotDeg, wstrztoA( wsText), dH, nRefType) ;
return ExeCreateText( nParentId, ptP, wstrztoA( wsText), dH, nRefType) ;
}
//-------------------------------------------------------------------------------
int
__stdcall EgtCreateTextEx( int nParentId, const double ptP[3], const double vtN[3], const double vtD[3],
__stdcall EgtCreateTextEx( int nParentId, const double ptP[3], double dAngRotDeg,
const wchar_t* wsText, const wchar_t* wsFont, BOOL bItalic, double dH, int nRefType)
{
return ExeCreateTextEx( nParentId, ptP, vtN, vtD,
return ExeCreateTextEx( nParentId, ptP, dAngRotDeg,
wstrztoA( wsText), wstrztoA( wsFont), (bItalic != FALSE), dH, nRefType) ;
}
//-------------------------------------------------------------------------------
int
__stdcall EgtCreateTextAdv( int nParentId, const double ptP[3], const double vtN[3], const double vtD[3],
__stdcall EgtCreateTextAdv( int nParentId, const double ptP[3], double dAngRotDeg,
const wchar_t* wsText, const wchar_t* wsFont,
int nW, BOOL bItalic, double dH, double dRat, double dAddAdv, int nInsPos, int nRefType)
{
return ExeCreateTextAdv( nParentId, ptP, vtN, vtD,
return ExeCreateTextAdv( nParentId, ptP, dAngRotDeg,
wstrztoA( wsText), wstrztoA( wsFont),
nW, ( bItalic != FALSE), dH, dRat, dAddAdv, nInsPos, nRefType) ;
}