#1519 Shouldn't gfx.Brush be const?

dsav Tue 3 May 2011

Color, Gradient and Pattern are all const, but Brush itself is not. It may be inconvenient, e.g. it's not possible to make a static Brush field.

brian Tue 3 May 2011

That is just an over sight since Brush was written before we had const mixins. I pushed a fix. Thanks for pointing that out.

Login or Signup to reply.