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{
19 public:
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
26 private:
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 Tue Mar 26 2024 11:18:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.