00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef FIXEDIMAGEOVERLAY_H
00027 #define FIXEDIMAGEOVERLAY_H
00028
00029 #include "imagepoint.h"
00030
00031 namespace qmapcontrol
00032 {
00033
00035
00042 class FixedImageOverlay : public ImagePoint
00043 {
00044 public:
00046
00058 FixedImageOverlay(qreal x_upperleft, qreal y_upperleft, qreal x_lowerright, qreal y_lowerright, QString filename, QString name = QString());
00059
00061
00070 FixedImageOverlay(qreal x_upperleft, qreal y_upperleft, qreal x_lowerright, qreal y_lowerright, QPixmap* pixmap, QString name = QString());
00071
00072 virtual void draw(QPainter* painter, const MapAdapter* mapadapter, const QRect &viewport, const QPoint offset);
00073 virtual ~FixedImageOverlay();
00074
00075 private:
00076 qreal x_lowerright;
00077 qreal y_lowerright;
00078 };
00079 }
00080 #endif