mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 746588 - Invert the gfxPattern matrix when using DrawTargets. r=jrmuizel a=akeybl
This commit is contained in:
parent
87b01dc940
commit
3c8520eec0
@ -132,6 +132,10 @@ gfxPattern::SetMatrix(const gfxMatrix& matrix)
|
||||
cairo_pattern_set_matrix(mPattern, &mat);
|
||||
} else {
|
||||
mTransform = ToMatrix(matrix);
|
||||
// Cairo-pattern matrices specify the conversion from DrawTarget to pattern
|
||||
// space. Azure pattern matrices specify the conversion from pattern to
|
||||
// DrawTarget space.
|
||||
mTransform.Invert();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user