示例#1
0
		public override void Draw(IColor color, Geometry2D.Single.Box region)
		{
			GL.Disable(OpenTK.Graphics.OpenGL.EnableCap.Texture2D);
			Color.Bgra bgra = color.Convert<Color.Bgra>();
			GL.Color4(bgra.Red, bgra.Green, bgra.Blue, bgra.Alpha);
			this.CreateRectangle(region);
		}