OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 UI_GFX_TRANSFORM_H_ | 5 #ifndef UI_GFX_TRANSFORM_H_ |
6 #define UI_GFX_TRANSFORM_H_ | 6 #define UI_GFX_TRANSFORM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "third_party/skia/include/utils/SkMatrix44.h" | 11 #include "third_party/skia/include/utils/SkMatrix44.h" |
12 #include "ui/base/ui_export.h" | 12 #include "ui/gfx/gfx_export.h" |
13 #include "ui/gfx/vector2d_f.h" | 13 #include "ui/gfx/vector2d_f.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 | 16 |
17 class RectF; | 17 class RectF; |
18 class Point; | 18 class Point; |
19 class Point3F; | 19 class Point3F; |
20 class Vector3dF; | 20 class Vector3dF; |
21 | 21 |
22 // 4x4 transformation matrix. Transform is cheap and explicitly allows | 22 // 4x4 transformation matrix. Transform is cheap and explicitly allows |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 Point3F& point) const; | 229 Point3F& point) const; |
230 | 230 |
231 SkMatrix44 matrix_; | 231 SkMatrix44 matrix_; |
232 | 232 |
233 // copy/assign are allowed. | 233 // copy/assign are allowed. |
234 }; | 234 }; |
235 | 235 |
236 } // namespace gfx | 236 } // namespace gfx |
237 | 237 |
238 #endif // UI_GFX_TRANSFORM_H_ | 238 #endif // UI_GFX_TRANSFORM_H_ |
OLD | NEW |