generalized shape drawing