bd5a266e9f
Work-in-progress, currently performance is sub-optimal (software rendering via QPainter API).
18 lines
293 B
C++
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
|