R=bradfitz CC=golang-dev http://codereview.appspot.com/6199043
Introduce MonochromePainter and GammaCorrectionPainter. R=r, rsc CC=golang-dev http://codereview.appspot.com/904041