Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
BAffineTransform Class Reference

Undocumented class. More...

Inherits BFlattenable.

Public Member Functions

 BAffineTransform ()
 Undocumented public method. More...
 
 BAffineTransform (double sx, double shy, double shx, double sy, double tx, double ty)
 Undocumented public method. More...
 
 BAffineTransform (const BAffineTransform &copyFrom)
 Undocumented public method. More...
 
virtual ~BAffineTransform ()
 Undocumented public method. More...
 
void Apply (double *x, double *y) const
 Undocumented public method. More...
 
BPoint Apply (const BPoint &point) const
 Undocumented public method. More...
 
void Apply (BPoint *point) const
 Undocumented public method. More...
 
void Apply (BPoint *points, uint32 count) const
 Undocumented public method. More...
 
void ApplyInverse (double *x, double *y) const
 Undocumented public method. More...
 
BPoint ApplyInverse (const BPoint &point) const
 Undocumented public method. More...
 
void ApplyInverse (BPoint *point) const
 Undocumented public method. More...
 
void ApplyInverse (BPoint *points, uint32 count) const
 Undocumented public method. More...
 
double Determinant () const
 Undocumented public method. More...
 
virtual status_t Flatten (void *buffer, ssize_t size) const
 Undocumented public method. More...
 
virtual ssize_t FlattenedSize () const
 Undocumented public method. More...
 
const BAffineTransformFlipX ()
 Undocumented public method. More...
 
const BAffineTransformFlipY ()
 Undocumented public method. More...
 
bool GetAffineParameters (double *translationX, double *translationY, double *rotation, double *scaleX, double *scaleY, double *shearX, double *shearY) const
 Undocumented public method. More...
 
void GetScale (double *sx, double *sy) const
 Undocumented public method. More...
 
void GetScaleAbs (double *sx, double *sy) const
 Undocumented public method. More...
 
void GetTranslation (double *tx, double *ty) const
 Undocumented public method. More...
 
double InverseDeterminant () const
 Undocumented public method. More...
 
const BAffineTransformInvert ()
 Undocumented public method. More...
 
bool IsDilation (double epsilon=kDefaultEpsilon) const
 Undocumented public method. More...
 
bool IsEqual (const BAffineTransform &other, double epsilon=kDefaultEpsilon) const
 Undocumented public method. More...
 
virtual bool IsFixedSize () const
 Undocumented public method. More...
 
bool IsIdentity (double epsilon=kDefaultEpsilon) const
 Undocumented public method. More...
 
bool IsValid (double epsilon=kDefaultEpsilon) const
 Undocumented public method. More...
 
const BAffineTransformMultiply (const BAffineTransform &other)
 Undocumented public method. More...
 
const BAffineTransformMultiplyInverse (const BAffineTransform &other)
 Undocumented public method. More...
 
bool operator!= (const BAffineTransform &other) const
 Undocumented public method. More...
 
BAffineTransform operator* (const BAffineTransform &other) const
 Undocumented public method. More...
 
const BAffineTransformoperator*= (const BAffineTransform &other)
 Undocumented public method. More...
 
BAffineTransform operator/ (const BAffineTransform &other) const
 Undocumented public method. More...
 
const BAffineTransformoperator/= (const BAffineTransform &other)
 Undocumented public method. More...
 
BAffineTransformoperator= (const BAffineTransform &copyFrom)
 Undocumented public method. More...
 
bool operator== (const BAffineTransform &other) const
 Undocumented public method. More...
 
BAffineTransform operator~ () const
 Undocumented public method. More...
 
const BAffineTransformPreMultiply (const BAffineTransform &other)
 Undocumented public method. More...
 
const BAffineTransformPreMultiplyInverse (const BAffineTransform &other)
 Undocumented public method. More...
 
const BAffineTransformPreRotateBy (double angleRadians)
 Undocumented public method. More...
 
const BAffineTransformPreScaleBy (double x, double y)
 Undocumented public method. More...
 
