Skip to content
Commit 9e11b578 authored by Torsten Rahn's avatar Torsten Rahn Committed by Torsten Rahn
Browse files

configurePainter refactoring:

The intent of the previous implementation had been mudded and was
undocumented. For better optimization and maintenance the
configurePainter method is split into three variants:
configureForOutlinePainter, configureForInlinePainter and configureForLabelPainter.
The code is documented and optimized.

TODO:
1. move the save() and restore() methods out of the individual
calls to embrace all calls of outline, inline and label painting.
2. refactor the drawLabelForPolyline method rely on fontsize
rather than taking a full Pen.
parent ef5c0ba8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment