зеркало из https://github.com/mozilla/gecko-dev.git
Bug 746588 - Invert the gfxPattern matrix when using DrawTargets. r=jrmuizel a=akeybl
This commit is contained in:
Родитель
919b0dc5b1
Коммит
19c747aae6
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче