Marble

TextureTile.cpp
1 /*
2 Copyright 2010 Jens-Michael Hoffmann <[email protected]>
3 
4 Copyright 2012 Ander Pijoan <[email protected]>
5 
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10 
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
15 
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #include "TextureTile.h"
21 #include "MarbleDebug.h"
22 
23 #include <limits>
24 
25 namespace Marble
26 {
27 
28 TextureTile::TextureTile( TileId const & tileId, QImage const & image, const Blending * blending )
29  : Tile( tileId ),
30  m_image( image ),
31  m_blending( blending )
32 {
33  Q_ASSERT( !image.isNull() );
34 }
35 
36 TextureTile::~TextureTile()
37 {
38 }
39 
40 }
41 
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-2020 The KDE developers.
Generated on Fri Jun 5 2020 22:32:26 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.