simple visitor pattern to figure drawing