This implements drawing the line endings for 2 point lines in non-PDF documents.
Implemented:
- Square, Diamond, OpenArrow, ClosedArrow, ROpenArrow, RClosedArrow, Butt, Slash
- for start and stop style (start can't be configured in GUI yet)
- filled or not (fill color can't be configured in GUI yet)
- with or without leader line
TODO:
- Circle, Butt, Slash
-- shorten main segment
TODO:
- Is there an existing class for affien matrix operations?- Circle
If so, reuse it instead of implementing it again.- Expose `LineAnnotPainter` so that it can be reused to generate preview icons
- What about multiline annotations?