Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qplatformdefs.h"
#include "qsvghandler_p.h"
#include "qsvgtinydocument_p.h"
#include "qsvgstructure_p.h"
#include "qsvggraphics_p.h"
#include "qsvgfilter_p.h"
#include "qsvgnode_p.h"
#include "qsvgfont_p.h"
#include "qpen.h"
#include "qpainterpath.h"
#include "qbrush.h"
#include "qcolor.h"
#include "qtextformat.h"
#include "qlist.h"
#include "qfileinfo.h"
#include "qfile.h"
#include "qdir.h"
#include "qdebug.h"
#include "qmath.h"
#include "qnumeric.h"
#include <qregularexpression.h>
#include "qtransform.h"
#include "qvarlengtharray.h"
#include "private/qmath_p.h"
#include "qimagereader.h"
#include "float.h"
#include <cmath>
Go to the source code of this file.
Classes | |
struct | QSvgAttributes |
class | QSvgStyleSelector |
Macros | |
#define | QT_INHERIT QLatin1String(qt_inherit_text) |
#define | NOOP qDebug()<<"Operation: "<<op<<" is not implemented" |
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 *) |
Enumerations | |
enum | FontSizeSpec { XXSmall , XSmall , Small , Medium , Large , XLarge , XXLarge , FontSizeNone , FontSizeValue } |
Functions | |
static QByteArray | prefixMessage (const QByteArray &msg, const QXmlStreamReader *r) |
static QByteArray | msgProblemParsing (const QString &localName, const QXmlStreamReader *r) |
static QByteArray | msgCouldNotResolveProperty (const QString &id, const QXmlStreamReader *r) |
static int | qsvg_h2i (char hex, bool *ok=nullptr) |
static int | qsvg_hex2int (const char *s, bool *ok=nullptr) |
static int | qsvg_hex2int (char s, bool *ok=nullptr) |
bool | qsvg_get_hex_rgb (const char *name, QRgb *rgb) |
bool | qsvg_get_hex_rgb (const QChar *str, int len, QRgb *rgb) |
static bool | parsePathDataFast (QStringView data, QPainterPath &path, bool limitLength=true) |
static QString | someId (const QXmlStreamAttributes &attributes) |
static bool | isDigit (ushort ch) |
static qreal | toDouble (const QChar *&str) |
static qreal | toDouble (QStringView str, bool *ok=NULL) |
static QList< qreal > | parseNumbersList (const QChar *&str) |
static void | parseNumbersArray (const QChar *&str, QVarLengthArray< qreal, 8 > &points, const char *pattern=nullptr) |
static QList< qreal > | parsePercentageList (const QChar *&str) |
static QString | idFromUrl (const QString &url) |
static bool | resolveColor (QStringView colorStr, QColor &color, QSvgHandler *handler) |
static bool | constructColor (QStringView colorStr, QStringView opacity, QColor &color, QSvgHandler *handler) |
static qreal | parseLength (QStringView str, QSvgHandler::LengthType *type, QSvgHandler *handler, bool *ok=NULL) |
static qreal | convertToNumber (QStringView str, QSvgHandler *handler, bool *ok=NULL) |
static bool | createSvgGlyph (QSvgFont *font, const QXmlStreamAttributes &attributes) |
static qreal | convertToPixels (qreal len, bool, QSvgHandler::LengthType type) |
static void | parseColor (QSvgNode *, const QSvgAttributes &attributes, QSvgHandler *handler) |
static QSvgStyleProperty * | styleFromUrl (QSvgNode *node, const QString &url) |
static void | parseBrush (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *handler) |
static QTransform | parseTransformationMatrix (QStringView value) |
static void | parsePen (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *handler) |
Q_STATIC_ASSERT (sizeof(sizeTable)/sizeof(sizeTable[0])==FontSizeNone) | |
static FontSizeSpec | fontSizeSpec (QStringView spec) |
static void | parseFont (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *handler) |
static void | parseTransform (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
static void | parseVisibility (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
static void | pathArcSegment (QPainterPath &path, qreal xc, qreal yc, qreal th0, qreal th1, qreal rx, qreal ry, qreal xAxisRotation) |
static void | pathArc (QPainterPath &path, qreal rx, qreal ry, qreal x_axis_rotation, int large_arc_flag, int sweep_flag, qreal x, qreal y, qreal curx, qreal cury) |
static bool | parseStyle (QSvgNode *node, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseStyle (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
static void | parseCSStoXMLAttrs (const QList< QCss::Declaration > &declarations, QXmlStreamAttributes &attributes) |
static void | cssStyleLookup (QSvgNode *node, QSvgHandler *handler, QSvgStyleSelector *selector, QXmlStreamAttributes &attributes) |
static void | cssStyleLookup (QSvgNode *node, QSvgHandler *handler, QSvgStyleSelector *selector) |
static QStringList | stringToList (const QString &str) |
static bool | parseCoreNode (QSvgNode *node, const QXmlStreamAttributes &attributes) |
static void | parseOpacity (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
static QPainter::CompositionMode | svgToQtCompositionMode (const QString &op) |
static void | parseCompOp (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
static QSvgNode::DisplayMode | displayStringToEnum (const QString &str) |
static void | parseOthers (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
static void | parseExtendedAttributes (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *handler) |
static void | parseRenderingHints (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
static bool | parseAnchorNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseAnimateNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static int | parseClockValue (QStringView str, bool *ok) |
static bool | parseAnimateColorNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static bool | parseAimateMotionNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static void | parseNumberTriplet (QList< qreal > &values, const QChar *&s) |
static bool | parseAnimateTransformNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createAnimationNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseAudioNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgNode * | createCircleNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgNode * | createDefsNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseDiscardNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgNode * | createEllipseNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgStyleProperty * | createFontNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseFontFaceNode (QSvgStyleProperty *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseFontFaceNameNode (QSvgStyleProperty *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseFontFaceSrcNode (QSvgStyleProperty *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseFontFaceUriNode (QSvgStyleProperty *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseForeignObjectNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgNode * | createGNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseGlyphNode (QSvgStyleProperty *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseHandlerNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseHkernNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgNode * | createImageNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createLineNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static void | parseBaseGradient (QSvgNode *node, const QXmlStreamAttributes &attributes, QSvgGradientStyle *gradProp, QSvgHandler *handler) |
static QSvgStyleProperty * | createLinearGradientNode (QSvgNode *node, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static bool | parseMetadataNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseMissingGlyphNode (QSvgStyleProperty *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseMpathNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseMaskNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseMarkerNode (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
static QSvgNode * | createMaskNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static void | parseFilterBounds (QSvgNode *, const QXmlStreamAttributes &attributes, QSvgHandler *handler, QSvgRectF *rect) |
static QSvgNode * | createFilterNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static void | parseFilterAttributes (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler, QString *inString, QString *outString, QSvgRectF *rect) |
static QSvgNode * | createFeColorMatrixNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createFeGaussianBlurNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createFeOffsetNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createFeCompositeNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createFeMergeNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createFeFloodNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createFeMergeNodeNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createFeUnsupportedNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static bool | parseSymbolLikeAttributes (const QXmlStreamAttributes &attributes, QSvgHandler *handler, QRectF *rect, QRectF *viewBox, QPointF *refPoint, QSvgSymbolLike::PreserveAspectRatios *aspect, QSvgSymbolLike::Overflow *overflow, bool marker=false) |
static QSvgNode * | createSymbolNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createMarkerNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createPathNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createPolygonNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgNode * | createPolylineNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parsePrefetchNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgStyleProperty * | createRadialGradientNode (QSvgNode *node, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createRectNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static bool | parseScriptNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static bool | parseSetNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgStyleProperty * | createSolidColorNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static bool | parseStopNode (QSvgStyleProperty *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static bool | parseStyleNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createSvgNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createSwitchNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static QSvgNode * | createPatternNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static bool | parseTbreakNode (QSvgNode *parent, const QXmlStreamAttributes &, QSvgHandler *) |
static QSvgNode * | createTextNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createTextAreaNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createTspanNode (QSvgNode *parent, const QXmlStreamAttributes &, QSvgHandler *) |
static QSvgNode * | createUseNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
static QSvgNode * | createVideoNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
static FactoryMethod | findGroupFactory (const QString &name, QtSvg::Options options) |
static FactoryMethod | findGraphicsFactory (const QString &name, QtSvg::Options options) |
static FactoryMethod | findFilterFactory (const QString &name, QtSvg::Options options) |
static ParseMethod | findUtilFactory (const QString &name, QtSvg::Options options) |
static StyleFactoryMethod | findStyleFactoryMethod (const QString &name) |
static StyleParseMethod | findStyleUtilFactoryMethod (const QString &name) |
static bool | detectPatternCycles (const QSvgNode *node, QList< const QSvgNode * > active={}) |
static bool | detectCycles (const QSvgNode *node, QList< const QSvgNode * > active={}) |
Variables | |
static QT_BEGIN_NAMESPACE const char * | qt_inherit_text = "inherit" |
static const qreal | sizeTable [] |
static const int | unfinishedElementsLimit = 2048 |
#define NOOP qDebug()<<"Operation: "<<op<<" is not implemented" |
#define QT_INHERIT QLatin1String(qt_inherit_text) |
Definition at line 41 of file qsvghandler.cpp.
Referenced by displayStringToEnum(), parseBrush(), parseFont(), parsePen(), parseVisibility(), and resolveColor().
typedef QSvgNode *(* FactoryMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 4249 of file qsvghandler.cpp.
typedef bool(* ParseMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 4376 of file qsvghandler.cpp.
typedef QSvgStyleProperty *(* StyleFactoryMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 4426 of file qsvghandler.cpp.
typedef bool(* StyleParseMethod) (QSvgStyleProperty *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 4455 of file qsvghandler.cpp.
enum FontSizeSpec |
Enumerator | |
---|---|
XXSmall | |
XSmall | |
Small | |
Medium | |
Large | |
XLarge | |
XXLarge | |
FontSizeNone | |
FontSizeValue |
Definition at line 1299 of file qsvghandler.cpp.
|
static |
Definition at line 876 of file qsvghandler.cpp.
References QStringView::isEmpty(), ok, qMax(), qMin(), resolveColor(), and toDouble().
Referenced by createFeFloodNode(), createSolidColorNode(), parseBaseGradient(), parseColor(), and parseStopNode().
|
inlinestatic |
Definition at line 932 of file qsvghandler.cpp.
References QSvgHandler::LT_PERCENT, ok, parseLength(), and str.
Referenced by createLinearGradientNode(), createPatternNode(), and parseStopNode().
|
static |
Definition at line 961 of file qsvghandler.cpp.
References QSvgHandler::LT_CM, QSvgHandler::LT_IN, QSvgHandler::LT_MM, QSvgHandler::LT_OTHER, QSvgHandler::LT_PC, QSvgHandler::LT_PERCENT, QSvgHandler::LT_PT, and QSvgHandler::LT_PX.
Referenced by createFeOffsetNode(), createImageNode(), createMaskNode(), createPatternNode(), createRectNode(), createSvgNode(), createTextNode(), createUseNode(), parseFilterBounds(), parseFont(), and parseSymbolLikeAttributes().
|
static |
Definition at line 2637 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2653 of file qsvghandler.cpp.
References rect, and toDouble().
Referenced by findGraphicsFactory().
|
static |
Definition at line 2671 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findGroupFactory().
|
static |
Definition at line 2688 of file qsvghandler.cpp.
References ellipse, rect, rx(), ry(), and toDouble().
Referenced by findGraphicsFactory().
|
static |
Definition at line 3263 of file qsvghandler.cpp.
References QGenericMatrix< N, M, T >::fill(), QSvgFeColorMatrix::HueRotate, i, j, QSvgFeColorMatrix::LuminanceToAlpha, QSvgFeColorMatrix::Matrix, ok, parseFilterAttributes(), qMin(), rect, QSvgFeColorMatrix::Saturate, Qt::SkipEmptyParts, and toDouble().
Referenced by findFilterFactory().
|
static |
Definition at line 3380 of file qsvghandler.cpp.
References QSvgFeComposite::Arithmetic, QSvgFeComposite::Atop, QSvgFeComposite::In, QSvgFeComposite::Lighter, ok, QSvgFeComposite::Out, QSvgFeComposite::Over, parseFilterAttributes(), QStringLiteral, rect, QVector4D::setW(), QVector4D::setX(), QVector4D::setY(), QVector4D::setZ(), toDouble(), and QSvgFeComposite::Xor.
Referenced by findFilterFactory().
|
static |
Definition at line 3451 of file qsvghandler.cpp.
References Qt::black, constructColor(), parseFilterAttributes(), and rect.
Referenced by findFilterFactory().
|
static |
Definition at line 3311 of file qsvghandler.cpp.
References QSvgFeGaussianBlur::Duplicate, QSvgFeGaussianBlur::None, parseFilterAttributes(), qMax(), QStringLiteral, rect, toDouble(), and QSvgFeGaussianBlur::Wrap.
Referenced by findFilterFactory().
|
static |
Definition at line 3436 of file qsvghandler.cpp.
References parseFilterAttributes(), and rect.
Referenced by findFilterFactory().
|
static |
Definition at line 3473 of file qsvghandler.cpp.
References parseFilterAttributes(), and rect.
Referenced by findFilterFactory().
|
static |
Definition at line 3345 of file qsvghandler.cpp.
References convertToPixels(), QSvgHandler::LT_PT, parseFilterAttributes(), parseLength(), and rect.
Referenced by findFilterFactory().
|
static |
Definition at line 3488 of file qsvghandler.cpp.
References parseFilterAttributes(), and rect.
Referenced by findFilterFactory().
|
static |
Definition at line 3233 of file qsvghandler.cpp.
References QtSvg::objectBoundingBox, parseFilterBounds(), rect, and QtSvg::userSpaceOnUse.
Referenced by findGroupFactory().
|
static |
Definition at line 2706 of file qsvghandler.cpp.
References QSvgTinyDocument::addSvgFont(), QSvgNode::Doc, font, QSvgNode::parent(), someId(), QSvgTinyDocument::svgFont(), toDouble(), and QSvgNode::type().
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 2806 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findGroupFactory().
|
static |
Definition at line 2845 of file qsvghandler.cpp.
References convertToPixels(), QSvgHandler::device(), file, QFile::fileName(), QImage::Format_ARGB32, QImage::Format_ARGB32_Premultiplied, QByteArray::fromBase64(), QImage::fromData(), QImageReader::imageFormat(), info, QString::isEmpty(), QUrl::isRelative(), QString::lastIndexOf(), QString::mid(), parseLength(), qCWarning, QString::startsWith(), toDouble(), QString::trimmed(), QSvgHandler::trustedSourceMode(), and url.
Referenced by findGraphicsFactory().
|
static |
Definition at line 3005 of file qsvghandler.cpp.
References QGradient::ComponentInterpolation, convertToNumber(), QSvgNode::Doc, QSvgNode::parent(), parseBaseGradient(), and QGradient::setInterpolationMode().
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 2925 of file qsvghandler.cpp.
References line, and toDouble().
Referenced by findGraphicsFactory().
|
static |
Definition at line 3660 of file qsvghandler.cpp.
References QSvgMarker::Auto, QSvgMarker::AutoStartReverse, M_PI, ok, parseSymbolLikeAttributes(), QStringLiteral, rect, QSvgMarker::StrokeWidth, toDouble(), QSvgMarker::UserSpaceOnUse, and QSvgMarker::Value.
Referenced by findGroupFactory().
|
static |
Definition at line 3086 of file qsvghandler.cpp.
References convertToPixels(), QSvgNode::document(), QRectF::height(), QRectF::isEmpty(), QSvgHandler::LT_PERCENT, QtSvg::objectBoundingBox, ok, parseLength(), QtSvg::userSpaceOnUse, QSvgTinyDocument::viewBox(), and QRectF::width().
Referenced by findGroupFactory().
|
static |
Definition at line 3706 of file qsvghandler.cpp.
References parsePathDataFast(), qCWarning, QPainterPath::setFillRule(), QSvgHandler::trustedSourceMode(), and Qt::WindingFill.
Referenced by findGraphicsFactory().
|
static |
Definition at line 4040 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), QString::at(), convertToNumber(), convertToPixels(), QSvgHandler::document(), QRectF::height(), QRectF::isEmpty(), QSvgHandler::LT_PERCENT, QtSvg::objectBoundingBox, ok, parseLength(), parseTransformationMatrix(), QRectF::setRect(), Qt::SkipEmptyParts, someId(), QtSvg::userSpaceOnUse, QSvgTinyDocument::viewBox(), and QRectF::width().
Referenced by findGroupFactory().
|
static |
Definition at line 3721 of file qsvghandler.cpp.
References i, and parseNumbersList().
Referenced by findGraphicsFactory().
|
static |
Definition at line 3737 of file qsvghandler.cpp.
References i, line, and parseNumbersList().
Referenced by findGraphicsFactory().
|
static |
Definition at line 3762 of file qsvghandler.cpp.
References QGradient::ComponentInterpolation, QStringView::isEmpty(), parseBaseGradient(), QGradient::setInterpolationMode(), and toDouble().
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 3801 of file qsvghandler.cpp.
References convertToPixels(), QRectF::height(), QRectF::isEmpty(), ok, parseLength(), rect, rx(), ry(), toDouble(), and QRectF::width().
Referenced by findGraphicsFactory().
|
static |
Definition at line 3868 of file qsvghandler.cpp.
References constructColor(), and Q_UNUSED.
Referenced by findStyleFactoryMethod().
|
static |
Definition at line 942 of file qsvghandler.cpp.
References font, parsePathDataFast(), toDouble(), and Qt::WindingFill.
Referenced by parseGlyphNode(), and parseMissingGlyphNode().
|
static |
Definition at line 3970 of file qsvghandler.cpp.
References QString::at(), convertToPixels(), QSvgHandler::LT_PERCENT, QSvgHandler::LT_PT, QSvgHandler::LT_PX, QSvgHandler::options(), parseLength(), Q_UNUSED, QSvgHandler::setDefaultCoordinateSystem(), QSvgTinyDocument::setHeight(), QSvgTinyDocument::setViewBox(), QSvgTinyDocument::setWidth(), and Qt::SkipEmptyParts.
Referenced by findGroupFactory().
|
static |
Definition at line 4031 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findGroupFactory().
|
static |
Definition at line 3643 of file qsvghandler.cpp.
References parseSymbolLikeAttributes(), and rect.
Referenced by findGroupFactory().
|
static |
Definition at line 4169 of file qsvghandler.cpp.
References createTextNode(), parseLength(), and QSvgText::setTextArea().
Referenced by findGraphicsFactory().
|
static |
Definition at line 4152 of file qsvghandler.cpp.
References convertToPixels(), parseLength(), and text.
Referenced by createTextAreaNode(), and findGraphicsFactory().
|
static |
Definition at line 4183 of file qsvghandler.cpp.
Referenced by findGraphicsFactory().
|
static |
Definition at line 4190 of file qsvghandler.cpp.
References convertToPixels(), QSvgNode::Defs, QSvgNode::Doc, QSvgNode::Group, QSvgNode::isDescendantOf(), QString::isEmpty(), QSvgNode::Mask, parseLength(), qCWarning, qPrintable, QSvgNode::Switch, and QSvgNode::type().
Referenced by findGraphicsFactory().
|
static |
Definition at line 4241 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findGraphicsFactory().
|
static |
Definition at line 2076 of file qsvghandler.cpp.
References cssStyleLookup(), and selector.
|
static |
Definition at line 2063 of file qsvghandler.cpp.
References parseCSStoXMLAttrs(), parseStyle(), QCss::StyleSelector::NodePtr::ptr, and selector.
Referenced by cssStyleLookup(), parseStopNode(), and QSvgHandler::startElement().
Definition at line 4543 of file qsvghandler.cpp.
|
static |
Definition at line 4522 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 2244 of file qsvghandler.cpp.
References QSvgNode::BlockMode, QSvgNode::CompactMode, QSvgNode::InheritMode, QSvgNode::InlineMode, QSvgNode::InlineTableMode, QSvgNode::ListItemMode, QSvgNode::MarkerMode, QSvgNode::NoneMode, QT_INHERIT, QSvgNode::RunInMode, str, QSvgNode::TableCaptionMode, QSvgNode::TableCellMode, QSvgNode::TableColumnGroupMode, QSvgNode::TableColumnMode, QSvgNode::TableFooterGroupMode, QSvgNode::TableHeaderGroupMode, QSvgNode::TableMode, QSvgNode::TableRowGroupMode, and QSvgNode::TableRowMode.
Referenced by parseOthers().
|
static |
Definition at line 4333 of file qsvghandler.cpp.
References createFeColorMatrixNode(), createFeCompositeNode(), createFeFloodNode(), createFeGaussianBlurNode(), createFeMergeNode(), createFeMergeNodeNode(), createFeOffsetNode(), createFeUnsupportedNode(), QStringLiteral, and QtSvg::Tiny12FeaturesOnly.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 4285 of file qsvghandler.cpp.
References createAnimationNode(), createCircleNode(), createEllipseNode(), createImageNode(), createLineNode(), createPathNode(), createPolygonNode(), createPolylineNode(), createRectNode(), createTextAreaNode(), createTextNode(), createTspanNode(), createUseNode(), createVideoNode(), QStringView::mid(), and Q_UNUSED.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 4251 of file qsvghandler.cpp.
References createDefsNode(), createFilterNode(), createGNode(), createMarkerNode(), createMaskNode(), createPatternNode(), createSvgNode(), createSwitchNode(), createSymbolNode(), QStringView::mid(), and QtSvg::Tiny12FeaturesOnly.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 4430 of file qsvghandler.cpp.
References createFontNode(), createLinearGradientNode(), createRadialGradientNode(), createSolidColorNode(), and QStringView::mid().
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 4459 of file qsvghandler.cpp.
References QStringView::mid(), parseFontFaceNameNode(), parseFontFaceNode(), parseFontFaceSrcNode(), parseFontFaceUriNode(), parseGlyphNode(), parseMissingGlyphNode(), and parseStopNode().
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 4378 of file qsvghandler.cpp.
References QStringView::mid(), parseAimateMotionNode(), parseAnchorNode(), parseAnimateColorNode(), parseAnimateNode(), parseAnimateTransformNode(), parseAudioNode(), parseDiscardNode(), parseForeignObjectNode(), parseHandlerNode(), parseHkernNode(), parseMarkerNode(), parseMaskNode(), parseMetadataNode(), parseMpathNode(), parsePrefetchNode(), parseScriptNode(), parseSetNode(), parseStyleNode(), parseTbreakNode(), and QtSvg::Tiny12FeaturesOnly.
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 1307 of file qsvghandler.cpp.
References QStringView::at(), FontSizeNone, FontSizeValue, Large, Medium, Small, XLarge, XSmall, XXLarge, and XXSmall.
Referenced by parseFont().
Definition at line 777 of file qsvghandler.cpp.
References url.
Referenced by parseBrush(), parseExtendedAttributes(), parsePen(), and styleFromUrl().
|
inlinestatic |
Definition at line 592 of file qsvghandler.cpp.
Referenced by parseNumbersArray(), parseNumbersList(), and toDouble().
|
inlinestatic |
Definition at line 68 of file qsvghandler.cpp.
References prefixMessage(), QByteArrayLiteral, and toLocal8Bit().
|
inlinestatic |
Definition at line 63 of file qsvghandler.cpp.
References prefixMessage(), QByteArrayLiteral, and QString::toLocal8Bit().
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 2524 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2434 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2471 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), begin(), colors, QString::constBegin(), QString::constEnd(), QSvgNode::document(), ok, parseClockValue(), resolveColor(), QSvgTinyDocument::setAnimated(), QSvgHandler::setAnimPeriod(), QSvgAnimateColor::setArgs(), QSvgAnimateColor::setFreeze(), QSvgAnimateColor::setRepeatCount(), QString::size(), someId(), QString::split(), str, and toDouble().
Referenced by findUtilFactory().
|
static |
Definition at line 2442 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2540 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), begin(), QString::constData(), QSvgNode::document(), QSvgAnimateTransform::Empty, i, QString::isEmpty(), ok, parseClockValue(), parseNumberTriplet(), QSvgAnimateTransform::Replace, QSvgAnimateTransform::Rotate, QSvgAnimateTransform::Scale, QSvgTinyDocument::setAnimated(), QSvgHandler::setAnimPeriod(), QSvgAnimateTransform::setArgs(), QSvgAnimateTransform::setFreeze(), QSvgAnimateTransform::setRepeatCount(), QSvgAnimateTransform::SkewX, QSvgAnimateTransform::SkewY, someId(), QSvgAnimateTransform::Sum, toDouble(), QSvgAnimateTransform::Translate, and typeStr().
Referenced by findUtilFactory().
|
static |
Definition at line 2645 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2944 of file qsvghandler.cpp.
References constructColor(), QSvgHandler::document(), QSvgStyleProperty::GRADIENT, QString::isEmpty(), QStringView::isEmpty(), QGradient::ObjectMode, QGradient::PadSpread, parseTransformationMatrix(), QSvgHandler::popColor(), QSvgHandler::pushColor(), QGradient::ReflectSpread, QGradient::RepeatSpread, QGradient::setCoordinateMode(), QGradient::setSpread(), QSvgGradientStyle::setStopLink(), QGradient::setStops(), QSvgNode::styleProperty(), and QSvgStyleProperty::type().
Referenced by createLinearGradientNode(), and createRadialGradientNode().
|
static |
Definition at line 1007 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), QSvgAttributes::fill, QSvgAttributes::fillOpacity, QSvgAttributes::fillRule, QSvgStyleProperty::GRADIENT, QSvgAttributes::id, idFromUrl(), QStringView::isEmpty(), QStringView::mid(), Qt::NoBrush, Qt::OddEvenFill, QSvgStyleProperty::PATTERN, qMax(), qMin(), QT_INHERIT, resolveColor(), QSvgFillStyle::setBrush(), QSvgFillStyle::setFillOpacity(), QSvgFillStyle::setFillRule(), QSvgFillStyle::setFillStyle(), QSvgFillStyle::setPaintStyleId(), QSvgFillStyle::setPaintStyleResolved(), QStringView::size(), QSvgStyleProperty::SOLID_COLOR, styleFromUrl(), toDouble(), QSvgStyleProperty::type(), and Qt::WindingFill.
Referenced by parseStyle().
|
static |
Definition at line 2450 of file qsvghandler.cpp.
References QString::chop(), QString::endsWith(), ok, str, toDouble(), and QString::trimmed().
Referenced by parseAnimateColorNode(), and parseAnimateTransformNode().
|
static |
Definition at line 991 of file qsvghandler.cpp.
References QSvgAttributes::color, QSvgAttributes::colorOpacity, constructColor(), QSvgHandler::popColor(), and QSvgHandler::pushColor().
Referenced by parseStyle().
|
static |
Definition at line 2230 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), QSvgAttributes::compOp, QSvgAttributes::id, QStringView::isEmpty(), svgToQtCompositionMode(), QStringView::toString(), and QString::trimmed().
Referenced by parseStyle().
|
static |
Definition at line 2103 of file qsvghandler.cpp.
References i, QSvgNode::setNodeId(), QSvgNode::setRequiredExtensions(), QSvgNode::setRequiredFeatures(), QSvgNode::setRequiredFonts(), QSvgNode::setRequiredFormats(), QSvgNode::setRequiredLanguages(), QSvgNode::setXmlClass(), someId(), stringToList(), and QStringView::toString().
Referenced by QSvgHandler::startElement().
|
static |
Definition at line 1945 of file qsvghandler.cpp.
References QString::append(), QCss::Declaration::d, QCss::Value::Function, i, QCss::Value::KnownIdentifier, QString::prepend(), QCss::Value::Uri, and QCss::Value_None.
Referenced by cssStyleLookup().
|
static |
Definition at line 2680 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2299 of file qsvghandler.cpp.
References QSvgAttributes::filter, idFromUrl(), QStringView::isEmpty(), QSvgAttributes::markerEnd, QSvgAttributes::markerMid, QSvgAttributes::markerStart, QSvgAttributes::mask, QString::mid(), QSvgHandler::options(), QString::remove(), QSvgNode::setFilterId(), QSvgNode::setMarkerEndId(), QSvgNode::setMarkerMidId(), QSvgNode::setMarkerStartId(), QSvgNode::setMaskId(), QString::startsWith(), QtSvg::Tiny12FeaturesOnly, QStringView::toString(), and QString::trimmed().
Referenced by parseStyle().
|
static |
Definition at line 3253 of file qsvghandler.cpp.
References parseFilterBounds(), and rect.
Referenced by createFeColorMatrixNode(), createFeCompositeNode(), createFeFloodNode(), createFeGaussianBlurNode(), createFeMergeNode(), createFeMergeNodeNode(), createFeOffsetNode(), and createFeUnsupportedNode().
|
static |
Definition at line 3163 of file qsvghandler.cpp.
References convertToPixels(), QSvgHandler::LT_PERCENT, QSvgHandler::LT_PT, QtSvg::objectBoundingBox, parseLength(), and rect.
Referenced by createFilterNode(), and parseFilterAttributes().
|
static |
Definition at line 1342 of file qsvghandler.cpp.
References Qt::AlignHCenter, Qt::AlignLeft, Qt::AlignRight, QSvgNode::appendStyleProperty(), QString::at(), QFont::Bold, QSvgFontStyle::BOLDER, convertToPixels(), QSvgNode::document(), QSvgAttributes::fontFamily, QSvgAttributes::fontSize, FontSizeNone, fontSizeSpec(), FontSizeValue, QSvgAttributes::fontStyle, QSvgAttributes::fontVariant, QSvgAttributes::fontWeight, QSvgAttributes::id, QStringView::isEmpty(), QSvgFontStyle::LIGHTER, QString::mid(), QFont::MixedCase, QFont::Normal, ok, parseLength(), qMin(), QT_INHERIT, QString::size(), sizeTable, QFont::SmallCaps, QFont::StyleItalic, QFont::StyleNormal, QFont::StyleOblique, QSvgTinyDocument::svgFont(), QSvgAttributes::textAnchor, QStringView::toInt(), QStringView::toString(), and QString::trimmed().
Referenced by parseStyle().
|
static |
Definition at line 2760 of file qsvghandler.cpp.
References QSvgTinyDocument::addSvgFont(), QSvgFontStyle::doc(), font, QSvgStyleProperty::FONT, QSvgFontStyle::svgFont(), QSvgTinyDocument::svgFont(), toString(), and QSvgStyleProperty::type().
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2732 of file qsvghandler.cpp.
References QSvgTinyDocument::addSvgFont(), QSvgFont::DEFAULT_UNITS_PER_EM, QSvgFontStyle::doc(), font, QSvgStyleProperty::FONT, QSvgFontStyle::svgFont(), QSvgTinyDocument::svgFont(), toDouble(), toString(), and QSvgStyleProperty::type().
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2782 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2790 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2798 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2815 of file qsvghandler.cpp.
References createSvgGlyph(), font, QSvgStyleProperty::FONT, QSvgFontStyle::svgFont(), and QSvgStyleProperty::type().
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2829 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2837 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 891 of file qsvghandler.cpp.
References QString::chop(), QSvgHandler::defaultCoordinateSystem(), QSvgHandler::LT_CM, QSvgHandler::LT_IN, QSvgHandler::LT_MM, QSvgHandler::LT_OTHER, QSvgHandler::LT_PC, QSvgHandler::LT_PERCENT, QSvgHandler::LT_PT, QSvgHandler::LT_PX, ok, str, toDouble(), and QString::trimmed().
Referenced by convertToNumber(), createFeOffsetNode(), createImageNode(), createMaskNode(), createPatternNode(), createRectNode(), createSvgNode(), createTextAreaNode(), createTextNode(), createUseNode(), parseFilterBounds(), parseFont(), parsePen(), and parseSymbolLikeAttributes().
|
static |
Definition at line 3079 of file qsvghandler.cpp.
Referenced by findUtilFactory().
|
static |
Definition at line 3071 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 3041 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 3049 of file qsvghandler.cpp.
References createSvgGlyph(), font, QSvgStyleProperty::FONT, QSvgFontStyle::svgFont(), and QSvgStyleProperty::type().
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 3063 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
inlinestatic |
Definition at line 715 of file qsvghandler.cpp.
References QString::append(), isDigit(), qstrlen(), str, toDouble(), and QString::unicode().
Referenced by parsePathDataFast(), and parseTransformationMatrix().
Definition at line 687 of file qsvghandler.cpp.
References QString::append(), isDigit(), str, toDouble(), and QString::unicode().
Referenced by createPolygonNode(), createPolylineNode(), parseNumberTriplet(), parsePen(), and resolveColor().
Definition at line 2532 of file qsvghandler.cpp.
References QList< T >::append(), i, list, parseNumbersList(), and QList< T >::size().
Referenced by parseAnimateTransformNode().
|
static |
Definition at line 2154 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), QSvgAttributes::id, QStringView::isEmpty(), ok, QSvgAttributes::opacity, qBound(), QStringView::toDouble(), and QStringView::trimmed().
Referenced by parseStyle().
|
static |
Definition at line 2286 of file qsvghandler.cpp.
References QSvgAttributes::display, displayStringToEnum(), QStringView::isEmpty(), QSvgNode::setDisplayMode(), QStringView::toString(), and QString::trimmed().
Referenced by parseStyle().
|
static |
Definition at line 1607 of file qsvghandler.cpp.
References arg, c2, QString::constData(), ok, parseNumbersArray(), pathArc(), rx(), ry(), QString::size(), str, QPointF::x(), and QPointF::y().
Referenced by createPathNode(), and createSvgGlyph().
|
static |
Definition at line 1185 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), Qt::BevelJoin, Qt::FlatCap, QSvgStyleProperty::GRADIENT, QSvgAttributes::id, idFromUrl(), QStringView::isEmpty(), QStringView::mid(), Qt::NoBrush, parseLength(), parseNumbersList(), QSvgStyleProperty::PATTERN, qMax(), qMin(), QT_INHERIT, resolveColor(), Qt::RoundCap, Qt::RoundJoin, QSvgStrokeStyle::setDashArray(), QSvgStrokeStyle::setDashArrayNone(), QSvgStrokeStyle::setDashOffset(), QSvgStrokeStyle::setLineCap(), QSvgStrokeStyle::setLineJoin(), QSvgStrokeStyle::setMiterLimit(), QSvgStrokeStyle::setOpacity(), QSvgStrokeStyle::setPaintStyleId(), QSvgStrokeStyle::setPaintStyleResolved(), QSvgStrokeStyle::setStroke(), QSvgStrokeStyle::setStyle(), QSvgStrokeStyle::setVectorEffect(), QSvgStrokeStyle::setWidth(), QStringView::size(), QSvgStyleProperty::SOLID_COLOR, Qt::SquareCap, QSvgAttributes::stroke, QSvgAttributes::strokeDashArray, QSvgAttributes::strokeDashOffset, QSvgAttributes::strokeLineCap, QSvgAttributes::strokeLineJoin, QSvgAttributes::strokeMiterLimit, QSvgAttributes::strokeOpacity, QSvgAttributes::strokeWidth, styleFromUrl(), Qt::SvgMiterJoin, toDouble(), QStringView::toString(), QSvgStyleProperty::type(), and QSvgAttributes::vectorEffect.
Referenced by parseStyle().
Definition at line 746 of file qsvghandler.cpp.
References QString::append(), str, and toDouble().
Referenced by resolveColor().
|
static |
Definition at line 3754 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 2362 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), QSvgAttributes::id, QSvgAttributes::imageRendering, QSvgQualityStyle::ImageRenderingAuto, QSvgQualityStyle::ImageRenderingOptimizeQuality, QSvgQualityStyle::ImageRenderingOptimizeSpeed, QStringView::isEmpty(), QStringView::toString(), and QString::trimmed().
Referenced by parseStyle().
|
static |
Definition at line 3852 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 3860 of file qsvghandler.cpp.
References Q_UNUSED.
Referenced by findUtilFactory().
|
static |
Definition at line 3886 of file qsvghandler.cpp.
References QList< T >::at(), attrs, QList< T >::back(), black, constructColor(), convertToNumber(), cssStyleLookup(), QString::fromLatin1(), QSvgStyleProperty::GRADIENT, QSvgGradientStyle::gradientStopsSet(), ok, parseStyle(), QSvgGradientStyle::qgradient(), qMax(), qMin(), QSvgHandler::selector(), QGradient::setColorAt(), QSvgGradientStyle::setGradientStopsSet(), QSvgNode::setNodeId(), QGradient::setStops(), QSvgNode::setXmlClass(), QList< T >::size(), someId(), QGradient::stops(), and QSvgStyleProperty::type().
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2381 of file qsvghandler.cpp.
References parseBrush(), parseColor(), parseCompOp(), parseExtendedAttributes(), parseFont(), parseOpacity(), parseOthers(), parsePen(), parseRenderingHints(), parseTransform(), and parseVisibility().
|
static |
Definition at line 2427 of file qsvghandler.cpp.
References attrs, and parseStyle().
Referenced by cssStyleLookup(), parseStopNode(), parseStyle(), and QSvgHandler::startElement().
|
static |
Definition at line 3953 of file qsvghandler.cpp.
References Qt::CaseInsensitive, Q_UNUSED, and QSvgHandler::setInStyle().
Referenced by findUtilFactory().
|
static |
Definition at line 3503 of file qsvghandler.cpp.
References QString::at(), QSvgSymbolLike::Auto, convertToPixels(), QSvgHandler::document(), QSvgSymbolLike::Hidden, QRectF::isNull(), QSvgHandler::LT_PT, QSvgSymbolLike::meet, QSvgSymbolLike::None, parseLength(), rect, QSvgSymbolLike::Scroll, Qt::SkipEmptyParts, QSvgSymbolLike::slice, toString(), QSvgTinyDocument::viewBox(), QSvgSymbolLike::Visible, QSvgSymbolLike::xMax, QSvgSymbolLike::xMid, QSvgSymbolLike::xMin, QSvgSymbolLike::yMax, QSvgSymbolLike::yMid, and QSvgSymbolLike::yMin.
Referenced by createMarkerNode(), and createSymbolNode().
|
static |
Definition at line 4142 of file qsvghandler.cpp.
References QSvgNode::Textarea, and QSvgNode::type().
Referenced by findUtilFactory().
|
static |
Definition at line 1434 of file qsvghandler.cpp.
References QSvgNode::appendStyleProperty(), QSvgAttributes::id, QStringView::isEmpty(), parseTransformationMatrix(), QSvgAttributes::transform, and QStringView::trimmed().
Referenced by parseStyle().
|
static |
Definition at line 1055 of file qsvghandler.cpp.
References QString::constData(), error, i, ident, parseNumbersArray(), qDegreesToRadians(), qTan(), QString::size(), state, str, and QTransform::translate().
Referenced by createPatternNode(), parseBaseGradient(), and parseTransform().
|
static |
Definition at line 1448 of file qsvghandler.cpp.
References QStringView::isEmpty(), QSvgNode::isVisible(), QSvgNode::parent(), QT_INHERIT, QSvgNode::setVisible(), and QSvgAttributes::visibility.
Referenced by parseStyle().
|
static |
Definition at line 1521 of file qsvghandler.cpp.
References d, i, pathArcSegment(), Q_PI, qAbs(), qAtan2(), qCeil(), qCos(), qSin(), qSqrt(), rx(), and ry().
Referenced by QQuickSvgParser::parsePathDataFast(), and parsePathDataFast().
|
static |
Definition at line 43 of file qsvghandler.cpp.
References QByteArray::append(), QFile::encodeName(), file, QFile::fileName(), QByteArray::number(), QByteArrayLiteral, and QDir::toNativeSeparators().
Referenced by msgCouldNotResolveProperty(), msgProblemParsing(), and QSvgHandler::startElement().
Q_STATIC_ASSERT | ( | sizeof(sizeTable)/sizeof(sizeTable[0]) | = =FontSizeNone | ) |
bool qsvg_get_hex_rgb | ( | const char * | name, |
QRgb * | rgb ) |
Definition at line 99 of file qsvghandler.cpp.
References ok, qRgb(), qstrlen(), qsvg_hex2int(), and rgb.
Referenced by qsvg_get_hex_rgb(), and resolveColor().
Definition at line 134 of file qsvghandler.cpp.
References i, qsvg_get_hex_rgb(), rgb, and str.
|
inlinestatic |
Definition at line 75 of file qsvghandler.cpp.
Referenced by qsvg_hex2int(), and qsvg_hex2int().
|
inlinestatic |
Definition at line 93 of file qsvghandler.cpp.
References ok, and qsvg_h2i().
|
inlinestatic |
Definition at line 88 of file qsvghandler.cpp.
References ok, and qsvg_h2i().
Referenced by qsvg_get_hex_rgb().
|
static |
returns true when successfully set the color. false signifies that the color should be inherited
Definition at line 811 of file qsvghandler.cpp.
References QSvgHandler::currentColor(), QColor::fromString(), i, ok, parseNumbersList(), parsePercentageList(), QRgb, qsvg_get_hex_rgb(), QT_INHERIT, rgb, and QStringView::trimmed().
Referenced by constructColor(), parseAnimateColorNode(), parseBrush(), and parsePen().
|
inlinestatic |
Definition at line 149 of file qsvghandler.cpp.
Referenced by createFontNode(), createPatternNode(), parseAnimateColorNode(), parseAnimateTransformNode(), parseCoreNode(), parseStopNode(), and QSvgHandler::startElement().
|
inlinestatic |
Definition at line 2097 of file qsvghandler.cpp.
References Qt::SkipEmptyParts, QString::split(), and str.
Referenced by parseCoreNode().
|
static |
Definition at line 1002 of file qsvghandler.cpp.
References idFromUrl(), QSvgNode::styleProperty(), and url.
Referenced by parseBrush(), and parsePen().
|
static |
Definition at line 2172 of file qsvghandler.cpp.
References QPainter::CompositionMode_Clear, QPainter::CompositionMode_ColorBurn, QPainter::CompositionMode_ColorDodge, QPainter::CompositionMode_Darken, QPainter::CompositionMode_Destination, QPainter::CompositionMode_DestinationAtop, QPainter::CompositionMode_DestinationIn, QPainter::CompositionMode_DestinationOut, QPainter::CompositionMode_DestinationOver, QPainter::CompositionMode_Difference, QPainter::CompositionMode_Exclusion, QPainter::CompositionMode_HardLight, QPainter::CompositionMode_Lighten, QPainter::CompositionMode_Multiply, QPainter::CompositionMode_Overlay, QPainter::CompositionMode_Plus, QPainter::CompositionMode_Screen, QPainter::CompositionMode_SoftLight, QPainter::CompositionMode_Source, QPainter::CompositionMode_SourceAtop, QPainter::CompositionMode_SourceIn, QPainter::CompositionMode_SourceOut, QPainter::CompositionMode_SourceOver, QPainter::CompositionMode_Xor, and NOOP.
Referenced by parseCompOp().
Definition at line 598 of file qsvghandler.cpp.
References QByteArray::fromRawData(), isDigit(), pos, qFpClassify(), str, QString::toLatin1(), and QString::unicode().
Referenced by constructColor(), createCircleNode(), createEllipseNode(), createFeColorMatrixNode(), createFeCompositeNode(), createFeGaussianBlurNode(), createFontNode(), createImageNode(), createLineNode(), createMarkerNode(), createRadialGradientNode(), createRectNode(), createSvgGlyph(), parseAnimateColorNode(), parseAnimateTransformNode(), parseBrush(), parseClockValue(), parseFontFaceNode(), parseLength(), parseNumbersArray(), parseNumbersList(), parsePen(), parsePercentageList(), and toDouble().
|
static |
Definition at line 678 of file qsvghandler.cpp.
References QString::constData(), ok, QString::size(), str, and toDouble().
|
static |
Definition at line 40 of file qsvghandler.cpp.
|
static |
|
static |
Definition at line 4596 of file qsvghandler.cpp.