pass dimension objects instead of separate parameters to symbol.draw