4#ifndef QSVGCSSHANDLER_P_H
5#define QSVGCSSHANDLER_P_H
18#include <QtSvg/private/qtsvgglobal_p.h>
19#include <QtSvg/private/qsvgcssanimation_p.h>
20#include <QtCore/qstringview.h>
21#include <QtGui/private/qcssparser_p.h>
22#include <QtCore/qxmlstream.h>
26class QSvgStyleSelector;
37 void parseCSStoXMLAttrs(
const QList<QCss::Declaration> &declarations, QXmlStreamAttributes &attributes)
const;
40 void styleLookup(QSvgNode *node, QXmlStreamAttributes &attributes)
const;
43 QHash<QString, QCss::AnimationRule> m_animations;
void collectAnimations(const QCss::StyleSheet &sheet)
void styleLookup(QSvgNode *node, QXmlStreamAttributes &attributes) const
void parseCSStoXMLAttrs(const QList< QCss::Declaration > &declarations, QXmlStreamAttributes &attributes) const
void parseStyleSheet(const QStringView str)
QSvgCssAnimation * createAnimation(QStringView name)
bool fillTransformProperty(const QList< CssKeyFrameValue > &keyFrames, QSvgAnimatedPropertyTransform *prop)
bool fillOpacityProperty(const QList< CssKeyFrameValue > &keyFrames, QSvgAnimatedPropertyFloat *prop)
qreal qsvg_parseAngle(QStringView str, bool *ok=nullptr)
bool fillColorProperty(const QList< CssKeyFrameValue > &keyFrames, QSvgAnimatedPropertyColor *prop)
bool validateTransform(QList< QList< QSvgAnimatedPropertyTransform::TransformComponent > > &keyFrameComponents)
QList< QCss::Value > values