const BAffineTransformPreTranslateBy (double x, double y)
 Undocumented public method. More...
 
const BAffineTransformReset ()
 Undocumented public method. More...
 
const BAffineTransformRotateBy (double angle)
 Undocumented public method. More...
 
const BAffineTransformRotateBy (const BPoint &center, double angle)
 Undocumented public method. More...
 
BAffineTransform RotateByCopy (double angle) const
 Undocumented public method. More...
 
BAffineTransform RotateByCopy (const BPoint &center, double angle) const
 Undocumented public method. More...
 
double Rotation () const
 Undocumented public method. More...
 
double Scale () const
 Undocumented public method. More...
 
const BAffineTransformScaleBy (double scale)
 Undocumented public method. More...
 
const BAffineTransformScaleBy (const BPoint &center, double scale)
 Undocumented public method. More...
 
const BAffineTransformScaleBy (double x, double y)
 Undocumented public method. More...
 
const BAffineTransformScaleBy (const BPoint &center, double x, double y)
 Undocumented public method. More...
 
const BAffineTransformScaleBy (const BPoint &scale)
 Undocumented public method. More...
 
const BAffineTransformScaleBy (const BPoint &center, const BPoint &scale)
 Undocumented public method. More...
 
BAffineTransform ScaleByCopy (double scale) const
 Undocumented public method. More...
 
BAffineTransform ScaleByCopy (const BPoint &center, double scale) const
 Undocumented public method. More...
 
BAffineTransform ScaleByCopy (double x, double y) const
 Undocumented public method. More...
 
BAffineTransform ScaleByCopy (const BPoint &center, double x, double y) const
 Undocumented public method. More...
 
BAffineTransform ScaleByCopy (const BPoint &scale) const
 Undocumented public method. More...
 
BAffineTransform ScaleByCopy (const BPoint &center, const BPoint &scale) const
 Undocumented public method. More...
 
const BAffineTransformSetScale (double scale)
 Undocumented public method. More...
 
const BAffineTransformSetScale (double x, double y)
 Undocumented public method. More...
 
const BAffineTransformShearBy (double x, double y)
 Undocumented public method. More...
 
const BAffineTransformShearBy (const BPoint &center, double x, double y)
 Undocumented public method. More...
 
const BAffineTransformShearBy (const BPoint &shear)
 Undocumented public method. More...
 
const BAffineTransformShearBy (const BPoint &center, const BPoint &shear)
 Undocumented public method. More...
 
BAffineTransform ShearByCopy (double x, double y) const
 Undocumented public method. More...
 
BAffineTransform ShearByCopy (const BPoint &center, double x, double y) const
 Undocumented public method. More...
 
BAffineTransform ShearByCopy (const BPoint &shear) const
 Undocumented public method. More...
 
BAffineTransform ShearByCopy (const BPoint &center, const BPoint &shear) const
 Undocumented public method. More...
 
const BAffineTransformTranslateBy (double x, double y)
 Undocumented public method. More...
 
const BAffineTransformTranslateBy (const BPoint &delta)
 Undocumented public method. More...
 
BAffineTransform TranslateByCopy (double x, double y) const
 Undocumented public method. More...
 
BAffineTransform TranslateByCopy (const BPoint &delta) const
 Undocumented public method. More...
 
virtual type_code TypeCode () const
 Undocumented public method. More...
 
virtual status_t Unflatten (type_code code, const void *buffer, ssize_t size)
 Undocumented public method. More...
 
- Public Member Functions inherited from BFlattenable
virtual ~BFlattenable ()
 Destructor. Does nothing. More...
 
virtual bool AllowsTypeCode (type_code code) const
 Get whether or not the supplied type_code is supported. More...
 

Static Public Member Functions

static BAffineTransform AffineRotation (double angle)
 Undocumented public method. More...
 
static BAffineTransform AffineScaling (double x, double y)
 Undocumented public method. More...
 
static BAffineTransform AffineScaling (double scale)
 Undocumented public method. More...
 
