| 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 <iosfwd> | 8 #include <iosfwd> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "third_party/skia/include/utils/SkMatrix44.h" | 12 #include "third_party/skia/include/utils/SkMatrix44.h" |
| 13 #include "ui/gfx/geometry/vector2d_f.h" | |
| 14 #include "ui/gfx/gfx_export.h" | 13 #include "ui/gfx/gfx_export.h" |
| 14 #include "ui/gfx/vector2d_f.h" |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 | 17 |
| 18 class BoxF; | 18 class BoxF; |
| 19 class RectF; | 19 class RectF; |
| 20 class Point; | 20 class Point; |
| 21 class Point3F; | 21 class Point3F; |
| 22 class Vector3dF; | 22 class Vector3dF; |
| 23 | 23 |
| 24 // 4x4 transformation matrix. Transform is cheap and explicitly allows | 24 // 4x4 transformation matrix. Transform is cheap and explicitly allows |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 // This is declared here for use in gtest-based unit tests but is defined in | 263 // This is declared here for use in gtest-based unit tests but is defined in |
| 264 // the gfx_test_support target. Depend on that to use this in your unit test. | 264 // the gfx_test_support target. Depend on that to use this in your unit test. |
| 265 // This should not be used in production code - call ToString() instead. | 265 // This should not be used in production code - call ToString() instead. |
| 266 void PrintTo(const Transform& transform, ::std::ostream* os); | 266 void PrintTo(const Transform& transform, ::std::ostream* os); |
| 267 | 267 |
| 268 } // namespace gfx | 268 } // namespace gfx |
| 269 | 269 |
| 270 #endif // UI_GFX_TRANSFORM_H_ | 270 #endif // UI_GFX_TRANSFORM_H_ |
| OLD | NEW |