Code example for Paint

Methods: ascent, descent, measureText