static BAffineTransform AffineShearing (double x, double y)
 Undocumented public method. More...
 
static BAffineTransform AffineTranslation (double x, double y)
 Undocumented public method. More...
 

Public Attributes

double shx
 Undocumented public variable. More...
 
double shy
 Undocumented public variable. More...
 
double sx
 Undocumented public variable. More...
 
double sy
 Undocumented public variable. More...
 
double tx
 Undocumented public variable. More...
 
double ty
 Undocumented public variable. More...
 

Static Public Attributes

static const double kDefaultEpsilon = 1e-14
 Undocumented public variable. More...
 

Detailed Description

Undocumented class.

Since
Haiku R1

Constructor & Destructor Documentation

◆ BAffineTransform() [1/3]

BAffineTransform::BAffineTransform ( )

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Referenced by operator*(), and operator/().

◆ BAffineTransform() [2/3]

BAffineTransform::BAffineTransform ( double  sx,
double  shy,
double  shx,
double  sy,
double  tx,
double  ty 
)

Undocumented public method.

Parameters
sxUndocumented
shyUndocumented
shxUndocumented
syUndocumented
txUndocumented
tyUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ BAffineTransform() [3/3]

BAffineTransform::BAffineTransform ( const BAffineTransform copyFrom)

Undocumented public method.

Parameters
copyFromUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ~BAffineTransform()

BAffineTransform::~BAffineTransform ( )
virtual

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Member Function Documentation

◆ AffineRotation()

static static BAffineTransform BAffineTransform::AffineRotation ( double  angle)
static

Undocumented public method.

Parameters
angleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ AffineScaling() [1/2]

static static BAffineTransform BAffineTransform::AffineScaling ( double  x,
double  y 
)
static

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ AffineScaling() [2/2]

static static BAffineTransform BAffineTransform::AffineScaling ( double  scale)
static

Undocumented public method.

Parameters
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ AffineShearing()

static static BAffineTransform BAffineTransform::AffineShearing ( double  x,
double  y 
)
static

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Referenced by ShearBy().

◆ AffineTranslation()

static static BAffineTransform BAffineTransform::AffineTranslation ( double  x,
double  y 
)
static

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ Apply() [1/4]

void BAffineTransform::Apply ( double *  x,
double *  y 
) const
inline

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Since
Haiku R1

References shx, shy, sx, sy, tx, and ty.

◆ Apply() [2/4]

BPoint BAffineTransform::Apply ( const BPoint point) const

Undocumented public method.

Parameters
pointUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ Apply() [3/4]

void BAffineTransform::Apply ( BPoint point) const

Undocumented public method.

Parameters
pointUndocumented
Since
Haiku R1

◆ Apply() [4/4]

void BAffineTransform::Apply ( BPoint points,
uint32  count 
) const

Undocumented public method.

Parameters
pointsUndocumented
countUndocumented
Since
Haiku R1

◆ ApplyInverse() [1/4]

void BAffineTransform::ApplyInverse ( double *  x,
double *  y 
) const
inline

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Since
Haiku R1

References InverseDeterminant(), shx, shy, sx, sy, tx, and ty.

◆ ApplyInverse() [2/4]

BPoint BAffineTransform::ApplyInverse ( const BPoint point) const

Undocumented public method.

Parameters
pointUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ApplyInverse() [3/4]

void BAffineTransform::ApplyInverse ( BPoint point) const

Undocumented public method.

Parameters
pointUndocumented
Since
Haiku R1

◆ ApplyInverse() [4/4]

void BAffineTransform::ApplyInverse ( BPoint points,
uint32  count 
) const

Undocumented public method.

Parameters
pointsUndocumented
countUndocumented
Since
Haiku R1

◆ Determinant()

double BAffineTransform::Determinant ( ) const
inline

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, and sy.

◆ Flatten()

status_t BAffineTransform::Flatten ( void *  buffer,
ssize_t  size 
) const
virtual

Undocumented public method.

