diff --git a/EInAPI.h b/EInAPI.h index 81554dc..8b84494 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -202,13 +202,20 @@ EIN_EXPORT BOOL __stdcall EgtShearGroup( int nGseCtx, int nId, const double vPnt EIN_EXPORT BOOL __stdcall EgtInitScene( int nGseCtx, HWND hWnd, int nDriver, int b2Buff, int nColorBits, int nDepthBits) ; EIN_EXPORT BOOL __stdcall EgtSetBackground( int nGseCtx, int nTopRed, int nTopGreen, int nTopBlue, int nBottomRed, int nBottomGreen, int nBottomBlue, BOOL bRedraw) ; +EIN_EXPORT BOOL __stdcall EgtSetMarkAttribs( int nGseCtx, int nRed, int nGreen, int nBlue) ; +EIN_EXPORT BOOL __stdcall EgtSetGeoLineAttribs( int nGseCtx, int nRed, int nGreen, int nBlue) ; +EIN_EXPORT BOOL __stdcall EgtSetWinRectAttribs( int nGseCtx, BOOL bOutline, int nRed, int nGreen, int nBlue, int nAlpha) ; EIN_EXPORT BOOL __stdcall EgtResize( int nGseCtx, int nW, int nH) ; EIN_EXPORT BOOL __stdcall EgtDraw( int nGseCtx) ; EIN_EXPORT BOOL __stdcall EgtSelect( int nGseCtx, int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel) ; EIN_EXPORT int __stdcall EgtGetFirstSelectedObj( int nGseCtx) ; EIN_EXPORT int __stdcall EgtGetNextSelectedObj( int nGseCtx) ; +EIN_EXPORT BOOL __stdcall EgtGetSelectedSnapPoint( int nGseCtx, int nSnap, int nWinX, int nWinY, int nSelW, int nSelH, + double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtSetShowMode( int nGseCtx, int nShowMode, BOOL bRedraw) ; -EIN_EXPORT BOOL __stdcall EgtSetShowCurveDirection( int nGseCtx, int nShow, BOOL bRedraw) ; +EIN_EXPORT int __stdcall EgtGetShowMode( int nGseCtx) ; +EIN_EXPORT BOOL __stdcall EgtSetShowCurveDirection( int nGseCtx, BOOL bShow, BOOL bRedraw) ; +EIN_EXPORT BOOL __stdcall EgtGetShowCurveDirection( int nGseCtx) ; EIN_EXPORT BOOL __stdcall EgtZoom( int nGseCtx, int nZoom, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtZoomOnPoint( int nGseCtx, int nWinX, int nWinY, double dCoeff, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtSetGeoLine( int nGseCtx, const double ptP1[3], const double ptP2[3], BOOL bRedraw) ; @@ -223,6 +230,7 @@ EIN_EXPORT BOOL __stdcall EgtPanCamera( int nGseCtx, int nPrevX, int nPrevY, int EIN_EXPORT BOOL __stdcall EgtRotateCamera( int nGseCtx, int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtGetCameraDir( int nGseCtx, int* pnDir) ; EIN_EXPORT BOOL __stdcall EgtUnProjectPoint( int nGseCtx, int nWinX, int nWinY, double ptP[3]) ; +EIN_EXPORT BOOL __stdcall EgtProjectPoint( int nGseCtx, const double ptP[3], double ptWin[3]) ; // Exchange EIN_EXPORT int __stdcall EgtGetFileType( const wchar_t* wsFilePath) ;