Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / GDIPlus / src / GDIPlusView.h
1 //////////////////////////////////////////////////////\r
2 // GDIPlusView.h\r
3 \r
4 #ifndef GDIPLUSVIEW_H\r
5 #define GDIPLUSVIEW_H\r
6 \r
7 #include <objidl.h>\r
8 #include <gdiplus.h>\r
9 //#pragma comment (lib,"Gdiplus.lib")\r
10 \r
11 // Declaration of the CGDIPlusView class\r
12 class CGDIPlusView : public CWnd\r
13 {\r
14 public:\r
15         CGDIPlusView();\r
16         virtual ~CGDIPlusView();\r
17 \r
18         void DrawCappedLine(CDC* pDC);\r
19         void DrawGamaShapes(CDC* pDC);\r
20         void DrawGradientElipse(CDC* pDC);\r
21         void DrawSolidElipse(CDC* pDC);\r
22         void DrawSolidLine(CDC* pDC);\r
23         void DrawText(CDC* pDC);\r
24 \r
25 protected:\r
26         virtual void OnDraw(CDC* pDC);\r
27         virtual void OnInitialUpdate();\r
28         virtual void PreCreate(CREATESTRUCT &cs);\r
29         virtual void RegisterClass(WNDCLASS &wc);\r
30         virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
31 \r
32 private:\r
33         ULONG_PTR       m_gdiplusToken;\r
34 };\r
35 \r
36 \r
37 #endif // GDIPLUSVIEW_H\r

UCC git Repository :: git.ucc.asn.au