Write part of GUI form
part of functions scale to ImageScrollPane size and rotate