18 lines
264 B
C++
18 lines
264 B
C++
#ifndef PAINTER_H
|
|
#define PAINTER_H
|
|
|
|
#include <QPainter>
|
|
|
|
class Painter : public QPainter
|
|
{
|
|
public:
|
|
Painter(QPaintDevice *device, double ratio = 1);
|
|
|
|
void drawMarker(const QPoint ¢er, int radius = 8);
|
|
|
|
protected:
|
|
double ratio;
|
|
|
|
};
|
|
|
|
#endif // PAINTER_H
|