• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

libkdegames/libkdegamesprivate

  • sources
  • kde-4.14
  • kdegames
  • libkdegames
  • libkdegamesprivate
Variables
kgamesvgdocument_p.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

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( "*")
 

Detailed Description

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.

Variable Documentation

const QString CLOSE_PARENS = QLatin1String("\\)")
static

A regex that matches closing parenthesis.

Definition at line 65 of file kgamesvgdocument_p.h.

const QLatin1Char COMMA = QLatin1Char( ',' )
static

A regex that matches a comma.

Definition at line 43 of file kgamesvgdocument_p.h.

const QString COMMA_WSP
static
Initial value:
= QLatin1String("(?:(?:" ) + WSP + QLatin1Char( '+' ) + COMMA + QLatin1Char( '?' ) +
WSP + QLatin1String( "*)|(?:" ) + COMMA + WSP + QLatin1String( "*))")
QLatin1Char
WSP
static const QString WSP
A regex that matches a single whitespace.
Definition: kgamesvgdocument_p.h:33
QLatin1String
COMMA
static const QLatin1Char COMMA
A regex that matches a comma.
Definition: kgamesvgdocument_p.h:43

A regex that matches a comma or whitespace.

Definition at line 48 of file kgamesvgdocument_p.h.

const QString MATRIX
static
Initial value:
= QLatin1String("(matrix)" ) + WSP_ASTERISK + OPEN_PARENS + WSP_ASTERISK +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + COMMA_WSP +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + COMMA_WSP +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + COMMA_WSP +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + COMMA_WSP +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + COMMA_WSP +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + WSP_ASTERISK + CLOSE_PARENS
NUMBER
static const QString NUMBER
A regex that matches a number.
Definition: kgamesvgdocument_p.h:54
COMMA_WSP
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
Definition: kgamesvgdocument_p.h:48
QLatin1Char
WSP_ASTERISK
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
Definition: kgamesvgdocument_p.h:38
QLatin1String
OPEN_PARENS
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
Definition: kgamesvgdocument_p.h:60
CLOSE_PARENS
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
Definition: kgamesvgdocument_p.h:65

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

A regex that matches a number.

Definition at line 54 of file kgamesvgdocument_p.h.

const QString OPEN_PARENS = QLatin1String("\\(")
static

A regex that matches opening parenthesis.

Definition at line 60 of file kgamesvgdocument_p.h.

const QString ROTATE
static
Initial value:
= QLatin1String("(rotate)" ) + WSP_ASTERISK + OPEN_PARENS + WSP_ASTERISK +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + QLatin1String( "(?:" ) + COMMA_WSP +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + COMMA_WSP +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + QLatin1String( ")?" ) + WSP_ASTERISK + CLOSE_PARENS
NUMBER
static const QString NUMBER
A regex that matches a number.
Definition: kgamesvgdocument_p.h:54
COMMA_WSP
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
Definition: kgamesvgdocument_p.h:48
QLatin1Char
WSP_ASTERISK
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
Definition: kgamesvgdocument_p.h:38
QLatin1String
OPEN_PARENS
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
Definition: kgamesvgdocument_p.h:60
CLOSE_PARENS
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
Definition: kgamesvgdocument_p.h:65

A regex that matches rotate transform.

Definition at line 95 of file kgamesvgdocument_p.h.

const QString SCALE
static
Initial value:
= QLatin1String("(scale)" ) + WSP_ASTERISK + OPEN_PARENS + WSP_ASTERISK +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) +
QLatin1String( "(?:" ) + COMMA_WSP + QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + QLatin1String( ")?" ) + WSP_ASTERISK + CLOSE_PARENS
NUMBER
static const QString NUMBER
A regex that matches a number.
Definition: kgamesvgdocument_p.h:54
COMMA_WSP
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
Definition: kgamesvgdocument_p.h:48
QLatin1Char
WSP_ASTERISK
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
Definition: kgamesvgdocument_p.h:38
QLatin1String
OPEN_PARENS
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
Definition: kgamesvgdocument_p.h:60
CLOSE_PARENS
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
Definition: kgamesvgdocument_p.h:65

A regex that matches scale transform.

Definition at line 88 of file kgamesvgdocument_p.h.

const QString SKEW_X
static
Initial value:
= QLatin1String( "(skewX)" ) + WSP_ASTERISK + OPEN_PARENS + WSP_ASTERISK +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + WSP_ASTERISK + CLOSE_PARENS
NUMBER
static const QString NUMBER
A regex that matches a number.
Definition: kgamesvgdocument_p.h:54
QLatin1Char
WSP_ASTERISK
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
Definition: kgamesvgdocument_p.h:38
QLatin1String
OPEN_PARENS
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
Definition: kgamesvgdocument_p.h:60
CLOSE_PARENS
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
Definition: kgamesvgdocument_p.h:65

