![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Enumerations | |
enum | LengthType { LT_PERCENT , LT_PX , LT_PC , LT_PT , LT_MM , LT_CM , LT_IN , LT_OTHER } |
Functions | |
bool | isDigit (ushort ch) |
qreal | toDouble (const QChar *&str) |
qreal | toDouble (QStringView str, bool *ok) |
qreal | parseLength (QStringView str, LengthType *type, bool *ok) |
qreal | convertToPixels (qreal len, bool, LengthType type) |
Enumerator | |
---|---|
LT_PERCENT | |
LT_PX | |
LT_PC | |
LT_PT | |
LT_MM | |
LT_CM | |
LT_IN | |
LT_OTHER |
Definition at line 25 of file qsvgutils_p.h.
qreal QSvgUtils::convertToPixels | ( | qreal | len, |
bool | , | ||
LengthType | type ) |
Definition at line 148 of file qsvgutils.cpp.
References LT_CM, LT_IN, LT_MM, LT_OTHER, LT_PC, LT_PERCENT, LT_PT, and LT_PX.
bool QSvgUtils::isDigit | ( | ushort | ch | ) |
Definition at line 12 of file qsvgutils.cpp.
Referenced by parseNumbersArray(), and parseNumbersList().
qreal QSvgUtils::parseLength | ( | QStringView | str, |
LengthType * | type, | ||
bool * | ok = NULL ) |
Definition at line 107 of file qsvgutils.cpp.
References LT_CM, LT_IN, LT_MM, LT_OTHER, LT_PC, LT_PERCENT, LT_PT, and LT_PX.
Definition at line 18 of file qsvgutils.cpp.
qreal QSvgUtils::toDouble | ( | QStringView | str, |
bool * | ok = NULL ) |
Definition at line 98 of file qsvgutils.cpp.
Referenced by createRectNode().