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

Side by Side Diff: cc/math_util.h

Issue 11418040: gfx::Transform API clean-up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/workspace/workspace_animations.cc ('k') | cc/math_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_MATH_UTIL_H_ 5 #ifndef CC_MATH_UTIL_H_
6 #define CC_MATH_UTIL_H_ 6 #define CC_MATH_UTIL_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "ui/gfx/point_f.h" 10 #include "ui/gfx/point_f.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Note carefully: the args here are labeled as per Webcore indexing convent ions. 136 // Note carefully: the args here are labeled as per Webcore indexing convent ions.
137 static gfx::Transform createGfxTransform(double m11, double m12, double m13, double m14, 137 static gfx::Transform createGfxTransform(double m11, double m12, double m13, double m14,
138 double m21, double m22, double m23, double m24, 138 double m21, double m22, double m23, double m24,
139 double m31, double m32, double m33, double m34, 139 double m31, double m32, double m33, double m34,
140 double m41, double m42, double m43, double m44); 140 double m41, double m42, double m43, double m44);
141 141
142 static gfx::Transform createGfxTransform(double a, double b, double c, 142 static gfx::Transform createGfxTransform(double a, double b, double c,
143 double d, double e, double f); 143 double d, double e, double f);
144 }; 144 };
145 145
146 // TODO(shawnsingh, vollick) this is a temporary home, should eventually
147 // be phased out in favor of gfx::Transform API.
148 gfx::Transform CC_EXPORT operator*(const gfx::Transform&, const gfx::Transform&) ;
149
150 } // namespace cc 146 } // namespace cc
151 147
152 #endif // CC_MATH_UTIL_H_ 148 #endif // CC_MATH_UTIL_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_animations.cc ('k') | cc/math_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698