Problem
1. Set up an algorithm for displaying thick lines with either butt caps, round caps, or preleting square caps. These options can be provided in an option menu.
2. Devise an algorithm for displaying thick polylines with either a miter join, a round join. or a bevel join. These options can be provided in an option menu.
3. Implement pen and brush menu options for a line-drawing procedure, including at least two options: round and square shapes.