webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Member Functions | List of all members
WebCore::AffineTransform Class Reference

#include <AffineTransform.h>

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

Classes

struct  DecomposedType
 

Public Member Functions

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 &)
 

Static Public Member Functions

static AffineTransform translation (double x, double y)
 
static AffineTransform translation (double x, double y)
 

Constructor & Destructor Documentation

◆ AffineTransform() [1/4]

WebCore::AffineTransform::AffineTransform ( )

◆ AffineTransform() [2/4]

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

◆ AffineTransform() [3/4]

WEBCORE_EXPORT WebCore::AffineTransform::AffineTransform ( )

◆ AffineTransform() [4/4]

WEBCORE_EXPORT WebCore::AffineTransform::AffineTransform ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f 
)

Member Function Documentation

◆ a() [1/2]

double WebCore::AffineTransform::a ( ) const
inline

◆ a() [2/2]

double WebCore::AffineTransform::a ( ) const
inline

◆ b() [1/2]

double WebCore::AffineTransform::b ( ) const
inline

◆ b() [2/2]

double WebCore::AffineTransform::b ( ) const
inline

◆ blend() [1/2]

void WebCore::AffineTransform::blend ( const AffineTransform from,
double  progress 
)

◆ blend() [2/2]

WEBCORE_EXPORT void WebCore::AffineTransform::blend ( const AffineTransform from,
double  progress 
)

◆ c() [1/2]

double WebCore::AffineTransform::c ( ) const
inline

◆ c() [2/2]

double WebCore::AffineTransform::c ( ) const
inline

◆ d() [1/2]

double WebCore::AffineTransform::d ( ) const
inline

◆ d() [2/2]

double WebCore::AffineTransform::d ( ) const
inline

◆ decompose() [1/2]

bool WebCore::AffineTransform::decompose ( DecomposedType decomp) const

◆ decompose() [2/2]

bool WebCore::AffineTransform::decompose ( DecomposedType ) const

◆ e() [1/2]

double WebCore::AffineTransform::e ( ) const
inline

◆ e() [2/2]

double WebCore::AffineTransform::e ( ) const
inline

◆ f() [1/2]

double WebCore::AffineTransform::f ( ) const
inline

◆ f() [2/2]

double WebCore::AffineTransform::f ( ) const
inline

◆ flipX() [1/2]

AffineTransform & WebCore::AffineTransform::flipX ( )

◆ flipX() [2/2]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::flipX ( )

◆ flipY() [1/2]

AffineTransform & WebCore::AffineTransform::flipY ( )

◆ flipY() [2/2]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::flipY ( )

◆ inverse() [1/2]

std::optional< AffineTransform > WebCore::AffineTransform::inverse ( ) const

◆ inverse() [2/2]

WEBCORE_EXPORT std::optional<AffineTransform> WebCore::AffineTransform::inverse ( ) const

◆ isIdentity() [1/2]

WEBCORE_EXPORT bool WebCore::AffineTransform::isIdentity ( ) const

◆ isIdentity() [2/2]

bool WebCore::AffineTransform::isIdentity ( ) const

◆ isIdentityOrTranslation() [1/2]

bool WebCore::AffineTransform::isIdentityOrTranslation ( ) const
inline

◆ isIdentityOrTranslation() [2/2]

bool WebCore::AffineTransform::isIdentityOrTranslation ( ) const
inline

◆ isIdentityOrTranslationOrFlipped() [1/2]

bool WebCore::AffineTransform::isIdentityOrTranslationOrFlipped ( ) const
inline

◆ isIdentityOrTranslationOrFlipped() [2/2]

bool WebCore::AffineTransform::isIdentityOrTranslationOrFlipped ( ) const
inline

◆ isInvertible() [1/2]

bool WebCore::AffineTransform::isInvertible ( ) const

◆ isInvertible() [2/2]

bool WebCore::AffineTransform::isInvertible ( ) const

◆ makeIdentity() [1/2]

WEBCORE_EXPORT void WebCore::AffineTransform::makeIdentity ( )

◆ makeIdentity() [2/2]

void WebCore::AffineTransform::makeIdentity ( )

◆ map() [1/2]

void WebCore::AffineTransform::map ( double  x,
double  y,
double &  x2,
double &  y2 
) const

◆ map() [2/2]

