Drawing and handling figures