#include <iostream>
#include <QtCore>
#include <QtXml>
#include <QApplication>
#include <QFontDatabase>
#include <QImage>
#include <QPainter>
#include <QPrinter>
#include <QRegExp>
Go to the source code of this file.
Classes | |
class | octave_polygon |
class | pdfpainter |
Functions | |
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) |
void | replace_polygons (QDomElement &parent_elt, QList< QDomNode > orig, QList< QPolygonF > polygons) |
void draw | ( | QDomElement & | parent_elt, |
pdfpainter & | painter | ||
) |
Definition at line 335 of file octave-svgconvert.cc.
References get_field(), pdfpainter::get_scale(), m, qstr2ptsvector(), qstr2ptsvectord(), qstr2vectord(), qstr2vectorf(), and Faddeeva::w().
Referenced by main().
QString get_field | ( | QString | str, |
QString | field | ||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 719 of file octave-svgconvert.cc.
References draw(), pdfpainter::finish(), reconstruct_polygons(), and octave::string::strcmp().
QVector<QPointF> qstr2ptsvector | ( | QString | str | ) |
Definition at line 106 of file octave-svgconvert.cc.
Referenced by draw(), and reconstruct_polygons().
QVector<QPoint> qstr2ptsvectord | ( | QString | str | ) |
Definition at line 120 of file octave-svgconvert.cc.
Referenced by draw().
QVector<double> qstr2vectord | ( | QString | str | ) |
Definition at line 93 of file octave-svgconvert.cc.
Referenced by draw().
QVector<double> qstr2vectorf | ( | QString | str | ) |
Definition at line 81 of file octave-svgconvert.cc.
Referenced by draw().
void reconstruct_polygons | ( | QDomElement & | parent_elt | ) |
Definition at line 644 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 613 of file octave-svgconvert.cc.
References x.
Referenced by reconstruct_polygons().