configurePainter refactoring: The intent of the previous implementation had…

Authored by rahn on Nov 12 2016, 12:39 PM.

Description

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.

  1. refactor the drawLabelForPolyline method rely on fontsize

rather than taking a full Pen.

Details

Committed
rahnNov 12 2016, 10:41 PM
Parents
R34:ef5c0ba82c51: Stars and coordinate grid in low zoom, adjust colors. F-up to 0db4ede.
Branches
Unknown
Tags
Unknown