![]() |
QElectroTech 0.200.1-dev
|
#include <QDomElement>

Go to the source code of this file.
Namespaces | |
| namespace | QETSVG |
| the QETSVG namespace provide function read and write svg. Some function work on xml element (ex rect) and some other work on attribute of an element (ex x) | |
Functions | |
| QDomElement | QETSVG::rectToElmt (const QRectF &rect, QDomDocument &parent_document) |
| QETSVG::rectToElmt Write a QRect as a svg rect element. | |
| QRectF | QETSVG::rectFromElmt (const QDomElement &xml_element) |
| QETSVG::rectFromElmt. | |
| void | QETSVG::yToAttribute (const qreal &y, QDomElement &xml_element) |
| QETSVG::yToAttribute. | |
| qreal | QETSVG::yFromAttribute (const QDomElement &xml_element, const qreal &def_value=0) |
| QETSVG::yFromAttribute. | |
| void | QETSVG::heightToAttribute (const qreal &height, QDomElement &xml_element) |
| QETSVG::heightToAttribute. | |
| qreal | QETSVG::heightFromAttribute (const QDomElement &xml_element, const qreal &def_value=10) |
| void | QETSVG::rToAttribute (const qreal &r, QDomElement &xml_element) |
| qreal | QETSVG::rFromAttribute (const QDomElement &xml_element, const qreal &def_value=1) |
| void | QETSVG::pointsToAttribute (const QVector< QPointF > &points, QDomElement &xml_element) |
| QVector< QPointF > | QETSVG::pointsFromAttribute (const QDomElement &xml_element) |
| QETSVG::pointsFromAttribute. | |