webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::SVGMatrixValue Class Referencefinal

#include <SVGMatrixValue.h>

Inheritance diagram for WebCore::SVGMatrixValue:
WebCore::AffineTransform

Public Member Functions

 SVGMatrixValue ()=default
 
 SVGMatrixValue (const AffineTransform &other)
 
 SVGMatrixValue (double a, double b, double c, double d, double e, double f)
 
SVGMatrixValue translate (double tx, double ty)
 
SVGMatrixValue scale (double s)
 
SVGMatrixValue scaleNonUniform (double sx, double sy)
 
SVGMatrixValue rotate (double d)
 
SVGMatrixValue flipX ()
 
SVGMatrixValue flipY ()
 
SVGMatrixValue skewX (double angle)
 
SVGMatrixValue skewY (double angle)
 
SVGMatrixValue multiply (const SVGMatrixValue &other)
 
ExceptionOr< SVGMatrixValueinverse () const
 
ExceptionOr< SVGMatrixValuerotateFromVector (double x, double y)
 
- Public Member Functions inherited from WebCore::AffineTransform
WEBCORE_EXPORT AffineTransform ()
 
WEBCORE_EXPORT AffineTransform (double a, double b, double c, double d, double e, double f)
 
void setMatrix (double a, double b, double c, double d, double e, double f)
 
void map (double x, double y, double &x2, double &y2) const
 
WEBCORE_EXPORT IntPoint mapPoint (const IntPoint &) const
 
WEBCORE_EXPORT FloatPoint mapPoint (const FloatPoint &) const
 
WEBCORE_EXPORT IntSize mapSize (const IntSize &) const
 
WEBCORE_EXPORT FloatSize mapSize (const FloatSize &) const
 
WEBCORE_EXPORT IntRect mapRect (const IntRect &) const
 
WEBCORE_EXPORT FloatRect mapRect (const FloatRect &) const
 
WEBCORE_EXPORT FloatQuad mapQuad (const FloatQuad &) const
 
WEBCORE_EXPORT bool isIdentity () const
 
double a () const
 
void setA (double a)
 
double b () const
 
void setB (double b)
 
double c () const
 
void setC (double c)
 
double d () const
 
void setD (double d)
 
double e () const
 
void setE (double e)
 
double f () const
 
void setF (double f)
 
WEBCORE_EXPORT void makeIdentity ()
 
WEBCORE_EXPORT AffineTransformmultiply (const AffineTransform &other)
 
WEBCORE_EXPORT AffineTransformscale (double)
 
AffineTransformscale (double sx, double sy)
 
WEBCORE_EXPORT AffineTransformscaleNonUniform (double sx, double sy)
 
WEBCORE_EXPORT AffineTransformscale (const FloatSize &)
 
WEBCORE_EXPORT AffineTransformrotate (double)
 
AffineTransformrotateFromVector (double x, double y)
 
WEBCORE_EXPORT AffineTransformtranslate (double tx, double ty)
 
WEBCORE_EXPORT AffineTransformtranslate (const FloatPoint &)
 
WEBCORE_EXPORT AffineTransformshear (double sx, double sy)
 
WEBCORE_EXPORT AffineTransformflipX ()
 
WEBCORE_EXPORT AffineTransformflipY ()
 
WEBCORE_EXPORT AffineTransformskew (double angleX, double angleY)
 
AffineTransformskewX (double angle)
 
AffineTransformskewY (double angle)
 
WEBCORE_EXPORT double xScale () const
 
WEBCORE_EXPORT double yScale () const
 
bool isInvertible () const
 
WEBCORE_EXPORT std::optional< AffineTransforminverse () const
 
WEBCORE_EXPORT void blend (const AffineTransform &from, double progress)
 
WEBCORE_EXPORT TransformationMatrix toTransformationMatrix () const
 
bool isIdentityOrTranslation () const
 
bool isIdentityOrTranslationOrFlipped () const
 
bool preservesAxisAlignment () const
 
bool operator== (const AffineTransform &m2) const
 
bool operator!= (const AffineTransform &other) const
 
AffineTransformoperator*= (const AffineTransform &t)
 
AffineTransform operator* (const AffineTransform &t) const
 
bool decompose (DecomposedType &) const
 
void recompose (const DecomposedType &)
 
WEBCORE_EXPORT AffineTransform ()
 
WEBCORE_EXPORT AffineTransform (double a, double b, double c, double d, double e, double f)
 
void setMatrix (double a, double b, double c, double d, double e, double f)
 
void map (double x, double y, double &x2, double &y2) const
 
WEBCORE_EXPORT IntPoint mapPoint (const IntPoint &) const
 
WEBCORE_EXPORT FloatPoint mapPoint (const FloatPoint &) const
 
