It is not difficult.
You simply have to change the setscale according the new canvas size, that are 2 simple calculations (width / original_width , height / original_height)
Can't see why this should be a problem as it is a regular state setting.
You simply have to change the setscale according the new canvas size, that are 2 simple calculations (width / original_width , height / original_height)
Can't see why this should be a problem as it is a regular state setting.