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_PATH_H_ | 5 #ifndef UI_GFX_PATH_H_ |
6 #define UI_GFX_PATH_H_ | 6 #define UI_GFX_PATH_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 float y; | 26 float y; |
27 }; | 27 }; |
28 | 28 |
29 Path(); | 29 Path(); |
30 | 30 |
31 // Creates a path populated with the specified points. | 31 // Creates a path populated with the specified points. |
32 Path(const Point* points, size_t count); | 32 Path(const Point* points, size_t count); |
33 Path(const PointF* points, size_t count); | 33 Path(const PointF* points, size_t count); |
34 | 34 |
35 ~Path(); | 35 ~Path(); |
36 | |
37 private: | |
38 DISALLOW_COPY_AND_ASSIGN(Path); | |
39 }; | 36 }; |
40 | 37 |
41 } | 38 } |
42 | 39 |
43 #endif // UI_GFX_PATH_H_ | 40 #endif // UI_GFX_PATH_H_ |
OLD | NEW |