|
PLplot
5.10.0
|
#include "qt.h"
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, int, int, double) |
| 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 | setWidthF (PLFLT 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 |
| QtPLDriver::QtPLDriver | ( | PLINT | i_iWidth = QT_DEFAULT_X, |
| PLINT | i_iHeight = QT_DEFAULT_Y |
||
| ) |
| QtPLDriver::~QtPLDriver | ( | ) | [virtual] |
| void QtPLDriver::drawArc | ( | short | x, |
| short | y, | ||
| short | width, | ||
| short | height, | ||
| PLFLT | angle1, | ||
| PLFLT | angle2, | ||
| PLFLT | rotate, | ||
| bool | fill | ||
| ) | [virtual] |
Reimplemented in QtPLWidget.
| void QtPLDriver::drawLine | ( | short | x1, |
| short | y1, | ||
| short | x2, | ||
| short | y2 | ||
| ) | [virtual] |
Reimplemented in QtPLWidget.
| void QtPLDriver::drawPolygon | ( | short * | x, |
| short * | y, | ||
| PLINT | npts | ||
| ) | [virtual] |
Reimplemented in QtPLWidget.
| void QtPLDriver::drawPolyline | ( | short * | x, |
| short * | y, | ||
| PLINT | npts | ||
| ) | [virtual] |
Reimplemented in QtPLWidget.
| void QtPLDriver::drawText | ( | EscText * | txt | ) | [virtual] |
Reimplemented in QtPLWidget.
| void QtPLDriver::drawTextInPicture | ( | QPainter * | p, |
| const QString & | text | ||
| ) | [protected] |
| QFont QtPLDriver::getFont | ( | PLUNICODE | code | ) | [protected] |
| QPicture QtPLDriver::getTextPicture | ( | PLUNICODE | fci, |
| PLUNICODE * | text, | ||
| int | len, | ||
| PLFLT | chrht | ||
| ) | [protected] |
| virtual void QtPLDriver::setBackgroundColor | ( | int | , |
| int | , | ||
| int | , | ||
| double | |||
| ) | [inline, virtual] |
Reimplemented in QtPLWidget, QtEPSDevice, and QtRasterDevice.
| void QtPLDriver::setColor | ( | int | r, |
| int | g, | ||
| int | b, | ||
| double | alpha | ||
| ) | [virtual] |
Reimplemented in QtPLWidget.
| 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] |
Reimplemented in QtPLWidget.
| void QtPLDriver::setPLStream | ( | PLStream * | pls | ) |
| void QtPLDriver::setSolid | ( | ) | [virtual] |
| void QtPLDriver::setWidthF | ( | PLFLT | w | ) | [virtual] |
Reimplemented in QtPLWidget.
double QtPLDriver::currentFontScale [protected] |
double QtPLDriver::currentFontSize [protected] |
| double QtPLDriver::downscale |
| double QtPLDriver::m_dHeight |
| double QtPLDriver::m_dWidth |
QPainter* QtPLDriver::m_painterP [protected] |
QMutex QtPLDriver::mutex [static] |
bool QtPLDriver::overlined [protected] |
PLStream* QtPLDriver::pls [protected] |
bool QtPLDriver::underlined [protected] |
double QtPLDriver::xOffset [protected] |
double QtPLDriver::yOffset [protected] |