added %hooks to CGContext methods (prev commit didn’t work, this one doesn’t either)