Qt 4.8
|
#include "qplatformdefs.h"
#include "qsvghandler_p.h"
#include "qsvgtinydocument_p.h"
#include "qsvgstructure_p.h"
#include "qsvggraphics_p.h"
#include "qsvgnode_p.h"
#include "qsvgfont_p.h"
#include "qapplication.h"
#include "qwidget.h"
#include "qpen.h"
#include "qpainterpath.h"
#include "qbrush.h"
#include "qcolor.h"
#include "qtextformat.h"
#include "qvector.h"
#include "qfileinfo.h"
#include "qfile.h"
#include "qdebug.h"
#include "qmath.h"
#include "qnumeric.h"
#include "qvarlengtharray.h"
#include "private/qmath_p.h"
#include "float.h"
Go to the source code of this file.
Classes | |
struct | QSvgAttributes |
class | QSvgStyleSelector |
Macros | |
#define | NOOP qDebug()<<"Operation: "<<op<<" is not implemented" |
#define | QT_INHERIT QLatin1String(qt_inherit_text) |
Typedefs | |
typedef QSvgNode *(* | FactoryMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
typedef bool(* | ParseMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
typedef QSvgStyleProperty *(* | StyleFactoryMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
typedef bool(* | StyleParseMethod) (QSvgStyleProperty *, const QXmlStreamAttributes &, QSvgHandler *) |
Variables | |
static const char * | QSvgStyleSelector_nodeString [] |
static const char * | qt_inherit_text = "inherit" |
#define NOOP qDebug()<<"Operation: "<<op<<" is not implemented" |
Referenced by svgToQtCompositionMode().
#define QT_INHERIT QLatin1String(qt_inherit_text) |
Definition at line 75 of file qsvghandler.cpp.
Referenced by displayStringToEnum(), parseBrush(), parseFont(), parsePen(), parseVisibility(), and resolveColor().
typedef QSvgNode*(* FactoryMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3330 of file qsvghandler.cpp.
typedef bool(* ParseMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3402 of file qsvghandler.cpp.
typedef QSvgStyleProperty*(* StyleFactoryMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3452 of file qsvghandler.cpp.
typedef bool(* StyleParseMethod) (QSvgStyleProperty *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3481 of file qsvghandler.cpp.
|
static |
Definition at line 856 of file qsvghandler.cpp.
Referenced by createSolidColorNode(), parseBaseGradient(), parseColor(), and parseStopNode().
|
inlinestatic |
Definition at line 906 of file qsvghandler.cpp.
Referenced by createLinearGradientNode(), and parseStopNode().
|
static |
Definition at line 935 of file qsvghandler.cpp.
Referenced by createImageNode(), createRectNode(), createSvgNode(), and createUseNode().
|
static |
Definition at line 2462 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2478 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2494 of file qsvghandler.cpp.
Referenced by findGroupFactory().
|
static |
Definition at line 2519 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2537 of file qsvghandler.cpp.
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 2637 of file qsvghandler.cpp.
Referenced by findGroupFactory().
|
static |
Definition at line 2676 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2807 of file qsvghandler.cpp.
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 2727 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2873 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2888 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2904 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2929 of file qsvghandler.cpp.
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 2965 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 3029 of file qsvghandler.cpp.
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 916 of file qsvghandler.cpp.
Referenced by parseGlyphNode(), and parseMissingGlyphNode().
|
static |
Definition at line 3143 of file qsvghandler.cpp.
Referenced by findGroupFactory().
|
static |
Definition at line 3212 of file qsvghandler.cpp.
Referenced by findGroupFactory().
|
static |
Definition at line 3246 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 3231 of file qsvghandler.cpp.
Referenced by createTextAreaNode(), findGraphicsFactory(), and QDomDocumentPrivate::implementation().
|
static |
Definition at line 3260 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 3275 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 3322 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 1995 of file qsvghandler.cpp.
Referenced by QSvgHandler::startElement().
|
inlinestatic |
Definition at line 2155 of file qsvghandler.cpp.
Referenced by parseOthers().
|
static |
Definition at line 3355 of file qsvghandler.cpp.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 3332 of file qsvghandler.cpp.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 3456 of file qsvghandler.cpp.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 3485 of file qsvghandler.cpp.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 3404 of file qsvghandler.cpp.
Referenced by QSvgHandler::startElement().
Definition at line 746 of file qsvghandler.cpp.
Referenced by parseBrush(), parsePen(), and styleFromUrl().
|
inlinestatic |
Definition at line 556 of file qsvghandler.cpp.
Referenced by QXmlUtils::isNameChar(), QChar::isNull(), Qt::mightBeRichText(), parseNumbersArray(), parseNumbersList(), and toDouble().
|
static |
Definition at line 2339 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2260 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2276 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2268 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2355 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2470 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2746 of file qsvghandler.cpp.
Referenced by createLinearGradientNode(), and createRadialGradientNode().
|
static |
Definition at line 981 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 965 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 2141 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 2014 of file qsvghandler.cpp.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 1876 of file qsvghandler.cpp.
Referenced by cssStyleLookup(), and QSvgHandler::lineNumber().
|
static |
Definition at line 2503 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2511 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 1263 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 2591 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2563 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2613 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2621 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2629 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2646 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2660 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2668 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 871 of file qsvghandler.cpp.
Referenced by convertToNumber(), createImageNode(), createRectNode(), createSvgNode(), createTextAreaNode(), createTextNode(), createUseNode(), parseFont(), and parsePen().
|
static |
Definition at line 2843 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 2851 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2865 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
inlinestatic |
Definition at line 694 of file qsvghandler.cpp.
Referenced by parsePathDataFast(), and parseTransformationMatrix().
Definition at line 666 of file qsvghandler.cpp.
Referenced by createPolygonNode(), createPolylineNode(), parseNumberTriplet(), parsePen(), and resolveColor().
Definition at line 2347 of file qsvghandler.cpp.
Referenced by parseAnimateTransformNode().
|
static |
Definition at line 2065 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 2197 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1534 of file qsvghandler.cpp.
Referenced by createPathNode(), createSvgGlyph(), and qsvg_get_hex_rgb().
|
static |
Definition at line 1162 of file qsvghandler.cpp.
Referenced by parseStyle().
Definition at line 715 of file qsvghandler.cpp.
Referenced by resolveColor().
|
static |
Definition at line 2921 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 3013 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 3021 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 3047 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2253 of file qsvghandler.cpp.
Referenced by cssStyleLookup(), parsePathDataFast(), and QSvgHandler::startElement().
|
static |
Definition at line 2210 of file qsvghandler.cpp.
|
static |
Definition at line 3128 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 3221 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 3267 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 1367 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1030 of file qsvghandler.cpp.
Referenced by parseBaseGradient(), and parseTransform().
|
static |
Definition at line 1381 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1454 of file qsvghandler.cpp.
Referenced by parsePathDataFast().
|
static |
Definition at line 1395 of file qsvghandler.cpp.
Referenced by pathArc().
Q_CORE_EXPORT double qstrtod | ( | const char * | s00, |
char const ** | se, | ||
bool * | ok | ||
) |
Definition at line 1570 of file qlocale_tools.cpp.
Referenced by _qdtoa(), QLocalePrivate::bytearrayToDouble(), and toDouble().
bool qsvg_get_hex_rgb | ( | const char * | name, |
QRgb * | rgb | ||
) |
Definition at line 103 of file qsvghandler.cpp.
Referenced by qsvg_get_hex_rgb(), and resolveColor().
Definition at line 137 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 81 of file qsvghandler.cpp.
Referenced by qsvg_hex2int().
|
inlinestatic |
|
inlinestatic |
Definition at line 97 of file qsvghandler.cpp.
|
static |
returns true when successfuly set the color. false signifies that the color should be inherited
Definition at line 791 of file qsvghandler.cpp.
Referenced by constructColor(), parseAnimateColorNode(), parseBrush(), and parsePen().
|
inlinestatic |
Definition at line 152 of file qsvghandler.cpp.
Referenced by createFontNode(), parseAnimateColorNode(), parseAnimateTransformNode(), parseCoreNode(), parseStopNode(), and QSvgHandler::startElement().
|
inlinestatic |
Definition at line 2008 of file qsvghandler.cpp.
Referenced by parseCoreNode().
|
static |
Definition at line 976 of file qsvghandler.cpp.
Referenced by parseBrush(), and parsePen().
|
static |
Definition at line 2083 of file qsvghandler.cpp.
Referenced by parseCompOp().
Definition at line 562 of file qsvghandler.cpp.
Referenced by QPatternist::DurationNumericMathematician::calculate(), QPatternist::NumericToBooleanCaster::castFrom(), QPatternist::AbstractFloatComparator::compare(), QPatternist::AbstractFloatSortComparator< t_op >::compare(), constructColor(), convert(), createCircleNode(), createEllipseNode(), createFontNode(), createImageNode(), createLineNode(), createRadialGradientNode(), createRectNode(), createSvgGlyph(), QPatternist::AbstractFloatComparator::equals(), QFont::fromString(), QByteArray::isSharedWith(), QString::localeAwareCompare(), parseAnimateColorNode(), parseAnimateTransformNode(), parseBrush(), parseFontFaceNode(), parseLength(), parseNumbersArray(), parseNumbersList(), parsePen(), parsePercentageList(), QDBusDemarshaller::QDBusDemarshaller(), QVariant::swap(), toDouble(), and QPatternist::yyparse().
Definition at line 646 of file qsvghandler.cpp.
|
static |
Definition at line 656 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 765 of file qsvghandler.cpp.
Referenced by parseTransform(), and resolveColor().
|
static |
Definition at line 404 of file qsvghandler.cpp.
Referenced by QSvgStyleSelector::nodeToName().
|
static |
Definition at line 74 of file qsvghandler.cpp.