Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qsvganimatedproperty.cpp File Reference

(d4c2c6919d324761d4d6c323eeec1761edd82a27)

#include "qsvganimatedproperty_p.h"
#include <QtCore/qpoint.h>
#include <QtGui/qcolor.h>
#include <QtGui/qtransform.h>
#include <QtCore/qlatin1stringview.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qstring.h>
#include <optional>
Include dependency graph for qsvganimatedproperty.cpp:

Go to the source code of this file.

Macros

#define CASE(str, type)

Functions

static std::optional< QSvgAbstractAnimatedProperty::Typename2type (const QString &name)
static qreal q_lerp (qreal a, qreal b, qreal t)
static QPointF pointInterpolator (QPointF v1, QPointF v2, qreal t)

Macro Definition Documentation

◆ CASE

#define CASE ( str,
type )
Value:
case hash(u"" #str): \
if (name == #str ## _L1) \
break; \
/* end */
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage return
GLenum type
static size_t hash(const QColor &color)
EGLImageKHR EGLint * name
QString str("QStringBuilder")
[5]
if(foo.startsWith("("+type+") 0x")) ... QString hello("hello")
[0]

Function Documentation

◆ name2type()

std::optional< QSvgAbstractAnimatedProperty::Type > name2type ( const QString & name)
static

Definition at line 23 of file qsvganimatedproperty.cpp.

◆ pointInterpolator()

QPointF pointInterpolator ( QPointF v1,
QPointF v2,
qreal t )
static

Definition at line 59 of file qsvganimatedproperty.cpp.

◆ q_lerp()

qreal q_lerp ( qreal a,
qreal b,
qreal t )
static

Definition at line 54 of file qsvganimatedproperty.cpp.