Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: core/include/fxcrt/fx_coordinates.h

Issue 1459243002: Remove CFX_Matrix::Reset() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxcrt/fx_coordinates.h
diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h
index ddd0f572c8219b1eebf039233a852d483537e37c..e7fbe8549b6b9675a8129f4098f98a6cacd52638 100644
--- a/core/include/fxcrt/fx_coordinates.h
+++ b/core/include/fxcrt/fx_coordinates.h
@@ -607,10 +607,7 @@ class CFX_FloatRect {
};
class CFX_Matrix {
public:
- CFX_Matrix() {
- a = d = 1;
- b = c = e = f = 0;
- }
+ CFX_Matrix() { SetIdentity(); }
CFX_Matrix(FX_FLOAT a1,
FX_FLOAT b1,
@@ -648,11 +645,8 @@ class CFX_Matrix {
FX_FLOAT e,
FX_FLOAT f,
FX_BOOL bPrepended = FALSE);
-
void Concat(const CFX_Matrix& m, FX_BOOL bPrepended = FALSE);
-
void ConcatInverse(const CFX_Matrix& m, FX_BOOL bPrepended = FALSE);
- void Reset() { SetIdentity(); }
void Copy(const CFX_Matrix& m) { *this = m; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698