A regex that matches skewX transform.

Definition at line 103 of file kgamesvgdocument_p.h.

const QString SKEW_Y
static
Initial value:
= QLatin1String("(skewY)" ) + WSP_ASTERISK + OPEN_PARENS + WSP_ASTERISK +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + WSP_ASTERISK + CLOSE_PARENS
NUMBER
static const QString NUMBER
A regex that matches a number.
Definition: kgamesvgdocument_p.h:54
QLatin1Char
WSP_ASTERISK
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
Definition: kgamesvgdocument_p.h:38
QLatin1String
OPEN_PARENS
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
Definition: kgamesvgdocument_p.h:60
CLOSE_PARENS
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
Definition: kgamesvgdocument_p.h:65

A regex that matches skewY transform.

Definition at line 109 of file kgamesvgdocument_p.h.

const QString TRANSFORM
static
Initial value:
= QLatin1String("(?:" ) + MATRIX + QLatin1String( "|" ) + TRANSLATE + QLatin1String( "|" ) + SCALE + QLatin1String( "|" ) +
ROTATE + QLatin1String( "|" ) + SKEW_X + QLatin1String( "|" ) + SKEW_Y + QLatin1String( ")")
SCALE
static const QString SCALE
A regex that matches scale transform.
Definition: kgamesvgdocument_p.h:88
TRANSLATE
static const QString TRANSLATE
A regex that matches a translate transform.
Definition: kgamesvgdocument_p.h:81
ROTATE
static const QString ROTATE
A regex that matches rotate transform.
Definition: kgamesvgdocument_p.h:95
SKEW_X
static const QString SKEW_X
A regex that matches skewX transform.
Definition: kgamesvgdocument_p.h:103
QLatin1String
MATRIX
static const QString MATRIX
A regex that matches a matrix transform.
Definition: kgamesvgdocument_p.h:70
SKEW_Y
static const QString SKEW_Y
A regex that matches skewY transform.
Definition: kgamesvgdocument_p.h:109

A regex that matches any single transform.

Definition at line 115 of file kgamesvgdocument_p.h.

const QString TRANSFORMS
static
Initial value:
= QLatin1String("(?:" ) + TRANSFORM + QLatin1String( "|" ) + QLatin1String( "(?:" ) + TRANSFORM +
COMMA_WSP + QLatin1String( "+)*" ) + TRANSFORM + QLatin1String( ")")
COMMA_WSP
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
Definition: kgamesvgdocument_p.h:48
TRANSFORM
static const QString TRANSFORM
A regex that matches any single transform.
Definition: kgamesvgdocument_p.h:115
QLatin1String

A regex that matches the entire transform attribute.

Definition at line 121 of file kgamesvgdocument_p.h.

const QString TRANSLATE
static
Initial value:
= QLatin1String("(translate)" ) + WSP_ASTERISK + OPEN_PARENS + WSP_ASTERISK +
QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) +
QLatin1String( "(?:" ) + COMMA_WSP + QLatin1Char( '(' ) + NUMBER + QLatin1Char( ')' ) + QLatin1String( ")?" ) + WSP_ASTERISK + CLOSE_PARENS
NUMBER
static const QString NUMBER
A regex that matches a number.
Definition: kgamesvgdocument_p.h:54
COMMA_WSP
static const QString COMMA_WSP
A regex that matches a comma or whitespace.
Definition: kgamesvgdocument_p.h:48
QLatin1Char
WSP_ASTERISK
static const QString WSP_ASTERISK
A regex that matches zero or more whitespace.
Definition: kgamesvgdocument_p.h:38
QLatin1String
OPEN_PARENS
static const QString OPEN_PARENS
A regex that matches opening parenthesis.
Definition: kgamesvgdocument_p.h:60
CLOSE_PARENS
static const QString CLOSE_PARENS
A regex that matches closing parenthesis.
Definition: kgamesvgdocument_p.h:65

A regex that matches a translate transform.

Definition at line 81 of file kgamesvgdocument_p.h.

const QString WSP = QLatin1String("\\s")
static

A regex that matches a single whitespace.

Definition at line 33 of file kgamesvgdocument_p.h.

const QString WSP_ASTERISK = WSP + QLatin1String( "*")
static

A regex that matches zero or more whitespace.

Definition at line 38 of file kgamesvgdocument_p.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdegames/libkdegamesprivate

Skip menu "libkdegames/libkdegamesprivate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal