text positioning
factor out rectangle and text rendering in Drawing