6 #include <QPaintDevice>
10 class GraphicsPainter
: public QPainter
16 GraphicsPainter(QPaintDevice
*dev
) : QPainter( dev
)
18 currentPen
= new QPen();
19 currentBrush
= new QBrush();
20 currentColor
= new QColor();
24 GraphicsPainter
*getPainter( JNIEnv
*env
, jobject obj
);