implementations of canvas scaling and interpolation methods