![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qplatformdefs.h"#include "qsvghandler_p.h"#include "qsvgdocument_p.h"#include "qsvgstructure_p.h"#include "qsvggraphics_p.h"#include "qsvgfilter_p.h"#include "qsvgnode_p.h"#include "qsvgfont_p.h"#include "qsvganimate_p.h"#include "qpen.h"#include "qpainterpath.h"#include "qbrush.h"#include "qcolor.h"#include "qtextformat.h"#include <QtCore/private/qdataurl_p.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 "qimagereader.h"#include "float.h"#include <algorithm>#include <memory>Go to the source code of this file.
Classes | |
| struct | QSvgAttributes |
Namespaces | |
| namespace | tokens |
Macros | |
| #define | NOOP qDebug()<<"Operation: "<<op<<" is not implemented" |
Typedefs | |
| typedef QSvgNode *(* | FactoryMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
| typedef QSvgNode *(* | AnimationMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
| typedef bool(* | ParseMethod) (QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
| typedef QSvgStyleProperty *(* | StyleFactoryMethod) (const QXmlStreamAttributes &, QSvgHandler *) |
| typedef bool(* | StyleParseMethod) (QSvgStyleProperty *, const QXmlStreamAttributes &, QSvgHandler *) |
| typedef QSvgPaintServerSharedPtr(* | PaintServerFactoryMethod) (const QXmlStreamAttributes &, QSvgHandler *) |
| typedef bool(* | PaintServerParseMethod) (QSvgPaintServer *, const QXmlStreamAttributes &, QSvgHandler *) |
Enumerations | |
| enum | FontSizeSpec { XXSmall , XSmall , Small , Medium , Large , XLarge , XXLarge , FontSizeNone , FontSizeValue , XXSmall , XSmall , Small , Medium , Large , XLarge , XXLarge , FontSizeNone , FontSizeValue } |
| enum | FontSizeSpec { XXSmall , XSmall , Small , Medium , Large , XLarge , XXLarge , FontSizeNone , FontSizeValue , XXSmall , XSmall , Small , Medium , Large , XLarge , XXLarge , FontSizeNone , FontSizeValue } |
Functions | |
| static QByteArray | prefixMessage (const QByteArray &msg, const QXmlStreamReader *r) |
| static QByteArray | msgProblemParsing (QStringView localName, const QXmlStreamReader *r) |
| static QByteArray | msgCouldNotResolveProperty (QStringView id, const QXmlStreamReader *r) |
| static QList< QStringView > | splitWithDelimiter (QStringView delimitedList) |
| 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 QString | someId (const QXmlStreamAttributes &attributes) |
| QList< qreal > | parseNumbersList (QStringView *str) |
| static QList< qreal > | parsePercentageList (QStringView str) |
| static QStringView | idFromIRI (QStringView iri) |
| static QStringView | idFromFuncIRI (QStringView iri) |
| bool | resolveColor (QStringView colorStr, QColor &color, QSvgHandler *handler) |
| void | setAlpha (QStringView opacity, QColor *color) |
| static bool | constructColor (QStringView colorStr, QStringView opacity, QColor &color, QSvgHandler *handler) |
| static qreal | convertToNumber (QStringView str, bool *ok=NULL) |
| static bool | createSvgGlyph (QSvgFont *font, const QXmlStreamAttributes &attributes, bool isMissingGlyph) |
| static void | parseColor (QSvgNode *, const QSvgAttributes &attributes, QSvgHandler *handler) |
| static QSvgPaintServerSharedPtr | paintServerFromUrl (QSvgDocument *doc, QStringView 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 std::optional< QFont::Style > | parseFontStyle (QStringView s) |
| static std::optional< qreal > | parseFontSize (QStringView s) |
| static std::optional< int > | parseFontWeight (QStringView s) |
| static std::optional< QFont::Capitalization > | parseFontVariant (const QSvgAttributes &attributes) |
| static std::optional< Qt::Alignment > | parseTextAnchor (QStringView s) |
| static void | parseFont (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
| static void | parseTransform (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
| static void | parseVisibility (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
| static bool | parseStyle (QSvgNode *node, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static int | parseClockValue (QStringView str, bool *ok) |
| static void | parseCssAnimations (QSvgNode *node, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static void | parseOffsetPath (QSvgNode *node, const QXmlStreamAttributes &attributes) |
| 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 QStringView op) |
| static void | parseCompOp (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
| static QSvgNode::DisplayMode | displayStringToEnum (const QStringView str) |
| static void | parseOthers (QSvgNode *node, const QSvgAttributes &attributes, QSvgHandler *) |
| static std::optional< QStringView > | getAttributeId (const QStringView &attribute) |
| 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 | parseBaseAnimate (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgAnimateNode *anim, QSvgHandler *handler) |
| static void | generateKeyFrames (QList< qreal > &keyFrames, uint count) |
| static QSvgNode * | createAnimateColorNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static QSvgNode * | createAnimateMotionNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static void | parseNumberTriplet (QList< qreal > &values, QStringView *s) |
| static void | parseNumberTriplet (QList< qreal > &values, QStringView s) |
| QSvgNode * | createAnimateTransformNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static QSvgNode * | createAnimateNode (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 (const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| 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 (const QXmlStreamAttributes &attributes, QSvgGradientPaint *gradProp, QSvgHandler *handler) |
| static QSvgPaintServerSharedPtr | createLinearGradientNode (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 (const QXmlStreamAttributes &attributes, QSvgRectF *rect) |
| static QSvgNode * | createFilterNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static void | parseFilterAttributes (const QXmlStreamAttributes &attributes, QString *inString, QString *outString, QSvgRectF *rect) |
| static QSvgNode * | createFeColorMatrixNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgNode * | createFeGaussianBlurNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgNode * | createFeOffsetNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgNode * | createFeCompositeNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgNode * | createFeMergeNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgNode * | createFeFloodNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static QSvgNode * | createFeMergeNodeNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgNode * | createFeBlendNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgNode * | createFeUnsupportedNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static std::optional< QRectF > | parseViewBox (QStringView str) |
| 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 * | createPolyNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, bool createLine) |
| 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 QSvgPaintServerSharedPtr | createRadialGradientNode (const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static QSvgNode * | createRectNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static bool | parseScriptNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static bool | parseSetNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static QSvgPaintServerSharedPtr | createSolidColorNode (const QXmlStreamAttributes &attributes, QSvgHandler *handler) |
| static bool | parseStopNode (QSvgPaintServer *paintServer, 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 *) |
| 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 *) |
| static QSvgNode * | createVideoNode (QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *) |
| static FactoryMethod | findGroupFactory (const QStringView name, QtSvg::Options options) |
| static FactoryMethod | findGraphicsFactory (const QStringView name, QtSvg::Options options) |
| static FactoryMethod | findFilterFactory (const QStringView name, QtSvg::Options options) |
| static AnimationMethod | findAnimationFactory (const QStringView name, QtSvg::Options options) |
| static ParseMethod | findUtilFactory (const QStringView name, QtSvg::Options options) |
| static StyleFactoryMethod | findStyleFactoryMethod (const QStringView name) |
| static StyleParseMethod | findStyleUtilFactoryMethod (const QStringView name) |
| static PaintServerFactoryMethod | findPaintServerFactoryMethod (const QStringView name) |
| static PaintServerParseMethod | findPaintServerUtilFactoryMethod (const QStringView name) |
| static bool | detectPatternCycles (const QSvgNode *node, QList< const QSvgNode * > active={}) |
| static bool | detectCycles (const QSvgNode *node, QList< const QSvgNode * > active={}) |
| static bool | detectCyclesAndWarn (const QSvgNode *node) |
Variables | |
| static const qreal | sizeTable [] |
| #define NOOP qDebug()<<"Operation: "<<op<<" is not implemented" |
| typedef QSvgNode *(* AnimationMethod)(QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3472 of file qsvghandler.cpp.
| typedef QSvgNode *(* FactoryMethod)(QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3348 of file qsvghandler.cpp.
| typedef QSvgPaintServerSharedPtr(* PaintServerFactoryMethod)(const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3589 of file qsvghandler.cpp.
| typedef bool(* PaintServerParseMethod)(QSvgPaintServer *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3614 of file qsvghandler.cpp.
| typedef bool(* ParseMethod)(QSvgNode *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3495 of file qsvghandler.cpp.
| typedef QSvgStyleProperty *(* StyleFactoryMethod)(const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3541 of file qsvghandler.cpp.
| typedef bool(* StyleParseMethod)(QSvgStyleProperty *, const QXmlStreamAttributes &, QSvgHandler *) |
Definition at line 3560 of file qsvghandler.cpp.
| enum FontSizeSpec |
| Enumerator | |
|---|---|
| XXSmall | |
| XSmall | |
| Small | |
| Medium | |
| Large | |
| XLarge | |
| XXLarge | |
| FontSizeNone | |
| FontSizeValue | |
| XXSmall | |
| XSmall | |
| Small | |
| Medium | |
| Large | |
| XLarge | |
| XXLarge | |
| FontSizeNone | |
| FontSizeValue | |
Definition at line 876 of file qsvghandler.cpp.
| enum FontSizeSpec |
| Enumerator | |
|---|---|
| XXSmall | |
| XSmall | |
| Small | |
| Medium | |
| Large | |
| XLarge | |
| XXLarge | |
| FontSizeNone | |
| FontSizeValue | |
| XXSmall | |
| XSmall | |
| Small | |
| Medium | |
| Large | |
| XLarge | |
| XXLarge | |
| FontSizeNone | |
| FontSizeValue | |
Definition at line 876 of file qsvghandler.cpp.
|
static |
Definition at line 531 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 541 of file qsvghandler.cpp.
References QSvgUtils::LT_PERCENT.
|
static |
Definition at line 1558 of file qsvghandler.cpp.
|
static |
Definition at line 1608 of file qsvghandler.cpp.
|
static |
Definition at line 1731 of file qsvghandler.cpp.
| QSvgNode * createAnimateTransformNode | ( | QSvgNode * | parent, |
| const QXmlStreamAttributes & | attributes, | ||
| QSvgHandler * | handler ) |
Definition at line 1629 of file qsvghandler.cpp.
|
static |
Definition at line 1747 of file qsvghandler.cpp.
|
static |
Definition at line 1765 of file qsvghandler.cpp.
|
static |
Definition at line 1782 of file qsvghandler.cpp.
|
static |
Definition at line 2588 of file qsvghandler.cpp.
|
static |
Definition at line 2367 of file qsvghandler.cpp.
|
static |
Definition at line 2479 of file qsvghandler.cpp.
|
static |
Definition at line 2548 of file qsvghandler.cpp.
|
static |
Definition at line 2412 of file qsvghandler.cpp.
|
static |
Definition at line 2534 of file qsvghandler.cpp.
|
static |
Definition at line 2574 of file qsvghandler.cpp.
|
static |
Definition at line 2445 of file qsvghandler.cpp.
References QSvgUtils::LT_PT.
|
static |
Definition at line 2616 of file qsvghandler.cpp.
|
static |
Definition at line 2313 of file qsvghandler.cpp.
References QtSvg::objectBoundingBox, and QtSvg::userSpaceOnUse.
|
static |
Definition at line 1800 of file qsvghandler.cpp.
|
static |
Definition at line 1895 of file qsvghandler.cpp.
|
static |
Definition at line 1933 of file qsvghandler.cpp.
References QtSvg::Tiny12FeaturesOnly.
|
static |
Definition at line 2096 of file qsvghandler.cpp.
|
static |
Definition at line 2015 of file qsvghandler.cpp.
|
static |
Definition at line 2785 of file qsvghandler.cpp.
|
static |
Definition at line 2171 of file qsvghandler.cpp.
References QSvgUtils::LT_PERCENT, QtSvg::objectBoundingBox, and QtSvg::userSpaceOnUse.
|
static |
Definition at line 2831 of file qsvghandler.cpp.
|
static |
Definition at line 3152 of file qsvghandler.cpp.
References QSvgUtils::LT_PERCENT, QtSvg::objectBoundingBox, and QtSvg::userSpaceOnUse.
|
static |
Definition at line 2866 of file qsvghandler.cpp.
|
static |
Definition at line 2873 of file qsvghandler.cpp.
|
static |
Definition at line 2849 of file qsvghandler.cpp.
|
static |
Definition at line 2888 of file qsvghandler.cpp.
|
static |
Definition at line 2926 of file qsvghandler.cpp.
References QSvgUtils::toDouble().
|
static |
Definition at line 2993 of file qsvghandler.cpp.
|
static |
Definition at line 551 of file qsvghandler.cpp.
|
static |
Definition at line 3101 of file qsvghandler.cpp.
References QSvgUtils::LT_PERCENT, QSvgUtils::LT_PT, and QSvgUtils::LT_PX.
|
static |
Definition at line 3143 of file qsvghandler.cpp.
|
static |
Definition at line 2768 of file qsvghandler.cpp.
|
static |
Definition at line 3263 of file qsvghandler.cpp.
|
static |
Definition at line 3246 of file qsvghandler.cpp.
|
static |
Definition at line 3277 of file qsvghandler.cpp.
|
static |
Definition at line 3284 of file qsvghandler.cpp.
|
static |
Definition at line 3340 of file qsvghandler.cpp.
Definition at line 3697 of file qsvghandler.cpp.
|
static |
Definition at line 3748 of file qsvghandler.cpp.
Definition at line 3674 of file qsvghandler.cpp.
|
static |
Definition at line 1351 of file qsvghandler.cpp.
|
static |
Definition at line 3474 of file qsvghandler.cpp.
References QtSvg::DisableSMILAnimations.
|
static |
Definition at line 3429 of file qsvghandler.cpp.
References QtSvg::Tiny12FeaturesOnly.
|
static |
Definition at line 3384 of file qsvghandler.cpp.
|
static |
Definition at line 3350 of file qsvghandler.cpp.
References QtSvg::Tiny12FeaturesOnly.
|
static |
Definition at line 3592 of file qsvghandler.cpp.
|
static |
Definition at line 3618 of file qsvghandler.cpp.
|
static |
Definition at line 3544 of file qsvghandler.cpp.
|
static |
Definition at line 3564 of file qsvghandler.cpp.
References parseFontFaceNameNode(), parseFontFaceNode(), parseFontFaceSrcNode(), parseFontFaceUriNode(), parseGlyphNode(), and parseMissingGlyphNode().
|
static |
Definition at line 3497 of file qsvghandler.cpp.
References QtSvg::Tiny12FeaturesOnly.
|
static |
Definition at line 884 of file qsvghandler.cpp.
References FontSizeNone, FontSizeValue, Large, Medium, Small, XLarge, XSmall, XXLarge, and XXSmall.
Definition at line 1547 of file qsvghandler.cpp.
|
static |
Definition at line 1406 of file qsvghandler.cpp.
|
static |
The form is <FuncIRI>, where FuncIRI takes the form of url(<IRI>). This syntax is used in properties that accept both strings and IRIs, eliminating any ambiguity. e.g, fill = "url(#id)"
Definition at line 437 of file qsvghandler.cpp.
|
static |
The form is <IRI>. This function parses local IRI references, i.e, resources referenced within the current document. e.g, href = "#id"
Definition at line 421 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 93 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 88 of file qsvghandler.cpp.
|
static |
Definition at line 588 of file qsvghandler.cpp.
|
static |
Definition at line 1490 of file qsvghandler.cpp.
|
static |
Definition at line 1739 of file qsvghandler.cpp.
|
static |
Definition at line 1498 of file qsvghandler.cpp.
|
static |
Definition at line 2034 of file qsvghandler.cpp.
|
static |
Definition at line 594 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1125 of file qsvghandler.cpp.
|
static |
Definition at line 577 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1337 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1211 of file qsvghandler.cpp.
|
static |
Definition at line 1148 of file qsvghandler.cpp.
|
static |
Definition at line 1774 of file qsvghandler.cpp.
|
static |
Definition at line 1414 of file qsvghandler.cpp.
References QtSvg::Tiny12FeaturesOnly.
Referenced by parseStyle().
|
static |
Definition at line 2348 of file qsvghandler.cpp.
References QtSvg::unknown.
Definition at line 2248 of file qsvghandler.cpp.
References QSvgUtils::LT_PERCENT, QSvgUtils::LT_PT, QtSvg::objectBoundingBox, and QtSvg::userSpaceOnUse.
|
static |
Definition at line 1043 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1849 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 1821 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 1871 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 1879 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 934 of file qsvghandler.cpp.
References FontSizeNone, and FontSizeValue.
|
static |
Definition at line 919 of file qsvghandler.cpp.
|
static |
Definition at line 991 of file qsvghandler.cpp.
|
static |
Definition at line 966 of file qsvghandler.cpp.
|
static |
Definition at line 1887 of file qsvghandler.cpp.
|
static |
Definition at line 1904 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 1917 of file qsvghandler.cpp.
|
static |
Definition at line 1925 of file qsvghandler.cpp.
|
static |
Definition at line 2164 of file qsvghandler.cpp.
|
static |
Definition at line 2156 of file qsvghandler.cpp.
|
static |
Definition at line 2127 of file qsvghandler.cpp.
|
static |
Definition at line 2135 of file qsvghandler.cpp.
Referenced by findStyleUtilFactoryMethod().
|
static |
Definition at line 2148 of file qsvghandler.cpp.
| QList< qreal > parseNumbersList | ( | QStringView * | str | ) |
Definition at line 359 of file qsvghandler.cpp.
References QSvgUtils::isDigit().
|
static |
Definition at line 1616 of file qsvghandler.cpp.
|
static |
Definition at line 1624 of file qsvghandler.cpp.
Definition at line 1171 of file qsvghandler.cpp.
|
static |
Definition at line 1261 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 1393 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 767 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 387 of file qsvghandler.cpp.
|
static |
Definition at line 2880 of file qsvghandler.cpp.
|
static |
Definition at line 1433 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 2977 of file qsvghandler.cpp.
|
static |
Definition at line 2985 of file qsvghandler.cpp.
|
static |
Definition at line 3010 of file qsvghandler.cpp.
|
static |
Definition at line 1451 of file qsvghandler.cpp.
References QtSvg::DisableCSSAnimations, parseBrush(), parseColor(), parseCompOp(), parseExtendedAttributes(), parseFont(), parseOpacity(), parseOthers(), parsePen(), parseRenderingHints(), parseTransform(), and parseVisibility().
|
static |
Definition at line 3084 of file qsvghandler.cpp.
|
static |
Definition at line 2647 of file qsvghandler.cpp.
References QSvgUtils::LT_PT.
|
static |
Definition at line 3236 of file qsvghandler.cpp.
|
static |
Definition at line 1025 of file qsvghandler.cpp.
|
static |
Definition at line 1093 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 640 of file qsvghandler.cpp.
References QSvgUtils::parseNumbersArray().
|
static |
Definition at line 2630 of file qsvghandler.cpp.
|
static |
Definition at line 1107 of file qsvghandler.cpp.
Referenced by parseStyle().
|
static |
Definition at line 68 of file qsvghandler.cpp.
| Q_STATIC_ASSERT | ( | sizeof(sizeTable)/sizeof(sizeTable[0]) | = =FontSizeNone | ) |
| bool qsvg_get_hex_rgb | ( | const char * | name, |
| QRgb * | rgb ) |
Definition at line 130 of file qsvghandler.cpp.
References qsvg_hex2int(), and qsvg_hex2int().
Definition at line 165 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 106 of file qsvghandler.cpp.
Referenced by qsvg_hex2int(), and qsvg_hex2int().
|
inlinestatic |
Definition at line 124 of file qsvghandler.cpp.
References qsvg_h2i().
Referenced by qsvg_get_hex_rgb().
|
inlinestatic |
Definition at line 119 of file qsvghandler.cpp.
References qsvg_h2i().
Referenced by qsvg_get_hex_rgb().
| bool resolveColor | ( | QStringView | colorStr, |
| QColor & | color, | ||
| QSvgHandler * | handler ) |
returns true when successfully set the color. false signifies that the color should be inherited
Definition at line 458 of file qsvghandler.cpp.
| void setAlpha | ( | QStringView | opacity, |
| QColor * | color ) |
Definition at line 522 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 178 of file qsvghandler.cpp.
|
static |
Definition at line 98 of file qsvghandler.cpp.
|
inlinestatic |
Definition at line 1205 of file qsvghandler.cpp.
|
static |
Definition at line 1279 of file qsvghandler.cpp.