GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave-svgconvert.cc File Reference
#include <cstdio>
#include <iostream>
#include <QtCore>
#include <QtXml>
#include <QApplication>
#include <QFontDatabase>
#include <QImage>
#include <QPainter>
#include <QPrinter>
#include <QRegExp>
#include "octave-qsvghandler.h"
Include dependency graph for octave-svgconvert.cc:

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)
 

Function Documentation

◆ add_custom_properties()

void add_custom_properties ( QDomElement &  parent_elt)

Definition at line 835 of file octave-svgconvert.cc.

Referenced by main().

◆ draw()

void draw ( QDomElement &  parent_elt,
pdfpainter painter 
)

◆ get_field()

QString get_field ( QString  str,
QString  field 
)

Definition at line 138 of file octave-svgconvert.cc.

Referenced by draw().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ qstr2ptsvector()

QVector<QPointF> qstr2ptsvector ( QString  str)

Definition at line 109 of file octave-svgconvert.cc.

Referenced by draw(), and reconstruct_polygons().

◆ qstr2ptsvectord()

QVector<QPoint> qstr2ptsvectord ( QString  str)

Definition at line 123 of file octave-svgconvert.cc.

Referenced by draw().

◆ qstr2vectord()

QVector<double> qstr2vectord ( QString  str)

Definition at line 96 of file octave-svgconvert.cc.

Referenced by draw().

◆ qstr2vectorf()

QVector<double> qstr2vectorf ( QString  str)

Definition at line 84 of file octave-svgconvert.cc.

Referenced by draw().

◆ reconstruct_polygons()

void reconstruct_polygons ( QDomElement &  parent_elt,
int  reconstruct_level 
)

◆ replace_polygons()

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().