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

Side by Side Diff: third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp

Issue 2267183003: Switch from PrintTo to operator<< for platform printers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformationMatrix.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. 3 * Copyright (C) 2009 Torch Mobile, Inc.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 } 1621 }
1622 1622
1623 return String::format("translation(%lg,%lg,%lg), scale(%lg,%lg,%lg), skew(%l g,%lg,%lg), quaternion(%lg,%lg,%lg,%lg), perspective(%lg,%lg,%lg,%lg)", 1623 return String::format("translation(%lg,%lg,%lg), scale(%lg,%lg,%lg), skew(%l g,%lg,%lg), quaternion(%lg,%lg,%lg,%lg), perspective(%lg,%lg,%lg,%lg)",
1624 decomposition.translateX, decomposition.translateY, decomposition.transl ateZ, 1624 decomposition.translateX, decomposition.translateY, decomposition.transl ateZ,
1625 decomposition.scaleX, decomposition.scaleY, decomposition.scaleZ, 1625 decomposition.scaleX, decomposition.scaleY, decomposition.scaleZ,
1626 decomposition.skewXY, decomposition.skewXZ, decomposition.skewYZ, 1626 decomposition.skewXY, decomposition.skewXZ, decomposition.skewYZ,
1627 decomposition.quaternionX, decomposition.quaternionY, decomposition.quat ernionZ, decomposition.quaternionW, 1627 decomposition.quaternionX, decomposition.quaternionY, decomposition.quat ernionZ, decomposition.quaternionW,
1628 decomposition.perspectiveX, decomposition.perspectiveY, decomposition.pe rspectiveZ, decomposition.perspectiveW); 1628 decomposition.perspectiveX, decomposition.perspectiveY, decomposition.pe rspectiveZ, decomposition.perspectiveW);
1629 } 1629 }
1630 1630
1631 std::ostream& operator<<(std::ostream& ostream, const TransformationMatrix& matr ix)
1632 {
1633 return ostream << matrix.toString();
1634 }
1635
1631 } // namespace blink 1636 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformationMatrix.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698