#include <QTeXEngine.h>
Public Types | |
Public Member Functions | |
| void | exportFontSizes (bool on=true) |
| Enables/Disables exporting of font sizes. | |
| virtual QPaintEngine * | paintEngine () const |
| QTeXPaintDevice (const QString &fileName, const QSize &s=QSize(), Unit u=pt) | |
| void | setColorMode (QPrinter::ColorMode mode) |
| Set color mode (Color or GrayScale). | |
| void | setDocumentMode (bool on=true) |
| Enables/Disables document tags. | |
| void | setEscapeTextMode (bool on=true) |
| Enables/Disables escaping of special characters in texts. | |
| void | setOutputMode (OutputMode mode) |
| Set output mode (Tikz or Pgf). | |
| void | setSize (const QSize &s) |
| Set size. | |
| void | setTextHorizontalAlignment (Qt::Alignment alignment) |
| Set horizontal alignment. | |
| void | setUnit (Unit u) |
| Set length unit. | |
| ~QTeXPaintDevice () | |
Protected Member Functions | |
| virtual int | metric (PaintDeviceMetric) const |
Private Attributes | |
| QSize | d_size |
| Size in pixels. | |
| QTeXPaintEngine * | engine |
| QTeXPaintDevice::QTeXPaintDevice | ( | const QString & | fileName, | |
| const QSize & | s = QSize(), |
|||
| Unit | u = pt | |||
| ) |
| QTeXPaintDevice::~QTeXPaintDevice | ( | ) |
References engine.
| void QTeXPaintDevice::exportFontSizes | ( | bool | on = true |
) |
Enables/Disables exporting of font sizes.
References engine, and QTeXPaintEngine::exportFontSizes().
| int QTeXPaintDevice::metric | ( | PaintDeviceMetric | metric | ) | const [protected, virtual] |
References d_size.
| QPaintEngine * QTeXPaintDevice::paintEngine | ( | ) | const [virtual] |
References engine.
| void QTeXPaintDevice::setColorMode | ( | QPrinter::ColorMode | mode | ) |
| void QTeXPaintDevice::setDocumentMode | ( | bool | on = true |
) |
| void QTeXPaintDevice::setEscapeTextMode | ( | bool | on = true |
) |
Enables/Disables escaping of special characters in texts.
References engine, and QTeXPaintEngine::setEscapeTextMode().
| void QTeXPaintDevice::setOutputMode | ( | OutputMode | mode | ) |
| void QTeXPaintDevice::setSize | ( | const QSize & | s | ) | [inline] |
| void QTeXPaintDevice::setTextHorizontalAlignment | ( | Qt::Alignment | alignment | ) |
| void QTeXPaintDevice::setUnit | ( | Unit | u | ) |
QSize QTeXPaintDevice::d_size [private] |
QTeXPaintEngine* QTeXPaintDevice::engine [private] |
1.5.8