libkdegames/libkdegamesprivate
Go to the source code of this file.
|
static const QString | CLOSE_PARENS = QLatin1String("\\)") |
|
static const QLatin1Char | COMMA = QLatin1Char( ',' ) |
|
static const QString | COMMA_WSP |
|
static const QString | MATRIX |
|
static const QString | NUMBER = QLatin1String("(?:(?:[-|\\+]?\\d+(?:\\.)*\\d*(?:e)?[-|\\+]?\\d*)|(?:[-|\\+]?(?:\\.)+\\d*(?:e)?[-|\\+]?\\d*))") |
|
static const QString | OPEN_PARENS = QLatin1String("\\(") |
|
static const QString | ROTATE |
|
static const QString | SCALE |
|
static const QString | SKEW_X |
|
static const QString | SKEW_Y |
|
static const QString | TRANSFORM |
|
static const QString | TRANSFORMS |
|
static const QString | TRANSLATE |
|
static const QString | WSP = QLatin1String("\\s") |
|
static const QString | WSP_ASTERISK = WSP + QLatin1String( "*") |
|
This file contains the regexs for parsing the transform attribute of an SVG file using DOM.
- See also
- : http://www.w3.org/TR/SVG/coords.html#TransformAttribute
Definition in file kgamesvgdocument_p.h.
const QString CLOSE_PARENS = QLatin1String("\\)") |
|
static |
const QLatin1Char COMMA = QLatin1Char( ',' ) |
|
static |
Initial value:= QLatin1String(
"(?:(?:" ) +
WSP + QLatin1Char(
'+' ) +
COMMA + QLatin1Char(
'?' ) +
WSP + QLatin1String(
"*)|(?:" ) +
COMMA +
WSP + QLatin1String(
"*))")
static const QString WSP
A regex that matches a single whitespace.
static const QLatin1Char COMMA
A regex that matches a comma.
A regex that matches a comma or whitespace.
Definition at line 48 of file kgamesvgdocument_p.h.
Initial value:
static const QString NUMBER
A regex that matches a number.
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
A regex that matches a matrix transform.
Definition at line 70 of file kgamesvgdocument_p.h.
const QString NUMBER = QLatin1String("(?:(?:[-|\\+]?\\d+(?:\\.)*\\d*(?:e)?[-|\\+]?\\d*)|(?:[-|\\+]?(?:\\.)+\\d*(?:e)?[-|\\+]?\\d*))") |
|
static |
const QString OPEN_PARENS = QLatin1String("\\(") |
|
static |
Initial value:
QLatin1Char(
'(' ) +
NUMBER + QLatin1Char(
')' ) + QLatin1String(
"(?:" ) +
COMMA_WSP +
static const QString NUMBER
A regex that matches a number.
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
A regex that matches rotate transform.
Definition at line 95 of file kgamesvgdocument_p.h.
Initial value:
QLatin1Char(
'(' ) +
NUMBER + QLatin1Char(
')' ) +
static const QString NUMBER
A regex that matches a number.
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
A regex that matches scale transform.
Definition at line 88 of file kgamesvgdocument_p.h.
Initial value:
static const QString NUMBER
A regex that matches a number.
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
A regex that matches skewX transform.
Definition at line 103 of file kgamesvgdocument_p.h.
Initial value:
static const QString NUMBER
A regex that matches a number.
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
A regex that matches skewY transform.
Definition at line 109 of file kgamesvgdocument_p.h.
Initial value:= QLatin1String(
"(?:" ) +
MATRIX + QLatin1String(
"|" ) +
TRANSLATE + QLatin1String(
"|" ) +
SCALE + QLatin1String(
"|" ) +
ROTATE + QLatin1String(
"|" ) +
SKEW_X + QLatin1String(
"|" ) +
SKEW_Y + QLatin1String(
")")
static const QString SCALE
A regex that matches scale transform.
static const QString TRANSLATE
A regex that matches a translate transform.
static const QString ROTATE
A regex that matches rotate transform.
static const QString SKEW_X
A regex that matches skewX transform.
static const QString MATRIX
A regex that matches a matrix transform.
static const QString SKEW_Y
A regex that matches skewY transform.
A regex that matches any single transform.
Definition at line 115 of file kgamesvgdocument_p.h.
Initial value:= QLatin1String(
"(?:" ) +
TRANSFORM + QLatin1String(
"|" ) + QLatin1String(
"(?:" ) +
TRANSFORM +
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
static const QString TRANSFORM
A regex that matches any single transform.
A regex that matches the entire transform attribute.
Definition at line 121 of file kgamesvgdocument_p.h.
Initial value:
QLatin1Char(
'(' ) +
NUMBER + QLatin1Char(
')' ) +
static const QString NUMBER
A regex that matches a number.
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
A regex that matches a translate transform.
Definition at line 81 of file kgamesvgdocument_p.h.
const QString WSP = QLatin1String("\\s") |
|
static |
const QString WSP_ASTERISK = WSP + QLatin1String( "*") |
|
static |
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:45 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.