Recently I am developing a drawing function, the user will generate some controls, drag them, and change the size, and save his completed work as a configuration file.