diff options
author | Nicolas Pena <npm@chromium.org> | 2017-06-29 12:02:06 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-29 20:50:09 +0000 |
commit | b21f174ad87e46c823c2ef8c11682167e2d12864 (patch) | |
tree | 79c3661672cbd2f84ee835f9922231bb90a634b3 /core/fxge/agg | |
parent | 8ce58f522e046ae3b1561d592ca7b3cd7c894731 (diff) | |
download | pdfium-b21f174ad87e46c823c2ef8c11682167e2d12864.tar.xz |
Change SetReverse to GetInverse in CFX_Matrix
CFX_Matrix::GetInverse is much clearer.
Change-Id: Id10ab1723735332e1a78de853f28415ec3a4d834
Reviewed-on: https://pdfium-review.googlesource.com/7090
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxge/agg')
-rw-r--r-- | core/fxge/agg/fx_agg_driver.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fxge/agg/fx_agg_driver.cpp b/core/fxge/agg/fx_agg_driver.cpp index 22d80071a9..91272d4427 100644 --- a/core/fxge/agg/fx_agg_driver.cpp +++ b/core/fxge/agg/fx_agg_driver.cpp @@ -1349,10 +1349,8 @@ bool CFX_AggDeviceDriver::DrawPath(const CFX_PathData* pPathData, pObject2Device->a / matrix1.a, pObject2Device->b / matrix1.a, pObject2Device->c / matrix1.d, pObject2Device->d / matrix1.d, 0, 0); - CFX_Matrix mtRervese; - mtRervese.SetReverse(matrix2); matrix1 = *pObject2Device; - matrix1.Concat(mtRervese); + matrix1.Concat(matrix2.GetInverse()); } CAgg_PathData path_data; |