#include "qt.h"
List of all members.
Public Member Functions |
| QtPLDriver (PLINT i_iWidth=QT_DEFAULT_X, PLINT i_iHeight=QT_DEFAULT_Y) |
virtual | ~QtPLDriver () |
void | setPLStream (PLStream *pls) |
virtual void | drawArc (short x, short y, short width, short height, PLFLT angle1, PLFLT angle2, PLFLT rotate, bool fill) |
virtual void | drawLine (short x1, short y1, short x2, short y2) |
virtual void | drawPolyline (short *x, short *y, PLINT npts) |
virtual void | drawPolygon (short *x, short *y, PLINT npts) |
virtual void | drawText (EscText *txt) |
virtual void | setColor (int r, int g, int b, double alpha) |
virtual void | setBackgroundColor (int r, int g, int b, double alpha) |
virtual void | setGradient (int x1, int x2, int y1, int y2, unsigned char *r, unsigned char *g, unsigned char *b, PLFLT *alpha, PLINT ncol1) |
virtual void | setWidth (PLINT w) |
virtual void | setSolid () |
Public Attributes |
double | downscale |
double | m_dWidth |
double | m_dHeight |
Static Public Attributes |
static QMutex | mutex |
Protected Member Functions |
QFont | getFont (PLUNICODE code) |
void | drawTextInPicture (QPainter *, const QString &) |
QPicture | getTextPicture (PLUNICODE fci, PLUNICODE *text, int len, PLFLT chrht) |
Protected Attributes |
bool | underlined |
bool | overlined |
double | currentFontScale |
double | currentFontSize |
double | yOffset |
double | xOffset |
PLStream * | pls |
QPainter * | m_painterP |
Detailed Description
Definition at line 117 of file qt.h.
Constructor & Destructor Documentation
QtPLDriver::QtPLDriver |
( |
PLINT |
i_iWidth = QT_DEFAULT_X , |
|
|
PLINT |
i_iHeight = QT_DEFAULT_Y | |
|
) |
| | |
QtPLDriver::~QtPLDriver |
( |
|
) |
[virtual] |
Member Function Documentation
void QtPLDriver::drawArc |
( |
short |
x, |
|
|
short |
y, |
|
|
short |
width, |
|
|
short |
height, |
|
|
PLFLT |
angle1, |
|
|
PLFLT |
angle2, |
|
|
PLFLT |
rotate, |
|
|
bool |
fill | |
|
) |
| | [virtual] |
void QtPLDriver::drawLine |
( |
short |
x1, |
|
|
short |
y1, |
|
|
short |
x2, |
|
|
short |
y2 | |
|
) |
| | [virtual] |
void QtPLDriver::drawPolygon |
( |
short * |
x, |
|
|
short * |
y, |
|
|
PLINT |
npts | |
|
) |
| | [virtual] |
void QtPLDriver::drawPolyline |
( |
short * |
x, |
|
|
short * |
y, |
|
|
PLINT |
npts | |
|
) |
| | [virtual] |
void QtPLDriver::drawText |
( |
EscText * |
txt |
) |
[virtual] |
void QtPLDriver::drawTextInPicture |
( |
QPainter * |
p, |
|
|
const QString & |
text | |
|
) |
| | [protected] |
QFont QtPLDriver::getFont |
( |
PLUNICODE |
code |
) |
[protected] |
virtual void QtPLDriver::setBackgroundColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
double |
alpha | |
|
) |
| | [inline, virtual] |
Definition at line 134 of file qt.h.
void QtPLDriver::setColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
double |
alpha | |
|
) |
| | [virtual] |
void QtPLDriver::setGradient |
( |
int |
x1, |
|
|
int |
x2, |
|
|
int |
y1, |
|
|
int |
y2, |
|
|
unsigned char * |
r, |
|
|
unsigned char * |
g, |
|
|
unsigned char * |
b, |
|
|
PLFLT * |
alpha, |
|
|
PLINT |
ncol1 | |
|
) |
| | [virtual] |
void QtPLDriver::setPLStream |
( |
PLStream * |
pls |
) |
|
void QtPLDriver::setSolid |
( |
|
) |
[virtual] |
void QtPLDriver::setWidth |
( |
PLINT |
w |
) |
[virtual] |
Member Data Documentation
Definition at line 157 of file qt.h.
Definition at line 158 of file qt.h.
Definition at line 142 of file qt.h.
Definition at line 143 of file qt.h.
Definition at line 143 of file qt.h.
Definition at line 164 of file qt.h.
Definition at line 144 of file qt.h.
Definition at line 156 of file qt.h.
Definition at line 162 of file qt.h.
Definition at line 155 of file qt.h.
Definition at line 160 of file qt.h.
Definition at line 159 of file qt.h.
The documentation for this class was generated from the following files: