OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [native/] [jni/] [qt-peer/] [qtgraphics.h] - Blame information for rev 774

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 774 jeremybenn
#ifndef QTGRAPHICS_H
2
#define QTGRAPHICS_H
3
 
4
#include <jni.h>
5
#include <QPainter>
6
#include <QPaintDevice>
7
#include <QPen>
8
#include <QBrush>
9
 
10
class GraphicsPainter : public QPainter
11
{
12
public:
13
  QPen *currentPen;
14
  QBrush *currentBrush;
15
  QColor *currentColor;
16
  GraphicsPainter(QPaintDevice *dev) : QPainter( dev )
17
  {
18
    currentPen = new QPen();
19
    currentBrush = new QBrush();
20
    currentColor = new QColor();
21
  }
22
};
23
 
24
GraphicsPainter *getPainter( JNIEnv *env, jobject obj );
25
 
26
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.