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

Unified Diff: Source/platform/transforms/TransformationMatrix.h

Issue 328333003: Adding Blink-side 3d Box and Bounds calculations to TransformOperations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing android build Created 6 years, 6 months 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
Index: Source/platform/transforms/TransformationMatrix.h
diff --git a/Source/platform/transforms/TransformationMatrix.h b/Source/platform/transforms/TransformationMatrix.h
index fe06f4114b825935ff757dcc84fcd364c82e9504..654df9f52951907b0b42b696c4a1e49710eb8863 100644
--- a/Source/platform/transforms/TransformationMatrix.h
+++ b/Source/platform/transforms/TransformationMatrix.h
@@ -41,7 +41,7 @@ class IntRect;
class LayoutRect;
class FloatRect;
class FloatQuad;
-
+class FloatBox;
#if CPU(X86_64)
#define TRANSFORMATION_MATRIX_USE_X86_64_SSE2
#endif
@@ -152,6 +152,8 @@ public:
// while sanitizing values created when the w component is negative.
LayoutRect clampedBoundsOfProjectedQuad(const FloatQuad&) const;
+ void transformBox(FloatBox&) const;
+
double m11() const { return m_matrix[0][0]; }
void setM11(double f) { m_matrix[0][0] = f; }
double m12() const { return m_matrix[0][1]; }
« no previous file with comments | « Source/platform/transforms/TransformOperationsTest.cpp ('k') | Source/platform/transforms/TransformationMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698