--- /dev/null
+//////////////////////////////////////////////////////\r
+// GDIPlusView.h\r
+\r
+#ifndef GDIPLUSVIEW_H\r
+#define GDIPLUSVIEW_H\r
+\r
+#include <objidl.h>\r
+#include <gdiplus.h>\r
+//#pragma comment (lib,"Gdiplus.lib")\r
+\r
+// Declaration of the CGDIPlusView class\r
+class CGDIPlusView : public CWnd\r
+{\r
+public:\r
+ CGDIPlusView();\r
+ virtual ~CGDIPlusView();\r
+\r
+ void DrawCappedLine(CDC* pDC);\r
+ void DrawGamaShapes(CDC* pDC);\r
+ void DrawGradientElipse(CDC* pDC);\r
+ void DrawSolidElipse(CDC* pDC);\r
+ void DrawSolidLine(CDC* pDC);\r
+ void DrawText(CDC* pDC);\r
+\r
+protected:\r
+ virtual void OnDraw(CDC* pDC);\r
+ virtual void OnInitialUpdate();\r
+ virtual void PreCreate(CREATESTRUCT &cs);\r
+ virtual void RegisterClass(WNDCLASS &wc);\r
+ virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
+\r
+private:\r
+ ULONG_PTR m_gdiplusToken;\r
+};\r
+\r
+\r
+#endif // GDIPLUSVIEW_H\r