func setColor(cr *cairo.Context, color *Color) { cr.SetSourceRGB(float64(color.R)/0xff, float64(color.G)/0xff, float64(color.B)/0xff) }
func (w *Window) Draw(cr *cairo.Context) { cr.SetSourceRGB(1, 1, 1) cr.Paint() w.View.Draw(cr) }