75 node->
draw(p, states);
156 #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ 157 && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ 158 && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ 159 && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ 160 && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ 161 && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ 162 && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ 163 && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ 164 && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ 165 && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ 166 && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ 167 && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ 168 && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ 169 && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ 170 && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ 171 && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ 172 && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ 173 && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ 174 && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ 175 && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ 176 && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ 177 && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ 178 && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) 180 #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>." 194 static const unsigned char asso_values[] = {
195 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
196 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
197 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
198 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
199 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
200 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
201 89, 89, 89, 89, 89, 89, 89, 0, 89, 5,
202 15, 5, 0, 10, 89, 89, 89, 89, 89, 0,
203 15, 89, 89, 0, 0, 89, 5, 89, 0, 89,
204 89, 89, 89, 89, 89, 89, 89, 0, 89, 89,
205 89, 0, 89, 89, 0, 89, 89, 89, 0, 5,
206 89, 0, 0, 89, 5, 89, 0, 89, 89, 89,
207 5, 0, 89, 89, 89, 89, 89, 89, 89, 89,
208 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
209 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
210 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
211 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
212 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
213 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
214 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
215 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
216 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
217 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
218 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
219 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
220 89, 89, 89, 89, 89, 89
223 static const char * wordlist[] = {
224 "",
"",
"",
"",
"",
"",
"",
"",
"",
225 "",
"",
"",
"",
"",
"",
"",
"",
"",
226 "",
"",
"",
"",
"",
"",
"",
"",
"",
227 "",
"",
"",
"",
"",
"",
"",
"",
"",
228 "",
"",
"",
"",
"",
"",
"",
"",
"",
230 "http://www.w3.org/Graphics/SVG/feature/1.2/#Text",
231 "http://www.w3.org/Graphics/SVG/feature/1.2/#Shape",
233 "http://www.w3.org/Graphics/SVG/feature/1.2/#SVG",
234 "http://www.w3.org/Graphics/SVG/feature/1.2/#Structure",
235 "http://www.w3.org/Graphics/SVG/feature/1.2/#SolidColor",
237 "http://www.w3.org/Graphics/SVG/feature/1.2/#Hyperlinking",
238 "http://www.w3.org/Graphics/SVG/feature/1.2/#CoreAttribute",
239 "http://www.w3.org/Graphics/SVG/feature/1.2/#XlinkAttribute",
240 "http://www.w3.org/Graphics/SVG/feature/1.2/#SVG-static",
241 "http://www.w3.org/Graphics/SVG/feature/1.2/#OpacityAttribute",
243 "http://www.w3.org/Graphics/SVG/feature/1.2/#Gradient",
244 "http://www.w3.org/Graphics/SVG/feature/1.2/#Font",
245 "http://www.w3.org/Graphics/SVG/feature/1.2/#Image",
246 "http://www.w3.org/Graphics/SVG/feature/1.2/#ConditionalProcessing",
248 "http://www.w3.org/Graphics/SVG/feature/1.2/#Extensibility",
250 "http://www.w3.org/Graphics/SVG/feature/1.2/#GraphicsAttribute",
251 "http://www.w3.org/Graphics/SVG/feature/1.2/#Prefetch",
252 "http://www.w3.org/Graphics/SVG/feature/1.2/#PaintAttribute",
253 "http://www.w3.org/Graphics/SVG/feature/1.2/#ConditionalProcessingAttribute",
254 "",
"",
"",
"",
"",
"",
"",
"",
"",
256 "http://www.w3.org/Graphics/SVG/feature/1.2/#ExternalResourcesRequiredAttribute" 263 if (key <= MAX_HASH_VALUE && key >= 0)
297 bool okToRender =
true;
300 for (; sitr != features.
constEnd(); ++sitr) {
308 if (okToRender && !extensions.
isEmpty()) {
310 for (; sitr != extensions.
constEnd(); ++sitr) {
318 if (okToRender && !languages.
isEmpty()) {
321 for (; sitr != languages.
constEnd(); ++sitr) {
329 if (okToRender && !formats.
isEmpty()) {
333 if (okToRender && !fonts.
isEmpty()) {
338 node->
draw(p, states);
The QPainter class performs low-level painting on widgets and other paint devices.
virtual QRectF transformedBounds(QPainter *p, QSvgExtraStates &states) const
QSvgDefs(QSvgNode *parent)
virtual void draw(QPainter *p, QSvgExtraStates &states)
#define QT_END_NAMESPACE
This macro expands to.
const QChar at(int i) const
Returns the character at the given index position in the string.
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
const QStringList & requiredFormats() const
const QStringList & requiredExtensions() const
QString & replace(int i, int len, QChar after)
int length() const
Returns the number of characters in this string.
iterator begin()
Returns an STL-style iterator pointing to the first item in the list.
const_iterator constBegin() const
Returns a const STL-style iterator pointing to the first item in the list.
The QList::const_iterator class provides an STL-style const iterator for QList and QQueue...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QSvgNode * scopeNode(const QString &id) const
QString name() const
Returns the language and country of this locale as a string of the form "language_country", where language is a lowercase, two-letter ISO 639 language code, and country is an uppercase, two- or three-letter ISO 3166 country code.
void applyStyle(QPainter *p, QSvgExtraStates &states) const
QSvgNode * parent() const
The QString class provides a Unicode character string.
virtual void draw(QPainter *p, QSvgExtraStates &states)
Q_GUI_EXPORT QString extensions()
QString m_systemLanguagePrefix
static bool isSupportedSvgExtension(const QString &)
virtual void draw(QPainter *p, QSvgExtraStates &states)
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
const QStringList & requiredFeatures() const
friend class const_iterator
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
static bool isEmpty(const char *str)
void addNamedNode(const QString &id, QSvgNode *node)
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the list...
DisplayMode displayMode() const
The QStringList class provides a list of strings.
void addChild(QSvgNode *child, const QString &id)
int indexOf(QChar c, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
virtual QRectF bounds(QPainter *p, QSvgExtraStates &states) const
static bool isSupportedSvgFeature(const QString &str)
QSvgStructureNode(QSvgNode *parent)
The QList::iterator class provides an STL-style non-const iterator for QList and QQueue.
QString mid(int position, int n=-1) const Q_REQUIRED_RESULT
Returns a string that contains n characters of this string, starting at the specified position index...
const QStringList & requiredFonts() const
const QStringList & requiredLanguages() const
QSvgNode * previousSiblingNode(QSvgNode *n) const
virtual void draw(QPainter *p, QSvgExtraStates &states)=0
QSvgSwitch(QSvgNode *parent)
QSvgTinyDocument * document() const
void revertStyle(QPainter *p, QSvgExtraStates &states) const
Q_OUTOFLINE_TEMPLATE void qDeleteAll(ForwardIterator begin, ForwardIterator end)
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
QList< QSvgNode * > m_renderers
const_iterator constEnd() const
Returns a const STL-style iterator pointing to the imaginary item after the last item in the list...
QSvgNode * namedNode(const QString &id) const