1
0
Fork 0
flightgear/utils/fgqcanvas/fgcanvaspaintcontext.h
James Turner bd5a266e9f Qt-based remote canvas application.
Work-in-progress, currently performance is sub-optimal (software
rendering via QPainter API).
2016-12-17 14:24:28 +00:00

18 lines
293 B
C++

#ifndef FGCANVASPAINTCONTEXT_H
#define FGCANVASPAINTCONTEXT_H
#include <QPainter>
class FGCanvasPaintContext
{
public:
FGCanvasPaintContext(QPainter* painter);
QPainter* painter() const
{ return _painter; }
private:
QPainter* _painter;
};
#endif // FGCANVASPAINTCONTEXT_H