mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1013767 - Add Matrix::PostTranslate. r=Bas
This commit is contained in:
parent
ee01b2dc68
commit
a566c9094a
@ -73,6 +73,13 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
Matrix &PostTranslate(Float aX, Float aY)
|
||||
{
|
||||
_31 += aX;
|
||||
_32 += aY;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Matrix &Rotate(Float aAngle)
|
||||
{
|
||||
return *this = Matrix::Rotation(aAngle) * *this;
|
||||
|
Loading…
Reference in New Issue
Block a user