void WebCore::AffineTransform::map ( double  x,
double  y,
double &  x2,
double &  y2 
) const

◆ mapPoint() [1/4]

IntPoint WebCore::AffineTransform::mapPoint ( const IntPoint point) const

◆ mapPoint() [2/4]

WEBCORE_EXPORT IntPoint WebCore::AffineTransform::mapPoint ( const IntPoint ) const

◆ mapPoint() [3/4]

FloatPoint WebCore::AffineTransform::mapPoint ( const FloatPoint point) const

◆ mapPoint() [4/4]

WEBCORE_EXPORT FloatPoint WebCore::AffineTransform::mapPoint ( const FloatPoint ) const

◆ mapQuad() [1/2]

FloatQuad WebCore::AffineTransform::mapQuad ( const FloatQuad q) const

◆ mapQuad() [2/2]

WEBCORE_EXPORT FloatQuad WebCore::AffineTransform::mapQuad ( const FloatQuad ) const

◆ mapRect() [1/4]

WEBCORE_EXPORT IntRect WebCore::AffineTransform::mapRect ( const IntRect ) const

◆ mapRect() [2/4]

IntRect WebCore::AffineTransform::mapRect ( const IntRect rect) const

◆ mapRect() [3/4]

FloatRect WebCore::AffineTransform::mapRect ( const FloatRect rect) const

◆ mapRect() [4/4]

WEBCORE_EXPORT FloatRect WebCore::AffineTransform::mapRect ( const FloatRect ) const

◆ mapSize() [1/4]

IntSize WebCore::AffineTransform::mapSize ( const IntSize size) const

◆ mapSize() [2/4]

WEBCORE_EXPORT IntSize WebCore::AffineTransform::mapSize ( const IntSize ) const

◆ mapSize() [3/4]

FloatSize WebCore::AffineTransform::mapSize ( const FloatSize size) const

◆ mapSize() [4/4]

WEBCORE_EXPORT FloatSize WebCore::AffineTransform::mapSize ( const FloatSize ) const

◆ multiply() [1/2]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::multiply ( const AffineTransform other)

◆ multiply() [2/2]

AffineTransform & WebCore::AffineTransform::multiply ( const AffineTransform other)

◆ operator!=() [1/2]

bool WebCore::AffineTransform::operator!= ( const AffineTransform other) const
inline

◆ operator!=() [2/2]

bool WebCore::AffineTransform::operator!= ( const AffineTransform other) const
inline

◆ operator*() [1/2]

AffineTransform WebCore::AffineTransform::operator* ( const AffineTransform t) const
inline

◆ operator*() [2/2]

AffineTransform WebCore::AffineTransform::operator* ( const AffineTransform t) const
inline

◆ operator*=() [1/2]

AffineTransform& WebCore::AffineTransform::operator*= ( const AffineTransform t)
inline

◆ operator*=() [2/2]

AffineTransform& WebCore::AffineTransform::operator*= ( const AffineTransform t)
inline

◆ operator==() [1/2]

bool WebCore::AffineTransform::operator== ( const AffineTransform m2) const
inline

◆ operator==() [2/2]

bool WebCore::AffineTransform::operator== ( const AffineTransform m2) const
inline

◆ preservesAxisAlignment() [1/2]

bool WebCore::AffineTransform::preservesAxisAlignment ( ) const
inline

◆ preservesAxisAlignment() [2/2]

bool WebCore::AffineTransform::preservesAxisAlignment ( ) const
inline

◆ recompose() [1/2]

void WebCore::AffineTransform::recompose ( const DecomposedType decomp)

◆ recompose() [2/2]

void WebCore::AffineTransform::recompose ( const DecomposedType )

◆ rotate() [1/2]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::rotate ( double  )

◆ rotate() [2/2]

AffineTransform & WebCore::AffineTransform::rotate ( double  a)

◆ rotateFromVector() [1/2]

AffineTransform& WebCore::AffineTransform::rotateFromVector ( double  x,
double  y 
)

◆ rotateFromVector() [2/2]

AffineTransform & WebCore::AffineTransform::rotateFromVector ( double  x,
double  y 
)

◆ scale() [1/6]

AffineTransform & WebCore::AffineTransform::scale ( double  s)

◆ scale() [2/6]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::scale ( double  )

