// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2007 Carlos Licea // Copyright 2008 Inge Wallin // #ifndef MERCATORSCANLINETEXTUREMAPPER_H #define MERCATORSCANLINETEXTUREMAPPER_H #include "AbstractScanlineTextureMapper.h" namespace Marble { class MercatorScanlineTextureMapper : public AbstractScanlineTextureMapper { Q_OBJECT public: explicit MercatorScanlineTextureMapper( TileLoader *tileLoader, QObject *parent = 0 ); void mapTexture( ViewParams *viewParams ); private: float m_oldCenterLon; int m_oldYPaintedTop; }; } #endif