public void AddColorStop(object backend, double position, Xwt.Drawing.Color color) { Cairo.Gradient g = (Cairo.Gradient) backend; g.AddColorStop (position, color.ToCairoColor ()); }