#include <cstdio>#include <iostream>#include <QtCore>#include <QtXml>#include <QApplication>#include <QFontDatabase>#include <QImage>#include <QPainter>#include <QPrinter>#include <QRegExp>#include "octave-qsvghandler.h"
Go to the source code of this file.
Classes | |
| class | octave_polygon |
| class | pdfpainter |
Functions | |
| void | add_custom_properties (QDomElement &parent_elt) |
| void | draw (QDomElement &parent_elt, pdfpainter &painter) |
| QString | get_field (QString str, QString field) |
| int | main (int argc, char **argv) |
| QVector< QPointF > | qstr2ptsvector (QString str) |
| QVector< QPoint > | qstr2ptsvectord (QString str) |
| QVector< double > | qstr2vectord (QString str) |
| QVector< double > | qstr2vectorf (QString str) |
| void | reconstruct_polygons (QDomElement &parent_elt, int reconstruct_level) |
| void | replace_polygons (QDomElement &parent_elt, QList< QDomNode > orig, QList< QPolygonF > polygons) |
| void add_custom_properties | ( | QDomElement & | parent_elt | ) |
Definition at line 835 of file octave-svgconvert.cc.
Referenced by main().
| void draw | ( | QDomElement & | parent_elt, |
| pdfpainter & | painter | ||
| ) |
Definition at line 340 of file octave-svgconvert.cc.
References d, get_field(), m, parsePathDataFast(), parseTransformationMatrix(), qstr2ptsvector(), qstr2ptsvectord(), qstr2vectord(), qstr2vectorf(), toDouble(), Faddeeva::w(), and x.
Referenced by main().
| QString get_field | ( | QString | str, |
| QString | field | ||
| ) |
Definition at line 138 of file octave-svgconvert.cc.
Referenced by draw().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 875 of file octave-svgconvert.cc.
References add_custom_properties(), draw(), reconstruct_polygons(), and strcmp().
| QVector<QPointF> qstr2ptsvector | ( | QString | str | ) |
Definition at line 109 of file octave-svgconvert.cc.
Referenced by draw(), and reconstruct_polygons().
| QVector<QPoint> qstr2ptsvectord | ( | QString | str | ) |
Definition at line 123 of file octave-svgconvert.cc.
Referenced by draw().
| QVector<double> qstr2vectord | ( | QString | str | ) |
Definition at line 96 of file octave-svgconvert.cc.
Referenced by draw().
| QVector<double> qstr2vectorf | ( | QString | str | ) |
Definition at line 84 of file octave-svgconvert.cc.
Referenced by draw().
| void reconstruct_polygons | ( | QDomElement & | parent_elt, |
| int | reconstruct_level | ||
| ) |
Definition at line 758 of file octave-svgconvert.cc.
References octave_polygon::add(), octave_polygon::count(), qstr2ptsvector(), octave_polygon::reconstruct(), replace_polygons(), and octave_polygon::reset().
Referenced by main().
| void replace_polygons | ( | QDomElement & | parent_elt, |
| QList< QDomNode > | orig, | ||
| QList< QPolygonF > | polygons | ||
| ) |
Definition at line 727 of file octave-svgconvert.cc.
References x.
Referenced by reconstruct_polygons().