mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1065764, part 1 - Make gfxMatrix::NudgeToIntegers() return a reference. r=Bas
This commit is contained in:
parent
ea0b67384b
commit
7d3142ed90
@ -147,7 +147,7 @@ static void NudgeToInteger(double *aVal)
|
||||
*aVal = f;
|
||||
}
|
||||
|
||||
void
|
||||
gfxMatrix&
|
||||
gfxMatrix::NudgeToIntegers(void)
|
||||
{
|
||||
NudgeToInteger(&_11);
|
||||
@ -156,4 +156,5 @@ gfxMatrix::NudgeToIntegers(void)
|
||||
NudgeToInteger(&_22);
|
||||
NudgeToInteger(&_31);
|
||||
NudgeToInteger(&_32);
|
||||
return *this;
|
||||
}
|
||||
|
@ -284,7 +284,7 @@ public:
|
||||
* to integers. In particular, components that are integral when
|
||||
* converted to single precision are set to those integers.
|
||||
*/
|
||||
void NudgeToIntegers(void);
|
||||
gfxMatrix& NudgeToIntegers(void);
|
||||
|
||||
/**
|
||||
* Returns true if matrix is multiple of 90 degrees rotation with flipping,
|
||||
|
Loading…
Reference in New Issue
Block a user