|
QTeXEngine 0.2
|
#include <QTeXEngine.h>
Public Types | |
| enum | OutputMode { Tikz , Pgf } |
| enum | Unit { pt , bp , mm , cm , in , ex , em } |
Public Member Functions | |
| void | exportFontSizes (bool on=true) |
| Enables/Disables exporting of font sizes. More... | |
| 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) More... | |
| void | setDocumentMode (bool on=true) |
| Enables/Disables document tags. More... | |
| void | setEscapeTextMode (bool on=true) |
| Enables/Disables escaping of special characters in texts. More... | |
| void | setOutputMode (OutputMode mode) |
| Set output mode (Tikz or Pgf) More... | |
| void | setSize (const QSize &s) |
| Set size. More... | |
| void | setTextHorizontalAlignment (Qt::Alignment alignment) |
| Set horizontal alignment. More... | |
| void | setUnit (Unit u) |
| Set length unit. More... | |
| ~QTeXPaintDevice () | |
Protected Member Functions | |
| virtual int | metric (PaintDeviceMetric) const |
Private Attributes | |
| QSize | d_size |
| Size in pixels. More... | |
| QTeXPaintEngine * | engine |
| QTeXPaintDevice::~QTeXPaintDevice | ( | ) |
References engine.
| void QTeXPaintDevice::exportFontSizes | ( | bool | on = true | ) |
Enables/Disables exporting of font sizes.
References engine, and QTeXPaintEngine::exportFontSizes().
|
protectedvirtual |
|
virtual |
References engine.
| void QTeXPaintDevice::setColorMode | ( | QPrinter::ColorMode | mode | ) |
Set color mode (Color or GrayScale)
References engine, and QTeXPaintEngine::setGrayScale().
| void QTeXPaintDevice::setDocumentMode | ( | bool | on = true | ) |
Enables/Disables document tags.
References engine, and QTeXPaintEngine::setDocumentMode().
| void QTeXPaintDevice::setEscapeTextMode | ( | bool | on = true | ) |
Enables/Disables escaping of special characters in texts.
References engine, and QTeXPaintEngine::setEscapeTextMode().
| void QTeXPaintDevice::setOutputMode | ( | OutputMode | mode | ) |
Set output mode (Tikz or Pgf)
References engine, and QTeXPaintEngine::setOutputMode().
|
inline |
Set size.
References d_size.
| void QTeXPaintDevice::setTextHorizontalAlignment | ( | Qt::Alignment | alignment | ) |
Set horizontal alignment.
References engine, and QTeXPaintEngine::setTextHorizontalAlignment().
| void QTeXPaintDevice::setUnit | ( | Unit | u | ) |
Set length unit.
References engine, and QTeXPaintEngine::setUnit().
|
private |
Size in pixels.
Referenced by metric(), QTeXPaintDevice(), and setSize().
|
private |