• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
TextureTile.cpp
Go to the documentation of this file.
1 /*
2 Copyright 2010 Jens-Michael Hoffmann <jmho@c-xx.com>
3 
4 Copyright 2012 Ander Pijoan <ander.pijoan@deusto.es>
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 #include <QString>
26 
27 namespace Marble
28 {
29 
30 TextureTile::TextureTile( TileId const & tileId, QImage const & image, const Blending * blending )
31  : Tile( tileId ),
32  m_image( image ),
33  m_blending( blending )
34 {
35  Q_ASSERT( !image.isNull() );
36 }
37 
38 TextureTile::~TextureTile()
39 {
40 }
41 
42 }
43 
Marble::Blending
Definition: Blending.h:25
TextureTile.h
QImage::isNull
bool isNull() const
MarbleDebug.h
QImage
Marble::TileId
Definition: TileId.h:27
Marble::TextureTile::TextureTile
TextureTile(TileId const &tileId, QImage const &image, const Blending *blending)
Definition: TextureTile.cpp:30
Marble::TextureTile::~TextureTile
~TextureTile()
Definition: TextureTile.cpp:38
Marble::Tile
A class that resembles a tile (then it is extended to TextureTile or Vectortile). ...
Definition: Tile.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal