diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-20 10:13:18 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-20 10:13:18 -0800 |
commit | 5500da04e3acfa98baf9befb5d91fb787d599341 (patch) | |
tree | 8f21f3af2329daf938d8cc0f298fe22668cf1a05 /xfa/src/fxgraphics | |
parent | 0afbad0509578a5fee6fec4394d6b3c55425cf28 (diff) | |
download | pdfium-5500da04e3acfa98baf9befb5d91fb787d599341.tar.xz |
Merge to XFA: Remove CFX_Matrix::Reset()
Original Review URL: https://codereview.chromium.org/1459243002 .
(cherry picked from commit 6fc00fafcbac1fd5edd767fe2d4a8e4a9ef52806)
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1461703008 .
Diffstat (limited to 'xfa/src/fxgraphics')
-rw-r--r-- | xfa/src/fxgraphics/src/fx_graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxgraphics/src/fx_graphics.cpp b/xfa/src/fxgraphics/src/fx_graphics.cpp index 655c87085b..990e7f47e8 100644 --- a/xfa/src/fxgraphics/src/fx_graphics.cpp +++ b/xfa/src/fxgraphics/src/fx_graphics.cpp @@ -25,7 +25,7 @@ CFX_Graphics::CFX_Graphics() { _info._graphState.SetDashCount(0);
_info._isAntialiasing = TRUE;
_info._strokeAlignment = FX_STROKEALIGNMENT_Center;
- _info._CTM.Reset();
+ _info._CTM.SetIdentity();
_info._isActOnDash = FALSE;
_info._strokeColor = NULL;
_info._fillColor = NULL;
@@ -1343,7 +1343,7 @@ FX_ERR CFX_Color::Set(CFX_Shading* shading) { }
CFX_Pattern::CFX_Pattern() {
_type = FX_PATTERN_None;
- _matrix.Reset();
+ _matrix.SetIdentity();
}
FX_ERR CFX_Pattern::Create(CFX_DIBitmap* bitmap,
const FX_FLOAT xStep,
|