+
+class WXDLLEXPORT wxGraphicPath
+{
+public :
+ virtual ~wxGraphicPath() {}
+
+ virtual void MoveToPoint( wxCoord x1 , wxCoord y1 ) = 0 ;
+
+ virtual void AddLineToPoint( wxCoord x1 , wxCoord y1 ) = 0 ;
+
+ virtual void AddRectangle( wxCoord x, wxCoord y, wxCoord w, wxCoord h ) = 0 ;
+
+ virtual void AddCircle( wxCoord x, wxCoord y , wxCoord r ) = 0 ;
+
+ virtual void CloseSubpath() = 0 ;
+} ;
+
+class WXDLLEXPORT wxGraphicContext
+{
+public:
+ virtual ~wxGraphicContext() {}
+
+ virtual void Clip( const wxRegion ®ion ) = 0 ;
+
+ virtual void StrokePath( const wxGraphicPath *path ) = 0 ;
+
+ virtual void DrawPath( const wxGraphicPath *path , int fillStyle = wxWINDING_RULE ) = 0 ;
+
+ virtual void FillPath( const wxGraphicPath *path , const wxColor &fillColor , int fillStyle = wxWINDING_RULE ) = 0 ;
+
+ virtual void SetPen( const wxPen &pen ) = 0 ;
+
+ virtual void SetBrush( const wxBrush &brush ) = 0 ;
+
+ virtual wxGraphicPath* CreatePath() = 0 ;
+} ;
+