mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Compare commits
2 Commits
c033de5a84
...
6493d10930
Author | SHA1 | Date | |
---|---|---|---|
6493d10930 | |||
7c1ed27781 |
@ -197,9 +197,11 @@ 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;
|
||||||
QPointF pos = p.p->path->labelPos.isNull()
|
|
||||||
? centroid(p.p->pp) : ll2xy(p.p->path->labelPos);
|
|
||||||
|
|
||||||
|
QPainterPath rp;
|
||||||
|
rp.addRect(_rect);
|
||||||
|
QPointF pos = p.p->path->labelPos.isNull()
|
||||||
|
? centroid(p.p->pp & rp) : 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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user