Parameters
bufferUndocumented
sizeUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Implements BFlattenable.

◆ FlattenedSize()

ssize_t BAffineTransform::FlattenedSize ( ) const
virtual

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Implements BFlattenable.

◆ FlipX()

const BAffineTransform & BAffineTransform::FlipX ( )

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ FlipY()

const BAffineTransform & BAffineTransform::FlipY ( )

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ GetAffineParameters()

bool BAffineTransform::GetAffineParameters ( double *  translationX,
double *  translationY,
double *  rotation,
double *  scaleX,
double *  scaleY,
double *  shearX,
double *  shearY 
) const

Undocumented public method.

Parameters
translationXUndocumented
translationYUndocumented
rotationUndocumented
scaleXUndocumented
scaleYUndocumented
shearXUndocumented
shearYUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ GetScale()

void BAffineTransform::GetScale ( double *  sx,
double *  sy 
) const

Undocumented public method.

Parameters
sxUndocumented
syUndocumented
Since
Haiku R1

◆ GetScaleAbs()

void BAffineTransform::GetScaleAbs ( double *  sx,
double *  sy 
) const

Undocumented public method.

Parameters
sxUndocumented
syUndocumented
Since
Haiku R1

◆ GetTranslation()

void BAffineTransform::GetTranslation ( double *  tx,
double *  ty 
) const

Undocumented public method.

Parameters
txUndocumented
tyUndocumented
Since
Haiku R1

◆ InverseDeterminant()

double BAffineTransform::InverseDeterminant ( ) const
inline

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, and sy.

Referenced by ApplyInverse().

◆ Invert()

const BAffineTransform & BAffineTransform::Invert ( )

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Referenced by MultiplyInverse(), operator~(), and PreMultiplyInverse().

◆ IsDilation()

bool BAffineTransform::IsDilation ( double  epsilon = kDefaultEpsilon) const

Undocumented public method.

Parameters
epsilonUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ IsEqual()

bool BAffineTransform::IsEqual ( const BAffineTransform other,
double  epsilon = kDefaultEpsilon 
) const

Undocumented public method.

Parameters
otherUndocumented
epsilonUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Referenced by operator!=(), and operator==().

◆ IsFixedSize()

bool BAffineTransform::IsFixedSize ( ) const
virtual

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Implements BFlattenable.

◆ IsIdentity()

bool BAffineTransform::IsIdentity ( double  epsilon = kDefaultEpsilon) const

Undocumented public method.

Parameters
epsilonUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ IsValid()

bool BAffineTransform::IsValid ( double  epsilon = kDefaultEpsilon) const

Undocumented public method.

Parameters
epsilonUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ Multiply()

const BAffineTransform & BAffineTransform::Multiply ( const BAffineTransform other)
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References PreMultiply().

Referenced by MultiplyInverse(), operator*=(), and PreMultiplyInverse().

◆ MultiplyInverse()

const BAffineTransform & BAffineTransform::MultiplyInverse ( const BAffineTransform other)
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References Invert(), and Multiply().

Referenced by operator/=().

◆ operator!=()

bool BAffineTransform::operator!= ( const BAffineTransform other) const
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References IsEqual().

◆ operator*()

BAffineTransform BAffineTransform::operator* ( const BAffineTransform other) const
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References BAffineTransform().

◆ operator*=()

const BAffineTransform & BAffineTransform::operator*= ( const BAffineTransform other)
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References Multiply().

◆ operator/()

BAffineTransform BAffineTransform::operator/ ( const BAffineTransform other) const
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References BAffineTransform().

◆ operator/=()

const BAffineTransform & BAffineTransform::operator/= ( const BAffineTransform other)
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References MultiplyInverse().

◆ operator=()

BAffineTransform & BAffineTransform::operator= ( const BAffineTransform copyFrom)
inline

Undocumented public method.

Parameters
copyFromUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, sy, tx, and ty.

◆ operator==()

bool BAffineTransform::operator== ( const BAffineTransform other) const
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References IsEqual().

