summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-04-25 14:23:31 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-25 18:36:40 +0000
commitd8fd936ebe64590e9c629eee6f4fbcff15adefd5 (patch)
tree1004e45813466bf8877123509ad5eacebd8dd220 /core
parenta9deea931ed7c7526bb32e30c54d91763f8026e0 (diff)
downloadpdfium-d8fd936ebe64590e9c629eee6f4fbcff15adefd5.tar.xz
Add comment to CFX_Matrix to record component positions.
This Cl adds a simple comment to CFX_Matrix to record which positions in the 3x3 matrix each of the letters denotes. Change-Id: Ie733657e6072e2148406d43f06fbd883b34bf573 Reviewed-on: https://pdfium-review.googlesource.com/4490 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/fxcrt/fx_coordinates.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/fxcrt/fx_coordinates.h b/core/fxcrt/fx_coordinates.h
index 0262268f49..cbae45b76f 100644
--- a/core/fxcrt/fx_coordinates.h
+++ b/core/fxcrt/fx_coordinates.h
@@ -566,6 +566,11 @@ class CFX_FloatRect {
float top;
};
+// The matrix is of the form:
+// | a b 0 |
+// | c d 0 |
+// | e f 1 |
+//
class CFX_Matrix {
public:
CFX_Matrix() { SetIdentity(); }