add example for scaling with drawing layers

There does not seem to be any documentation for scaling an image with drawing
layers. This adds an example for one method.