It would be useful to have an EmptyPainter that does no painting.
There may be API methods that would benefit from returning an EmptyPainter as
opposed to null. It also would allow us to ensure that certain properties are
never null, by replacing nulls with EmptyPainter. This can make the APIs more
defensive and protected.