Provide a utility function to ease the task of scaling assets exactly

Taken from the bounds test plugin.

When reviewing, please watch out for copy and paste errors, I made multiple of these during development. :)