add horizontal and vertical lines in stroke drawing