Marble

SunLightBlending.h
1// SPDX-FileCopyrightText: 2010 Jens-Michael Hoffmann <jmho@c-xx.com>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef MARBLE_SUN_LIGHT_BLENDING_H
6#define MARBLE_SUN_LIGHT_BLENDING_H
7
8#include <QtGlobal>
9
10#include "Blending.h"
11
12namespace Marble
13{
14
15class SunLocator;
16
17class SunLightBlending : public Blending
18{
19public:
20 explicit SunLightBlending(const SunLocator *sunLocator);
21 ~SunLightBlending() override;
22 void blend(QImage *const bottom, TextureTile const *const top) const override;
23
24 void setLevelZeroLayout(int levelZeroColumns, int levelZeroRows);
25
26private:
27 static int maxDivisor(int maximum, int fullLength);
28 const SunLocator *const m_sunLocator;
29 int m_levelZeroColumns;
30 int m_levelZeroRows;
31};
32
33}
34
35#endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.