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

#include <TransformOperation.h>

Inheritance diagram for WebCore::TransformOperation:
WTF::RefCounted< TransformOperation > WTF::RefCounted< TransformOperation > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WebCore::IdentityTransformOperation WebCore::IdentityTransformOperation WebCore::Matrix3DTransformOperation WebCore::Matrix3DTransformOperation WebCore::MatrixTransformOperation WebCore::MatrixTransformOperation WebCore::PerspectiveTransformOperation WebCore::PerspectiveTransformOperation WebCore::RotateTransformOperation WebCore::RotateTransformOperation WebCore::ScaleTransformOperation WebCore::ScaleTransformOperation WebCore::SkewTransformOperation WebCore::SkewTransformOperation WebCore::TranslateTransformOperation WebCore::TranslateTransformOperation

Public Types

enum  OperationType {
  SCALE_X, SCALE_Y, SCALE, TRANSLATE_X,
  TRANSLATE_Y, TRANSLATE, ROTATE, ROTATE_Z = ROTATE,
  SKEW_X, SKEW_Y, SKEW, MATRIX,
  SCALE_Z, SCALE_3D, TRANSLATE_Z, TRANSLATE_3D,
  ROTATE_X, ROTATE_Y, ROTATE_3D, MATRIX_3D,
  PERSPECTIVE, IDENTITY, NONE, SCALE_X,
  SCALE_Y, SCALE, TRANSLATE_X, TRANSLATE_Y,
  TRANSLATE, ROTATE, ROTATE_Z = ROTATE, SKEW_X,
  SKEW_Y, SKEW, MATRIX, SCALE_Z,
  SCALE_3D, TRANSLATE_Z, TRANSLATE_3D, ROTATE_X,
  ROTATE_Y, ROTATE_3D, MATRIX_3D, PERSPECTIVE,
  IDENTITY, NONE
}
 
enum  OperationType {
  SCALE_X, SCALE_Y, SCALE, TRANSLATE_X,
  TRANSLATE_Y, TRANSLATE, ROTATE, ROTATE_Z = ROTATE,
  SKEW_X, SKEW_Y, SKEW, MATRIX,
  SCALE_Z, SCALE_3D, TRANSLATE_Z, TRANSLATE_3D,
  ROTATE_X, ROTATE_Y, ROTATE_3D, MATRIX_3D,
  PERSPECTIVE, IDENTITY, NONE, SCALE_X,
  SCALE_Y, SCALE, TRANSLATE_X, TRANSLATE_Y,
  TRANSLATE, ROTATE, ROTATE_Z = ROTATE, SKEW_X,
  SKEW_Y, SKEW, MATRIX, SCALE_Z,
  SCALE_3D, TRANSLATE_Z, TRANSLATE_3D, ROTATE_X,
  ROTATE_Y, ROTATE_3D, MATRIX_3D, PERSPECTIVE,
  IDENTITY, NONE
}
 

Public Member Functions

virtual ~TransformOperation ()
 
virtual Ref< TransformOperationclone () const =0
 
virtual bool operator== (const TransformOperation &) const =0
 
bool operator!= (const TransformOperation &o) const
 
virtual bool isIdentity () const =0
 
virtual bool apply (TransformationMatrix &, const FloatSize &borderBoxSize) const =0
 
virtual Ref< TransformOperationblend (const TransformOperation *from, double progress, bool blendToIdentity=false)=0
 
virtual OperationType type () const =0
 
virtual bool isSameType (const TransformOperation &) const
 
virtual bool isAffectedByTransformOrigin () const
 
bool is3DOperation () const
 
bool isRotateTransformOperationType () const
 
bool isScaleTransformOperationType () const
 
bool isSkewTransformOperationType () const
 
bool isTranslateTransformOperationType () const
 
virtual void dump (TextStream &) const =0
 
virtual ~TransformOperation ()
 
virtual Ref< TransformOperationclone () const =0
 
virtual bool operator== (const TransformOperation &) const =0
 
bool operator!= (const TransformOperation &o) const
 
virtual bool isIdentity () const =0
 
virtual bool apply (TransformationMatrix &, const FloatSize &borderBoxSize) const =0
 
virtual Ref< TransformOperationblend (const TransformOperation *from, double progress, bool blendToIdentity=false)=0
 
virtual OperationType type () const =0
 
virtual bool isSameType (const TransformOperation &) const
 
virtual bool isAffectedByTransformOrigin () const
 
bool is3DOperation () const
 
bool isRotateTransformOperationType () const
 
bool isScaleTransformOperationType () const
 
bool isSkewTransformOperationType () const
 
bool isTranslateTransformOperationType () const
 
virtual void dump (TextStream &) const =0
 
- Public Member Functions inherited from WTF::RefCounted< TransformOperation >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< TransformOperation >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Enumeration Documentation

◆ OperationType [1/2]

Enumerator
SCALE_X 
SCALE_Y 
SCALE 
TRANSLATE_X 
TRANSLATE_Y 
TRANSLATE 
ROTATE 
ROTATE_Z 
SKEW_X 
SKEW_Y 
SKEW 
MATRIX 
SCALE_Z 
SCALE_3D 
TRANSLATE_Z 
TRANSLATE_3D 
ROTATE_X 
ROTATE_Y 
ROTATE_3D 
MATRIX_3D 
PERSPECTIVE 
IDENTITY 
NONE 
SCALE_X 
SCALE_Y 
SCALE 
TRANSLATE_X 
TRANSLATE_Y 
TRANSLATE 
ROTATE 
ROTATE_Z 
SKEW_X 
SKEW_Y 
SKEW 
MATRIX 
SCALE_Z 
SCALE_3D 
TRANSLATE_Z 
TRANSLATE_3D 
ROTATE_X 
ROTATE_Y 
ROTATE_3D 
MATRIX_3D 
PERSPECTIVE 
IDENTITY 
NONE 

