diff --git a/API_GdbCreate.cpp b/API_GdbCreate.cpp index dfe7c28..9de5b15 100644 --- a/API_GdbCreate.cpp +++ b/API_GdbCreate.cpp @@ -83,4 +83,28 @@ __stdcall EgtCreateTextAdv( int nParentId, const double ptP[3], double dAngRotDe wstrztoA( wsText), wstrztoA( wsFont), nW, ( bItalic != FALSE), dH, dRat, dAddAdv, nInsPos, nRefType) ; } + +//------------------------------------------------------------------------------- +int +__stdcall EgtCreateHorizontalDimension( int nParentId, const double ptP1[3], const double ptP2[3], + const double ptDim[3], const wchar_t* wsText, int nRefType) +{ + return ExeCreateHorizontalDimension( nParentId, ptP1, ptP2, ptDim, wstrztoA( wsText), nRefType) ; +} + +//------------------------------------------------------------------------------- +int +__stdcall EgtCreateVerticalDimension( int nParentId, const double ptP1[3], const double ptP2[3], + const double ptDim[3], const wchar_t* wsText, int nRefType) +{ + return ExeCreateVerticalDimension( nParentId, ptP1, ptP2, ptDim, wstrztoA( wsText), nRefType) ; +} + +//------------------------------------------------------------------------------- +int +__stdcall EgtCreateAlignedDimension( int nParentId, const double ptP1[3], const double ptP2[3], + const double ptDim[3], const wchar_t* wsText, int nRefType) +{ + return ExeCreateAlignedDimension( nParentId, ptP1, ptP2, ptDim, wstrztoA( wsText), nRefType) ; +}