Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / classpath / native / jni / qt-peer / qtgraphics.h
blob5252897dbe22c756474910198adc41b9ce580381
1 #ifndef QTGRAPHICS_H
2 #define QTGRAPHICS_H
4 #include <jni.h>
5 #include <QPainter>
6 #include <QPaintDevice>
7 #include <QPen>
8 #include <QBrush>
10 class GraphicsPainter : public QPainter
12 public:
13 QPen *currentPen;
14 QBrush *currentBrush;
15 QColor *currentColor;
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 );
26 #endif