Comment Actions
Currently the house numbers are drawn as part of the building rendering. This results in expensive pen/brush/state changes and should be avoided.
The current idea is to draw all housenumbers in a batch using QPainter::drawPixmapFragments(). This could be done by:
- passing the housenumber + x + y (+ color + fontsize) to an UnLayoutedLabeler instance which creates matching pixmaps of the labels, stores them in a QPixmapCache
- have all label pixmaps painted in a batch using QPainter::drawPixmapFragments.