// This file may be redistributed and modified only under the terms of // the GNU General Public License (See COPYING for details). // Copyright (C) 2005 Alistair Riddoch #ifndef MERCATOR_AREASHADER_H #define MERCATOR_AREASHADER_H #include namespace Mercator { class Area; class AreaShader : public Shader { public: AreaShader(int layer); virtual void shade(Surface &s) const; virtual bool checkIntersect(const Segment &) const; private: /// helper to shader a single area into the surface void shadeArea(Surface& s, const Area* const s) const; int m_layer; }; } #endif // of MERCATOR_AREASHADER_H