Apply an affine transform to picture events when they are drawn
Do not scale events when serializing and parsing
Fix example issues