Marble

TextureTile.cpp
1/*
2 SPDX-FileCopyrightText: 2010 Jens-Michael Hoffmann <jmho@c-xx.com>
3 SPDX-FileCopyrightText: 2012 Ander Pijoan <ander.pijoan@deusto.es>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#include "TextureTile.h"
9#include "MarbleDebug.h"
10
11#include <limits>
12
13namespace Marble
14{
15
16TextureTile::TextureTile(TileId const &tileId, QImage const &image, const Blending *blending)
17 : Tile(tileId)
18 , m_image(image)
19 , m_blending(blending)
20{
21 Q_ASSERT(!image.isNull());
22}
23
24TextureTile::~TextureTile() = default;
25}
Binds a QML item to a specific geodetic location in screen coordinates.
bool isNull() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.