◆ scale() [3/6]

AffineTransform & WebCore::AffineTransform::scale ( double  sx,
double  sy 
)

◆ scale() [4/6]

AffineTransform& WebCore::AffineTransform::scale ( double  sx,
double  sy 
)

◆ scale() [5/6]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::scale ( const FloatSize )

◆ scale() [6/6]

AffineTransform & WebCore::AffineTransform::scale ( const FloatSize s)

◆ scaleNonUniform() [1/2]

AffineTransform & WebCore::AffineTransform::scaleNonUniform ( double  sx,
double  sy 
)

◆ scaleNonUniform() [2/2]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::scaleNonUniform ( double  sx,
double  sy 
)

◆ setA() [1/2]

void WebCore::AffineTransform::setA ( double  a)
inline

◆ setA() [2/2]

void WebCore::AffineTransform::setA ( double  a)
inline

◆ setB() [1/2]

void WebCore::AffineTransform::setB ( double  b)
inline

◆ setB() [2/2]

void WebCore::AffineTransform::setB ( double  b)
inline

◆ setC() [1/2]

void WebCore::AffineTransform::setC ( double  c)
inline

◆ setC() [2/2]

void WebCore::AffineTransform::setC ( double  c)
inline

◆ setD() [1/2]

void WebCore::AffineTransform::setD ( double  d)
inline

◆ setD() [2/2]

void WebCore::AffineTransform::setD ( double  d)
inline

◆ setE() [1/2]

void WebCore::AffineTransform::setE ( double  e)
inline

◆ setE() [2/2]

void WebCore::AffineTransform::setE ( double  e)
inline

◆ setF() [1/2]

void WebCore::AffineTransform::setF ( double  f)
inline

◆ setF() [2/2]

void WebCore::AffineTransform::setF ( double  f)
inline

◆ setMatrix() [1/2]

void WebCore::AffineTransform::setMatrix ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f 
)

◆ setMatrix() [2/2]

void WebCore::AffineTransform::setMatrix ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f 
)

◆ shear() [1/2]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::shear ( double  sx,
double  sy 
)

◆ shear() [2/2]

AffineTransform & WebCore::AffineTransform::shear ( double  sx,
double  sy 
)

◆ skew() [1/2]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::skew ( double  angleX,
double  angleY 
)

◆ skew() [2/2]

AffineTransform & WebCore::AffineTransform::skew ( double  angleX,
double  angleY 
)

◆ skewX() [1/2]

AffineTransform & WebCore::AffineTransform::skewX ( double  angle)

◆ skewX() [2/2]

AffineTransform& WebCore::AffineTransform::skewX ( double  angle)

◆ skewY() [1/2]

AffineTransform & WebCore::AffineTransform::skewY ( double  angle)

◆ skewY() [2/2]

AffineTransform& WebCore::AffineTransform::skewY ( double  angle)

◆ toTransformationMatrix() [1/2]

WEBCORE_EXPORT TransformationMatrix WebCore::AffineTransform::toTransformationMatrix ( ) const

◆ toTransformationMatrix() [2/2]

TransformationMatrix WebCore::AffineTransform::toTransformationMatrix ( ) const

◆ translate() [1/4]

AffineTransform & WebCore::AffineTransform::translate ( double  tx,
double  ty 
)

◆ translate() [2/4]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::translate ( double  tx,
double  ty 
)

◆ translate() [3/4]

AffineTransform & WebCore::AffineTransform::translate ( const FloatPoint t)

◆ translate() [4/4]

WEBCORE_EXPORT AffineTransform& WebCore::AffineTransform::translate ( const FloatPoint )

◆ translation() [1/2]

static AffineTransform WebCore::AffineTransform::translation ( double  x,
double  y 
)
inlinestatic

◆ translation() [2/2]

static AffineTransform WebCore::AffineTransform::translation ( double  x,
double  y 
)
inlinestatic

◆ xScale() [1/2]

double WebCore::AffineTransform::xScale ( ) const

◆ xScale() [2/2]

WEBCORE_EXPORT double WebCore::AffineTransform::xScale ( ) const

◆ yScale() [1/2]

WEBCORE_EXPORT double WebCore::AffineTransform::yScale ( ) const

◆ yScale() [2/2]

double WebCore::AffineTransform::yScale ( ) const

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