OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkDrawPoint_DEFINED | 10 #ifndef SkDrawPoint_DEFINED |
11 #define SkDrawPoint_DEFINED | 11 #define SkDrawPoint_DEFINED |
12 | 12 |
13 #include "SkBoundable.h" | 13 #include "SkBoundable.h" |
14 #include "SkMemberInfo.h" | 14 #include "SkMemberInfo.h" |
15 #include "SkPoint.h" | 15 #include "SkPoint.h" |
16 | 16 |
17 struct Sk_Point { | 17 struct Sk_Point { |
18 DECLARE_NO_VIRTUALS_MEMBER_INFO(_Point); | 18 DECLARE_NO_VIRTUALS_MEMBER_INFO(_Point); |
19 Sk_Point(); | 19 Sk_Point(); |
20 private: | 20 private: |
21 SkPoint fPoint; | 21 SkPoint fPoint; |
22 }; | 22 }; |
23 | 23 |
24 class SkDrawPoint : public SkDisplayable { | 24 class SkDrawPoint : public SkDisplayable { |
25 DECLARE_MEMBER_INFO(DrawPoint); | 25 DECLARE_MEMBER_INFO(DrawPoint); |
26 SkDrawPoint(); | 26 SkDrawPoint(); |
27 void getBounds(SkRect* ) SK_OVERRIDE; | 27 void getBounds(SkRect* ) override; |
28 private: | 28 private: |
29 SkPoint fPoint; | 29 SkPoint fPoint; |
30 typedef SkDisplayable INHERITED; | 30 typedef SkDisplayable INHERITED; |
31 }; | 31 }; |
32 | 32 |
33 #endif // SkDrawPoint_DEFINED | 33 #endif // SkDrawPoint_DEFINED |
OLD | NEW |