www.pudn.com > XvidQP.rar > CGraphView.h


#if !defined(AFX_CGRAPHVIEW_H__2D8E67E7_5FCA_45F7_9CD2_8D4B5485B005__INCLUDED_) 
#define AFX_CGRAPHVIEW_H__2D8E67E7_5FCA_45F7_9CD2_8D4B5485B005__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. 
 
///////////////////////////////////////////////////////////////////////////// 
// CGraphView wrapper class 
 
class CGraphView : public CWnd 
{ 
protected: 
	DECLARE_DYNCREATE(CGraphView) 
public: 
	CLSID const& GetClsid() 
	{ 
		static CLSID const clsid 
			= { 0x37573b5e, 0x2a9a, 0x4686, { 0x9c, 0xb7, 0x8d, 0x26, 0x11, 0xc4, 0x92, 0x72 } }; 
		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: 
	unsigned long GetForeColor(); 
	void SetForeColor(unsigned long); 
	long GetLineType(); 
	void SetLineType(long); 
	long GetLineWidth(); 
	void SetLineWidth(long); 
	unsigned long GetBackColor(); 
	void SetBackColor(unsigned long); 
 
// Operations 
public: 
	void Clear(); 
	void SetScale(double x1, double y1, double x2, double y2); 
	void LineTo(double x, double y); 
	void MoveTo(double x, double y); 
	void Multiline(long segments, double* xi, double* yi); 
	void DrawLine(double x1, double y1, double x2, double y2); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CGRAPHVIEW_H__2D8E67E7_5FCA_45F7_9CD2_8D4B5485B005__INCLUDED_)