From 8d69e253ade1b4029ca7b5e88c5f30488269d401 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 2 Jan 2020 08:28:44 +0000 Subject: [PATCH] EgtInterface : - aggiunta interfaccia per EgtSetCurrDimensionStyle e EgtResetCurrDimensionStyle. --- API_GdbCreate.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/API_GdbCreate.cpp b/API_GdbCreate.cpp index 9de5b15..3eba074 100644 --- a/API_GdbCreate.cpp +++ b/API_GdbCreate.cpp @@ -84,6 +84,21 @@ __stdcall EgtCreateTextAdv( int nParentId, const double ptP[3], double dAngRotDe nW, ( bItalic != FALSE), dH, dRat, dAddAdv, nInsPos, nRefType) ; } +//------------------------------------------------------------------------------- +BOOL +__stdcall EgtSetCurrDimensionStyle( double dExtLineLen, double dArrowLen, double dTextDist, + int nLenIsMM, int nDecDigit, const wchar_t* wsFont, double dTextHeight) +{ + return ( ExeSetCurrDimensionStyle( dExtLineLen, dArrowLen, dTextDist, nLenIsMM, nDecDigit, wstrztoA( wsFont), dTextHeight) ? TRUE : FALSE) ; +} + +//------------------------------------------------------------------------------- +BOOL +__stdcall EgtResetCurrDimensionStyle( void) +{ + return ( ExeResetCurrDimensionStyle() ? TRUE : FALSE) ; +} + //------------------------------------------------------------------------------- int __stdcall EgtCreateHorizontalDimension( int nParentId, const double ptP1[3], const double ptP2[3],