Added pict and scaling support.
Merge pull request #3 from ianj/master

Added pict and scaling support.