general draw grid (based on graphicc rect boundaries