diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-24 17:56:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-24 17:56:26 +0000 |
commit | 02d42b65b779e29737275a258cb9f30fa8449e5e (patch) | |
tree | 12e2b27d3883378315ab32efb1d5b86359783494 /core/fxcrt/fx_coordinates.h | |
parent | 866d688766dbfc01d69f586bfa197d57df0d9b96 (diff) | |
download | pdfium-chromium/3591.tar.xz |
Add CFX_Matrix::AsTuple().chromium/3591
Change-Id: I53c1b148cb8cdc77461766fc9996a0a3ce5f4cb7
Reviewed-on: https://pdfium-review.googlesource.com/c/44536
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_coordinates.h')
-rw-r--r-- | core/fxcrt/fx_coordinates.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fxcrt/fx_coordinates.h b/core/fxcrt/fx_coordinates.h index 08dbd08903..67d3736fd8 100644 --- a/core/fxcrt/fx_coordinates.h +++ b/core/fxcrt/fx_coordinates.h @@ -8,12 +8,11 @@ #define CORE_FXCRT_FX_COORDINATES_H_ #include <algorithm> +#include <tuple> #include "core/fxcrt/fx_system.h" #include "third_party/base/numerics/safe_math.h" -class CFX_Matrix; - template <class BaseType> class CFX_PTemplate { public: @@ -541,6 +540,8 @@ class CFX_Matrix { f = other.f; } + std::tuple<float, float, float, float, float, float> AsTuple() const; + void SetIdentity() { a = 1; b = 0; |