#if !defined(AFX_LEADVEC_H__0523EF71_A814_49C0_83D4_62B6F1D83CDB__INCLUDED_) #define AFX_LEADVEC_H__0523EF71_A814_49C0_83D4_62B6F1D83CDB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. // Dispatch interfaces referenced by this interface class CLEADVectorObject; ///////////////////////////////////////////////////////////////////////////// // CLEADVector wrapper class class CLEADVector : public CWnd { protected: DECLARE_DYNCREATE(CLEADVector) public: CLSID const& GetClsid() { static CLSID const clsid = { 0x130600, 0xb1ba, 0x11ce, { 0xab, 0xc6, 0xf5, 0xb2, 0xe7, 0x9d, 0x9e, 0x3f } }; return clsid; } virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL) { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); } BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CFile* pPersist = NULL, BOOL bStorage = FALSE, BSTR bstrLicKey = NULL) { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID, pPersist, bStorage, bstrLicKey); } // Attributes public: // Operations public: void SetBackColor(unsigned long newValue); unsigned long GetBackColor(); void SetBorderStyle(long nNewValue); long GetBorderStyle(); long GetWindow(); void SetAppearance(long nNewValue); long GetAppearance(); void SetMousePointer(long nNewValue); long GetMousePointer(); void SetMouseIcon(LPDISPATCH newValue); LPDISPATCH GetMouseIcon(); BOOL GetEnableMethodErrors(); void SetEnableMethodErrors(BOOL bNewValue); void UnlockSupport(short iType, LPCTSTR pszKey); long IsSupportLocked(short iType); BOOL GetBackErase(); void SetBackErase(BOOL bNewValue); short GetPolygonMode(); void SetPolygonMode(short nNewValue); short GetVectorEngine(); void SetVectorEngine(short nNewValue); BOOL GetAutoRepaint(); void SetAutoRepaint(BOOL bNewValue); short GetViewMode(); void SetViewMode(short nNewValue); BOOL GetUseLights(); void SetUseLights(BOOL bNewValue); double GetViewportLeft(); void SetViewportLeft(double newValue); double GetViewportTop(); void SetViewportTop(double newValue); double GetViewportWidth(); void SetViewportWidth(double newValue); double GetViewportHeight(); void SetViewportHeight(double newValue); double GetCameraTheta(); void SetCameraTheta(double newValue); double GetCameraPhi(); void SetCameraPhi(double newValue); BOOL GetStopEnum(); void SetStopEnum(BOOL bNewValue); short Load(LPCTSTR pszFilename); short Save(LPCTSTR pszFilename, short nFormat); long GetVector(); void SetVector(long nNewValue); BOOL Is3D(); short EnumVertices(short nFlag); CLEADVectorObject GetCurrentObject(); long ConvertToEMFHandle(long lLeft, long lTop, long lRight, long lBottom, long nDPI); LPDISPATCH ConvertToEMFPicture(long lLeft, long lTop, long lRight, long lBottom, long nDPI); short ConvertFromEMFHandle(long hEMF); short ConvertFromEMFPicture(LPDISPATCH pEMFPicture); long ConvertToWMFHandle(long lLeft, long lTop, long lRight, long lBottom, long nDPI); LPDISPATCH ConvertToWMFPicture(long lLeft, long lTop, long lRight, long lBottom, long nDPI); short ConvertFromWMFHandle(long hWMF); short ConvertFromWMFPicture(LPDISPATCH pWMFPicture); double GetTranslationX(); double GetTranslationY(); double GetTranslationZ(); short SetTranslation(double fTranslationX, double fTranslationY, double fTranslationZ, short nFlag); double GetRotationX(); double GetRotationY(); double GetRotationZ(); short SetRotation(double fRotationX, double fRotationY, double fRotationZ, double fOriginX, double fOriginY, double fOriginZ, BOOL bUseOrigin, short nFlag); double GetScalingX(); double GetScalingY(); double GetScalingZ(); short SetScaling(double fScalingX, double fScalingY, double fScalingZ, double fOriginX, double fOriginY, double fOriginZ, BOOL bUseOrigin, short nFlag); void ForceRepaint(); short Realize(long Bitmap, BOOL bEraseBkgnd); BOOL HitTest(double X, double Y); unsigned long GetAmbientColor(); void SetAmbientColor(unsigned long newValue); void Reset(long nFlag); void Free(); void SelectAllObjects(BOOL bSelected); BOOL IsAnObjectSelected(); short EnumObjects(short nFlag); short DeleteObjects(short nFlag); double GetObjectParallelogramLeftTopX(); double GetObjectParallelogramLeftTopY(); double GetObjectParallelogramLeftTopZ(); double GetObjectParallelogramRightBottomX(); double GetObjectParallelogramRightBottomY(); double GetObjectParallelogramRightBottomZ(); short GetObjectsParallelogram(short nFlag); double GetObjectRectLeft(); double GetObjectRectTop(); double GetObjectRectWidth(); double GetObjectRectHeight(); short GetObjectsRect(short nFlag); double GetRotationDlgX(); void SetRotationDlgX(double newValue); double GetRotationDlgY(); void SetRotationDlgY(double newValue); double GetRotationDlgZ(); void SetRotationDlgZ(double newValue); short ShowRotateDlg(long uFlags); short GetVertexBindMode(); void SetVertexBindMode(short nNewValue); BOOL GetUseDoubleBuffer(); void SetUseDoubleBuffer(BOOL bNewValue); double GetScaleDlgX(); void SetScaleDlgX(double newValue); double GetScaleDlgY(); void SetScaleDlgY(double newValue); double GetScaleDlgZ(); void SetScaleDlgZ(double newValue); short ShowScaleDlg(long uFlags); double GetTranslateDlgX(); void SetTranslateDlgX(double newValue); double GetTranslateDlgY(); void SetTranslateDlgY(double newValue); double GetTranslateDlgZ(); void SetTranslateDlgZ(double newValue); short ShowTranslateDlg(long uFlags); double GetCameraDlgTheta(); void SetCameraDlgTheta(double newValue); double GetCameraDlgPhi(); void SetCameraDlgPhi(double newValue); short ShowCameraDlg(long uFlags); short LoadMemory(long hMem, long lSize); short SaveMemory(long* phMem, short nFormat, long* plSize); short LoadArray(VARIANT* pvMem, long lSize); VARIANT SaveArray(short nFormat); long ArraySize(VARIANT* pvMem); BOOL GetAutoScroll(); void SetAutoScroll(BOOL bNewValue); long GetPanX(); void SetPanX(long nNewValue); long GetPanY(); void SetPanY(long nNewValue); short StartFeedLoad(); short StopFeedLoad(); short FeedLoad(VARIANT* pvMem, long lSize); short LogicalToPhysical(double fLogX, double fLogY, double fLogZ); double GetPhysicalX(); double GetPhysicalY(); short ApplyTransformation(); CString GetDlgString(long nString); short SetDlgString(long nString, LPCTSTR pszString); LPDISPATCH GetDlgFont(); void SetDlgFont(LPDISPATCH newValue); short GetPreferredLoadFormat(); void SetPreferredLoadFormat(short nNewValue); CString GetVectorDataPath(); void SetVectorDataPath(LPCTSTR lpszNewValue); double GetCameraLookAtX(); void SetCameraLookAtX(double newValue); double GetCameraLookAtY(); void SetCameraLookAtY(double newValue); double GetCameraLookAtZ(); void SetCameraLookAtZ(double newValue); double GetCameraDistance(); void SetCameraDistance(double newValue); BOOL GetCameraUsePerspective(); void SetCameraUsePerspective(BOOL bNewValue); long GetCopyFlags(); void SetCopyFlags(long nNewValue); short Empty(); BOOL IsEmpty(); BOOL GetLocked(); void SetLocked(BOOL bNewValue); double GetOriginX(); void SetOriginX(double newValue); double GetOriginY(); void SetOriginY(double newValue); double GetOriginZ(); void SetOriginZ(double newValue); long GetMarkerPenStyle(); void SetMarkerPenStyle(long nNewValue); long GetMarkerPenWidth(); void SetMarkerPenWidth(long nNewValue); unsigned long GetMarkerPenColor(); void SetMarkerPenColor(unsigned long newValue); long GetMarkerBrushStyle(); void SetMarkerBrushStyle(long nNewValue); unsigned long GetMarkerBrushColor(); void SetMarkerBrushColor(unsigned long newValue); long GetMarkerBrushHatch(); void SetMarkerBrushHatch(long nNewValue); long GetHitTestFlags(); void SetHitTestFlags(long nNewValue); long GetHitTestDistance(); void SetHitTestDistance(long nNewValue); BOOL ClipboardReady(); short Copy(long nFlags); short Paste(long nFlags); short AddLayer(LPCTSTR pszName, BOOL bVisible, BOOL bLocked, long nUserTag, long nFlags); long GetLayerCount(); LPDISPATCH GetLayerByName(LPCTSTR pszName); LPDISPATCH GetLayerByIndex(long nIndex); LPDISPATCH GetActiveLayer(); short CopyLayer(long nLayerDstIndex, long hVectorSrc, long nLayerSrcIndex, short nFlags); short EnumLayers(); CLEADVectorObject AddNewObject(long ObjectType); short CopyObject(long hObjectSrc, long hVectorSrc, long nLayerDstIndex); double GetParallelogramMinX(); void SetParallelogramMinX(double newValue); double GetParallelogramMinY(); void SetParallelogramMinY(double newValue); double GetParallelogramMinZ(); void SetParallelogramMinZ(double newValue); double GetParallelogramMaxX(); void SetParallelogramMaxX(double newValue); double GetParallelogramMaxY(); void SetParallelogramMaxY(double newValue); double GetParallelogramMaxZ(); void SetParallelogramMaxZ(double newValue); short ExplodeObjects(long nFlag); BOOL IsObjectsInsideRect(double fLeft, double fTop, double fWidth, double fHeight, short nFlag); BOOL IsObjectsInsideParallelogram(double x1, double y1, double z1, double x2, double y2, double z2, short nFlag); double GetRotationDlgOriginX(); void SetRotationDlgOriginX(double newValue); double GetRotationDlgOriginY(); void SetRotationDlgOriginY(double newValue); double GetRotationDlgOriginZ(); void SetRotationDlgOriginZ(double newValue); double GetScaleDlgOriginX(); void SetScaleDlgOriginX(double newValue); double GetScaleDlgOriginY(); void SetScaleDlgOriginY(double newValue); double GetScaleDlgOriginZ(); void SetScaleDlgOriginZ(double newValue); BOOL GetRenderDlgUseLights(); void SetRenderDlgUseLights(BOOL bNewValue); unsigned long GetRenderDlgAmbientColor(); void SetRenderDlgAmbientColor(unsigned long newValue); short GetRenderDlgPolygonMode(); void SetRenderDlgPolygonMode(short nNewValue); short ShowRenderDlg(long uFlags); short GetViewModeDlgViewMode(); void SetViewModeDlgViewMode(short nNewValue); short ShowViewModeDlg(long uFlags); long GetHitTestDlgFlags(); void SetHitTestDlgFlags(long nNewValue); long GetHitTestDlgDistance(); void SetHitTestDlgDistance(long nNewValue); short ShowHitTestDlg(long uFlags); short ShowEditAllLayersDlg(long uFlags); CString GetNewLayerDlgName(); void SetNewLayerDlgName(LPCTSTR lpszNewValue); BOOL GetNewLayerDlgVisible(); void SetNewLayerDlgVisible(BOOL bNewValue); BOOL GetNewLayerDlgLocked(); void SetNewLayerDlgLocked(BOOL bNewValue); long GetNewLayerDlgUserTag(); void SetNewLayerDlgUserTag(long nNewValue); BOOL GetNewLayerDlgActiveLayer(); void SetNewLayerDlgActiveLayer(BOOL bNewValue); short ShowNewLayerDlg(long uFlags); BOOL GetEditLayerDlgActiveLayer(); void SetEditLayerDlgActiveLayer(BOOL bNewValue); short ShowEditLayerDlg(long nLayerIndex); short ShowNewObjectDlg(long ObjectType, long nLayerIndex); short ShowEditObjectDlg(long hObject); double GetCameraDlgLookAtX(); void SetCameraDlgLookAtX(double newValue); double GetCameraDlgLookAtY(); void SetCameraDlgLookAtY(double newValue); double GetCameraDlgLookAtZ(); void SetCameraDlgLookAtZ(double newValue); double GetCameraDlgDistance(); void SetCameraDlgDistance(double newValue); BOOL GetCameraDlgUsePerspective(); void SetCameraDlgUsePerspective(BOOL bNewValue); short PhysicalToLogical(double fPhyX, double fPhyY); double GetLogicalX(); double GetLogicalY(); double GetLogicalZ(); long GetUndoLevel(); void SetUndoLevel(long nNewValue); BOOL CanUndo(); BOOL CanRedo(); short Undo(long nFlags); short Redo(long nFlags); short AutoCut(long nFlags); short AutoCopy(long nFlags); short AutoPaste(long nFlags); short AutoDelete(long nFlags); short AutoRender(long nFlags); short AutoSelect(long Selection, long nFlags); LPDISPATCH GetToolbarControl(); void SetToolbarControl(LPDISPATCH newValue); LPDISPATCH GetAutoContainer(); long GetVectorUserMode(); void SetVectorUserMode(long nNewValue); LPDISPATCH GetAutomationProps(); short AutoEditObject(long hObject); double GetAutoPointX(long nIndex); double GetAutoPointY(long nIndex); double GetAutoPointZ(long nIndex); long GetAutoPointCount(); double GetAutoRadius(); double GetAutoStartAngle(); double GetAutoSweepAngle(); CString GetAutoString(); long GetAutoStringLeft(); long GetAutoStringTop(); long GetAutoStringWidth(); long GetAutoStringHeight(); long PrintStart(); void PrintEnd(long hDC); short Render(long hDC, long nLeft, long nTop, long nWidth, long nHeight); short EnableUndo(BOOL bEnable); short AddUndoNode(long nFlags); short VectorEvent(short nEvent, short nStatus); short AddGroup(LPCTSTR pszName, long nUserTag, long nFlags); short CopyGroup(long nGroupDstIndex, long hVectorSrc, long nGroupSrcIndex, short nFlags); LPDISPATCH GetGroupByName(LPCTSTR pszName); LPDISPATCH GetGroupByIndex(long nIndex); long GetGroupCount(); short EnumGroups(); short ShowEditAllGroupsDlg(long uFlags); CString GetNewGroupDlgName(); void SetNewGroupDlgName(LPCTSTR lpszNewValue); long GetNewGroupDlgUserTag(); void SetNewGroupDlgUserTag(long nNewValue); short ShowNewGroupDlg(long uFlags); short ShowEditGroupDlg(long nGroupIndex); BOOL IsAnObjectHidden(); short ZoomRect(long lLeft, long lTop, long lRight, long lBottom); BOOL GetEnableHelp(); void SetEnableHelp(BOOL bNewValue); BOOL GetEnableDlgHelpButton(); void SetEnableDlgHelpButton(BOOL bNewValue); void InvertColors(); long GetClipMode(); void SetClipMode(long nNewValue); BOOL GetRenderTextAsCurves(); void SetRenderTextAsCurves(BOOL bNewValue); long GetAntiAliasingThreshold(); void SetAntiAliasingThreshold(long nNewValue); long GetAntiAliasingDim(); void SetAntiAliasingDim(long nNewValue); long GetAntiAliasingFilter(); void SetAntiAliasingFilter(long nNewValue); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LEADVEC_H__0523EF71_A814_49C0_83D4_62B6F1D83CDB__INCLUDED_)