1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-10 03:53:02 +02:00

Compare commits

..

No commits in common. "26d2403fc03fe1605f93b1756d76732711251ffe" and "0a281f8ca8a72269391e0516b73b3d5bea57c880" have entirely different histories.

3 changed files with 4 additions and 6 deletions

View File

@ -396,7 +396,6 @@ void RasterTile::render()
//painter.setPen(Qt::red);
//painter.setBrush(Qt::NoBrush);
//painter.setRenderHint(QPainter::Antialiasing, false);
//painter.drawRect(QRect(_rect.topLeft(), _pixmap.size()));
_valid = true;

View File

@ -345,8 +345,7 @@ QString ENCAtlas::key(int zoom, const QPoint &xy) const
void ENCAtlas::draw(QPainter *painter, const QRectF &rect, Flags flags)
{
AtlasData *data = _data.value(_usage);
Range zr(zooms(_usage));
Q_UNUSED(flags);
QPointF tl(floor(rect.left() / TILE_SIZE) * TILE_SIZE,
floor(rect.top() / TILE_SIZE) * TILE_SIZE);
QSizeF s(rect.right() - tl.x(), rect.bottom() - tl.y());
@ -366,8 +365,8 @@ void ENCAtlas::draw(QPainter *painter, const QRectF &rect, Flags flags)
painter->drawPixmap(ttl, pm);
else
tiles.append(RasterTile(_projection, _transform, _style,
data, _zoom, zr, QRect(ttl, QSize(TILE_SIZE, TILE_SIZE)),
_tileRatio));
_data.value(_usage), _zoom, zooms(_usage),
QRect(ttl, QSize(TILE_SIZE, TILE_SIZE)), _tileRatio));
}
}

View File

@ -109,7 +109,7 @@ void TextPointItem::paint(QPainter *painter) const
}
//painter->setPen(Qt::red);
//painter->setBrush(Qt::NoBrush);
//painter.setBrush(Qt::NoBrush);
//painter->setRenderHint(QPainter::Antialiasing, false);
//painter->drawRect(_rect);
}