◆ OperationType [2/2]

Enumerator
SCALE_X 
SCALE_Y 
SCALE 
TRANSLATE_X 
TRANSLATE_Y 
TRANSLATE 
ROTATE 
ROTATE_Z 
SKEW_X 
SKEW_Y 
SKEW 
MATRIX 
SCALE_Z 
SCALE_3D 
TRANSLATE_Z 
TRANSLATE_3D 
ROTATE_X 
ROTATE_Y 
ROTATE_3D 
MATRIX_3D 
PERSPECTIVE 
IDENTITY 
NONE 
SCALE_X 
SCALE_Y 
SCALE 
TRANSLATE_X 
TRANSLATE_Y 
TRANSLATE 
ROTATE 
ROTATE_Z 
SKEW_X 
SKEW_Y 
SKEW 
MATRIX 
SCALE_Z 
SCALE_3D 
TRANSLATE_Z 
TRANSLATE_3D 
ROTATE_X 
ROTATE_Y 
ROTATE_3D 
MATRIX_3D 
PERSPECTIVE 
IDENTITY 
NONE 

Constructor & Destructor Documentation

◆ ~TransformOperation() [1/2]

virtual WebCore::TransformOperation::~TransformOperation ( )
inlinevirtual

◆ ~TransformOperation() [2/2]

virtual WebCore::TransformOperation::~TransformOperation ( )
inlinevirtual

Member Function Documentation

◆ apply() [1/2]

virtual bool WebCore::TransformOperation::apply ( TransformationMatrix ,
const FloatSize borderBoxSize 
) const
pure virtual

◆ apply() [2/2]

virtual bool WebCore::TransformOperation::apply ( TransformationMatrix ,
const FloatSize borderBoxSize 
) const
pure virtual

◆ blend() [1/2]

virtual Ref<TransformOperation> WebCore::TransformOperation::blend ( const TransformOperation from,
double  progress,
bool  blendToIdentity = false 
)
pure virtual

◆ blend() [2/2]

virtual Ref<TransformOperation> WebCore::TransformOperation::blend ( const TransformOperation from,
double  progress,
bool  blendToIdentity = false 
)
pure virtual

◆ clone() [1/2]

virtual Ref<TransformOperation> WebCore::TransformOperation::clone ( ) const
pure virtual

◆ clone() [2/2]

virtual Ref<TransformOperation> WebCore::TransformOperation::clone ( ) const
pure virtual

◆ dump() [1/2]

virtual void WebCore::TransformOperation::dump ( TextStream ) const
pure virtual

◆ dump() [2/2]

virtual void WebCore::TransformOperation::dump ( TextStream ) const
pure virtual

◆ is3DOperation() [1/2]

bool WebCore::TransformOperation::is3DOperation ( ) const
inline

◆ is3DOperation() [2/2]

bool WebCore::TransformOperation::is3DOperation ( ) const
inline

◆ isAffectedByTransformOrigin() [1/2]

virtual bool WebCore::TransformOperation::isAffectedByTransformOrigin ( ) const
inlinevirtual

◆ isAffectedByTransformOrigin() [2/2]

virtual bool WebCore::TransformOperation::isAffectedByTransformOrigin ( ) const
inlinevirtual

◆ isIdentity() [1/2]

virtual bool WebCore::TransformOperation::isIdentity ( ) const
pure virtual

◆ isIdentity() [2/2]

virtual bool WebCore::TransformOperation::isIdentity ( ) const
pure virtual

◆ isRotateTransformOperationType() [1/2]

bool WebCore::TransformOperation::isRotateTransformOperationType ( ) const
inline

◆ isRotateTransformOperationType() [2/2]

bool WebCore::TransformOperation::isRotateTransformOperationType ( ) const
inline

◆ isSameType() [1/2]

virtual bool WebCore::TransformOperation::isSameType ( const TransformOperation ) const
inlinevirtual

◆ isSameType() [2/2]

virtual bool WebCore::TransformOperation::isSameType ( const TransformOperation ) const
inlinevirtual

◆ isScaleTransformOperationType() [1/2]

bool WebCore::TransformOperation::isScaleTransformOperationType ( ) const
inline

◆ isScaleTransformOperationType() [2/2]

bool WebCore::TransformOperation::isScaleTransformOperationType ( ) const
inline

◆ isSkewTransformOperationType() [1/2]

bool WebCore::TransformOperation::isSkewTransformOperationType ( ) const
inline

◆ isSkewTransformOperationType() [2/2]

bool WebCore::TransformOperation::isSkewTransformOperationType ( ) const
inline

◆ isTranslateTransformOperationType() [1/2]

bool WebCore::TransformOperation::isTranslateTransformOperationType ( ) const
inline

◆ isTranslateTransformOperationType() [2/2]

bool WebCore::TransformOperation::isTranslateTransformOperationType ( ) const
inline

◆ operator!=() [1/2]

bool WebCore::TransformOperation::operator!= ( const TransformOperation o) const
inline

◆ operator!=() [2/2]

bool WebCore::TransformOperation::operator!= ( const TransformOperation o) const
inline

◆ operator==() [1/2]

virtual bool WebCore::TransformOperation::operator== ( const TransformOperation ) const
pure virtual

◆ operator==() [2/2]

virtual bool WebCore::TransformOperation::operator== ( const TransformOperation ) const
pure virtual

◆ type() [1/2]

virtual OperationType WebCore::TransformOperation::type ( ) const
pure virtual

◆ type() [2/2]

virtual OperationType WebCore::TransformOperation::type ( ) const
pure virtual

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