File indexing completed on 2024-04-21 03:49:37
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2013 Adrian Draghici <draghici.adrian.b@gmail.com> 0004 0005 #ifndef IMAGEF_H 0006 #define IMAGEF_H 0007 0008 #include <QImage> 0009 0010 namespace Marble 0011 { 0012 0013 class ImageF 0014 { 0015 0016 private: 0017 ImageF(); 0018 0019 public: 0020 /** 0021 * @brief Returns the color value of the result tile at a given floating point position. 0022 * @return The uint that describes the color value of the given pixel 0023 */ 0024 static uint pixelF( const QImage& image, qreal x, qreal y ); 0025 0026 }; 0027 0028 } 0029 0030 #endif