◆ operator~()

BAffineTransform BAffineTransform::operator~ ( ) const
inline

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References Invert().

◆ PreMultiply()

const BAffineTransform & BAffineTransform::PreMultiply ( const BAffineTransform other)

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Referenced by Multiply(), and ShearBy().

◆ PreMultiplyInverse()

const BAffineTransform & BAffineTransform::PreMultiplyInverse ( const BAffineTransform other)
inline

Undocumented public method.

Parameters
otherUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References Invert(), and Multiply().

◆ PreRotateBy()

const BAffineTransform & BAffineTransform::PreRotateBy ( double  angleRadians)
inline

Undocumented public method.

Parameters
angleRadiansUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, and sy.

◆ PreScaleBy()

const BAffineTransform & BAffineTransform::PreScaleBy ( double  x,
double  y 
)
inline

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, and sy.

◆ PreTranslateBy()

const BAffineTransform & BAffineTransform::PreTranslateBy ( double  x,
double  y 
)
inline

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, sy, tx, and ty.

◆ Reset()

const BAffineTransform & BAffineTransform::Reset ( )

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ RotateBy() [1/2]

const BAffineTransform & BAffineTransform::RotateBy ( double  angle)
inline

Undocumented public method.

Parameters
angleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, sy, tx, and ty.

◆ RotateBy() [2/2]

const BAffineTransform & BAffineTransform::RotateBy ( const BPoint center,
double  angle 
)

Undocumented public method.

Parameters
centerUndocumented
angleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ RotateByCopy() [1/2]

BAffineTransform BAffineTransform::RotateByCopy ( double  angle) const

Undocumented public method.

Parameters
angleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ RotateByCopy() [2/2]

BAffineTransform BAffineTransform::RotateByCopy ( const BPoint center,
double  angle 
) const

Undocumented public method.

Parameters
centerUndocumented
angleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ Rotation()

double BAffineTransform::Rotation ( ) const

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ Scale()

double BAffineTransform::Scale ( ) const

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleBy() [1/6]

const BAffineTransform & BAffineTransform::ScaleBy ( double  scale)
inline

Undocumented public method.

Parameters
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, sy, tx, and ty.

◆ ScaleBy() [2/6]

const BAffineTransform & BAffineTransform::ScaleBy ( const BPoint center,
double  scale 
)

Undocumented public method.

Parameters
centerUndocumented
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleBy() [3/6]

const BAffineTransform & BAffineTransform::ScaleBy ( double  x,
double  y 
)
inline

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References shx, shy, sx, sy, tx, and ty.

◆ ScaleBy() [4/6]

const BAffineTransform & BAffineTransform::ScaleBy ( const BPoint center,
double  x,
double  y 
)

Undocumented public method.

Parameters
centerUndocumented
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleBy() [5/6]

const BAffineTransform & BAffineTransform::ScaleBy ( const BPoint scale)

Undocumented public method.

Parameters
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleBy() [6/6]

const BAffineTransform & BAffineTransform::ScaleBy ( const BPoint center,
const BPoint scale 
)

Undocumented public method.

Parameters
centerUndocumented
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleByCopy() [1/6]

BAffineTransform BAffineTransform::ScaleByCopy ( double  scale) const

Undocumented public method.

Parameters
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleByCopy() [2/6]

BAffineTransform BAffineTransform::ScaleByCopy ( const BPoint center,
double  scale 
) const

Undocumented public method.

Parameters
centerUndocumented
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleByCopy() [3/6]

BAffineTransform BAffineTransform::ScaleByCopy ( double  x,
double  y 
) const

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleByCopy() [4/6]

BAffineTransform BAffineTransform::ScaleByCopy ( const BPoint center,
double  x,
double  y 
) const

Undocumented public method.

Parameters
centerUndocumented
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleByCopy() [5/6]

BAffineTransform BAffineTransform::ScaleByCopy ( const BPoint scale) const

Undocumented public method.

Parameters
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ScaleByCopy() [6/6]

