+
+ %newobject CreatePen
+ virtual wxGraphicsPen* CreatePen(const wxPen& pen);
+
+ %newobject CreateBrush
+ virtual wxGraphicsBrush* CreateBrush(const wxBrush& brush );
+
+ %newobject CreateLinearGradientBrush
+ // sets the brush to a linear gradient, starting at (x1,y1) with color c1 to (x2,y2) with color c2
+ virtual wxGraphicsBrush* CreateLinearGradientBrush( wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2,
+ const wxColour&c1, const wxColour&c2);
+
+ %newobject CreateRadialGradientBrush
+ // sets the brush to a radial gradient originating at (xo,yc) with color oColor and ends on a circle around (xc,yc)
+ // with radius r and color cColor
+ virtual wxGraphicsBrush* CreateRadialGradientBrush( wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius,
+ const wxColour &oColor, const wxColour &cColor);
+
+ %newobject CreateFont
+ // sets the font
+ virtual wxGraphicsFont* CreateFont( const wxFont &font , const wxColour &col = *wxBLACK );
+