1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Compare commits

..

No commits in common. "6493d109304534a9df3898acfad47a0fd3404430" and "c033de5a840fe7da65925ca8fd47cf48d6bee3a4" have entirely different histories.

View File

@ -197,11 +197,9 @@ void RasterTile::processAreaLabels(const QVector<PainterPath> &paths,
const QFont *font = p.ti ? &p.ti->font() : 0; const QFont *font = p.ti ? &p.ti->font() : 0;
const QColor *color = p.ti ? &p.ti->fillColor() : 0; const QColor *color = p.ti ? &p.ti->fillColor() : 0;
const QColor *hColor = p.ti ? haloColor(p.ti) : 0; const QColor *hColor = p.ti ? haloColor(p.ti) : 0;
QPainterPath rp;
rp.addRect(_rect);
QPointF pos = p.p->path->labelPos.isNull() QPointF pos = p.p->path->labelPos.isNull()
? centroid(p.p->pp & rp) : ll2xy(p.p->path->labelPos); ? centroid(p.p->pp) : ll2xy(p.p->path->labelPos);
if (p.ti && p.lbl && set.contains(*p.lbl)) if (p.ti && p.lbl && set.contains(*p.lbl))
continue; continue;