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

Unified Diff: third_party/WebKit/Source/core/css/CSSMatrix.h

Issue 2392343005: Reflow comments in core/css (Closed)
Patch Set: Revert clang-format Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSMarkup.cpp ('k') | third_party/WebKit/Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSMatrix.h
diff --git a/third_party/WebKit/Source/core/css/CSSMatrix.h b/third_party/WebKit/Source/core/css/CSSMatrix.h
index 2b3af9280bb8cb45e408b2fb3f357975bfe29951..e9f5eabf4d24d03291b537753515e96ffacfa8ac 100644
--- a/third_party/WebKit/Source/core/css/CSSMatrix.h
+++ b/third_party/WebKit/Source/core/css/CSSMatrix.h
@@ -99,48 +99,54 @@ class CSSMatrix final : public GarbageCollectedFinalized<CSSMatrix>,
// The following math function return a new matrix with the
// specified operation applied. The this value is not modified.
- // Multiply this matrix by secondMatrix, on the right (result = this * secondMatrix)
+ // Multiply this matrix by secondMatrix, on the right
+ // (result = this * secondMatrix)
CSSMatrix* multiply(CSSMatrix* secondMatrix) const;
- // Return the inverse of this matrix. Throw an exception if the matrix is not invertible
+ // Return the inverse of this matrix. Throw an exception if the matrix is not
+ // invertible.
CSSMatrix* inverse(ExceptionState&) const;
// Return this matrix translated by the passed values.
- // Passing a NaN will use a value of 0. This allows the 3D form to used for 2D operations
- // Operation is performed as though the this matrix is multiplied by a matrix with
- // the translation values on the left (result = translation(x,y,z) * this)
+ // Passing a NaN will use a value of 0. This allows the 3D form to used for 2D
+ // operations.
+ // Operation is performed as though the this matrix is multiplied by a matrix
+ // with the translation values on the left
+ // (result = translation(x,y,z) * this)
CSSMatrix* translate(double x, double y, double z) const;
// Returns this matrix scaled by the passed values.
- // Passing scaleX or scaleZ as NaN uses a value of 1, but passing scaleY of NaN
- // makes it the same as scaleX. This allows the 3D form to used for 2D operations
- // Operation is performed as though the this matrix is multiplied by a matrix with
- // the scale values on the left (result = scale(x,y,z) * this)
+ // Passing scaleX or scaleZ as NaN uses a value of 1, but passing scaleY of
+ // NaN makes it the same as scaleX. This allows the 3D form to used for 2D
+ // operations Operation is performed as though the this matrix is multiplied
+ // by a matrix with the scale values on the left
+ // (result = scale(x,y,z) * this)
CSSMatrix* scale(double scaleX, double scaleY, double scaleZ) const;
// Returns this matrix rotated by the passed values.
// If rotY and rotZ are NaN, rotate about Z (rotX=0, rotateY=0, rotateZ=rotX).
// Otherwise use a rotation value of 0 for any passed NaN.
- // Operation is performed as though the this matrix is multiplied by a matrix with
- // the rotation values on the left (result = rotation(x,y,z) * this)
+ // Operation is performed as though the this matrix is multiplied by a matrix
+ // with the rotation values on the left (result = rotation(x,y,z) * this)
CSSMatrix* rotate(double rotX, double rotY, double rotZ) const;
// Returns this matrix rotated about the passed axis by the passed angle.
// Passing a NaN will use a value of 0. If the axis is (0,0,0) use a value
- // Operation is performed as though the this matrix is multiplied by a matrix with
- // the rotation values on the left (result = rotation(x,y,z,angle) * this)
+ // Operation is performed as though the this matrix is multiplied by a matrix
+ // with the rotation values on the left
+ // (result = rotation(x,y,z,angle) * this)
CSSMatrix* rotateAxisAngle(double x, double y, double z, double angle) const;
// Return this matrix skewed along the X axis by the passed values.
// Passing a NaN will use a value of 0.
- // Operation is performed as though the this matrix is multiplied by a matrix with
- // the skew values on the left (result = skewX(angle) * this)
+ // Operation is performed as though the this matrix is multiplied by a matrix
+ // with the skew values on the left (result = skewX(angle) * this)
CSSMatrix* skewX(double angle) const;
// Return this matrix skewed along the Y axis by the passed values.
// Passing a NaN will use a value of 0.
- // Operation is performed as though the this matrix is multiplied by a matrix with
- // the skew values on the left (result = skewY(angle) * this)
+ // Operation is performed as though the this matrix is multiplied by a matrix
+ // with the skew values on the left (result = skewY(angle) * this)
CSSMatrix* skewY(double angle) const;
const TransformationMatrix& transform() const { return *m_matrix; }
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSMarkup.cpp ('k') | third_party/WebKit/Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698