Labeling Lines, Curves, and Polylines