BAffineTransform BAffineTransform::ScaleByCopy ( const BPoint center,
const BPoint scale 
) const

Undocumented public method.

Parameters
centerUndocumented
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ SetScale() [1/2]

const BAffineTransform & BAffineTransform::SetScale ( double  scale)

Undocumented public method.

Parameters
scaleUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ SetScale() [2/2]

const BAffineTransform & BAffineTransform::SetScale ( double  x,
double  y 
)

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ShearBy() [1/4]

const BAffineTransform & BAffineTransform::ShearBy ( double  x,
double  y 
)
inline

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References AffineShearing(), and PreMultiply().

◆ ShearBy() [2/4]

const BAffineTransform & BAffineTransform::ShearBy ( const BPoint center,
double  x,
double  y 
)

Undocumented public method.

Parameters
centerUndocumented
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ShearBy() [3/4]

const BAffineTransform & BAffineTransform::ShearBy ( const BPoint shear)

Undocumented public method.

Parameters
shearUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ShearBy() [4/4]

const BAffineTransform & BAffineTransform::ShearBy ( const BPoint center,
const BPoint shear 
)

Undocumented public method.

Parameters
centerUndocumented
shearUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ShearByCopy() [1/4]

BAffineTransform BAffineTransform::ShearByCopy ( double  x,
double  y 
) const

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ShearByCopy() [2/4]

BAffineTransform BAffineTransform::ShearByCopy ( const BPoint center,
double  x,
double  y 
) const

Undocumented public method.

Parameters
centerUndocumented
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ShearByCopy() [3/4]

BAffineTransform BAffineTransform::ShearByCopy ( const BPoint shear) const

Undocumented public method.

Parameters
shearUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ ShearByCopy() [4/4]

BAffineTransform BAffineTransform::ShearByCopy ( const BPoint center,
const BPoint shear 
) const

Undocumented public method.

Parameters
centerUndocumented
shearUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ TranslateBy() [1/2]

const BAffineTransform & BAffineTransform::TranslateBy ( double  x,
double  y 
)
inline

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

References tx, and ty.

◆ TranslateBy() [2/2]

const BAffineTransform & BAffineTransform::TranslateBy ( const BPoint delta)

Undocumented public method.

Parameters
deltaUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ TranslateByCopy() [1/2]

BAffineTransform BAffineTransform::TranslateByCopy ( double  x,
double  y 
) const

Undocumented public method.

Parameters
xUndocumented
yUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ TranslateByCopy() [2/2]

BAffineTransform BAffineTransform::TranslateByCopy ( const BPoint delta) const

Undocumented public method.

Parameters
deltaUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

◆ TypeCode()

type_code BAffineTransform::TypeCode ( ) const
virtual

Undocumented public method.

Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Implements BFlattenable.

◆ Unflatten()

status_t BAffineTransform::Unflatten ( type_code  code,
const void *  buffer,
ssize_t  size 
)
virtual

Undocumented public method.

Parameters
codeUndocumented
bufferUndocumented
sizeUndocumented
Returns
Undocumented
Return values
<value>Undocumented
Since
Haiku R1

Implements BFlattenable.

Member Data Documentation

◆ kDefaultEpsilon

const double BAffineTransform::kDefaultEpsilon = 1e-14
static

Undocumented public variable.

Since
Haiku R1

◆ shx

double BAffineTransform::shx

◆ shy

double BAffineTransform::shy

◆ sx

double BAffineTransform::sx

◆ sy

double BAffineTransform::sy

◆ tx

double BAffineTransform::tx

Undocumented public variable.

Since
Haiku R1

Referenced by Apply(), ApplyInverse(), operator=(), PreTranslateBy(), RotateBy(), ScaleBy(), and TranslateBy().

◆ ty

double BAffineTransform::ty

Undocumented public variable.

Since
Haiku R1

Referenced by Apply(), ApplyInverse(), operator=(), PreTranslateBy(), RotateBy(), ScaleBy(), and TranslateBy().