WEBCORE_EXPORT IntSize mapSize (const IntSize &) const
 
WEBCORE_EXPORT FloatSize mapSize (const FloatSize &) const
 
WEBCORE_EXPORT IntRect mapRect (const IntRect &) const
 
WEBCORE_EXPORT FloatRect mapRect (const FloatRect &) const
 
WEBCORE_EXPORT FloatQuad mapQuad (const FloatQuad &) const
 
WEBCORE_EXPORT bool isIdentity () const
 
double a () const
 
void setA (double a)
 
double b () const
 
void setB (double b)
 
double c () const
 
void setC (double c)
 
double d () const
 
void setD (double d)
 
double e () const
 
void setE (double e)
 
double f () const
 
void setF (double f)
 
WEBCORE_EXPORT void makeIdentity ()
 
WEBCORE_EXPORT AffineTransformmultiply (const AffineTransform &other)
 
WEBCORE_EXPORT AffineTransformscale (double)
 
AffineTransformscale (double sx, double sy)
 
WEBCORE_EXPORT AffineTransformscaleNonUniform (double sx, double sy)
 
WEBCORE_EXPORT AffineTransformscale (const FloatSize &)
 
WEBCORE_EXPORT AffineTransformrotate (double)
 
AffineTransformrotateFromVector (double x, double y)
 
WEBCORE_EXPORT AffineTransformtranslate (double tx, double ty)
 
WEBCORE_EXPORT AffineTransformtranslate (const FloatPoint &)
 
WEBCORE_EXPORT AffineTransformshear (double sx, double sy)
 
WEBCORE_EXPORT AffineTransformflipX ()
 
WEBCORE_EXPORT AffineTransformflipY ()
 
WEBCORE_EXPORT AffineTransformskew (double angleX, double angleY)
 
AffineTransformskewX (double angle)
 
AffineTransformskewY (double angle)
 
WEBCORE_EXPORT double xScale () const
 
WEBCORE_EXPORT double yScale () const
 
bool isInvertible () const
 
WEBCORE_EXPORT std::optional< AffineTransforminverse () const
 
WEBCORE_EXPORT void blend (const AffineTransform &from, double progress)
 
WEBCORE_EXPORT TransformationMatrix toTransformationMatrix () const
 
bool isIdentityOrTranslation () const
 
bool isIdentityOrTranslationOrFlipped () const
 
bool preservesAxisAlignment () const
 
bool operator== (const AffineTransform &m2) const
 
bool operator!= (const AffineTransform &other) const
 
AffineTransformoperator*= (const AffineTransform &t)
 
AffineTransform operator* (const AffineTransform &t) const
 
bool decompose (DecomposedType &) const
 
void recompose (const DecomposedType &)
 

Additional Inherited Members

- Static Public Member Functions inherited from WebCore::AffineTransform
static AffineTransform translation (double x, double y)
 
static AffineTransform translation (double x, double y)
 

Constructor & Destructor Documentation

◆ SVGMatrixValue() [1/3]

WebCore::SVGMatrixValue::SVGMatrixValue ( )
default

◆ SVGMatrixValue() [2/3]

WebCore::SVGMatrixValue::SVGMatrixValue ( const AffineTransform other)
inline

◆ SVGMatrixValue() [3/3]

WebCore::SVGMatrixValue::SVGMatrixValue ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f 
)
inline

Member Function Documentation

◆ flipX()

SVGMatrixValue WebCore::SVGMatrixValue::flipX ( )
inline

◆ flipY()

SVGMatrixValue WebCore::SVGMatrixValue::flipY ( )
inline

◆ inverse()

ExceptionOr<SVGMatrixValue> WebCore::SVGMatrixValue::inverse ( ) const
inline

◆ multiply()

SVGMatrixValue WebCore::SVGMatrixValue::multiply ( const SVGMatrixValue other)
inline

◆ rotate()

SVGMatrixValue WebCore::SVGMatrixValue::rotate ( double  d)
inline

◆ rotateFromVector()

ExceptionOr<SVGMatrixValue> WebCore::SVGMatrixValue::rotateFromVector ( double  x,
double  y 
)
inline

◆ scale()

SVGMatrixValue WebCore::SVGMatrixValue::scale ( double  s)
inline

◆ scaleNonUniform()

SVGMatrixValue WebCore::SVGMatrixValue::scaleNonUniform ( double  sx,
double  sy 
)
inline

◆ skewX()

SVGMatrixValue WebCore::SVGMatrixValue::skewX ( double  angle)
inline

◆ skewY()

SVGMatrixValue WebCore::SVGMatrixValue::skewY ( double  angle)
inline

◆ translate()

SVGMatrixValue WebCore::SVGMatrixValue::translate ( double  tx,
double  ty 
)
inline

The documentation for this class was generated from the following file: