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 SkDisplayBounds_DEFINED | 10 #ifndef SkDisplayBounds_DEFINED |
11 #define SkDisplayBounds_DEFINED | 11 #define SkDisplayBounds_DEFINED |
12 | 12 |
13 #include "SkDrawRectangle.h" | 13 #include "SkDrawRectangle.h" |
14 | 14 |
15 class SkDisplayBounds : public SkDrawRect { | 15 class SkDisplayBounds : public SkDrawRect { |
16 DECLARE_DISPLAY_MEMBER_INFO(Bounds); | 16 DECLARE_DISPLAY_MEMBER_INFO(Bounds); |
17 SkDisplayBounds(); | 17 SkDisplayBounds(); |
18 bool draw(SkAnimateMaker& ) SK_OVERRIDE; | 18 bool draw(SkAnimateMaker& ) override; |
19 private: | 19 private: |
20 SkBool inval; | 20 SkBool inval; |
21 typedef SkDrawRect INHERITED; | 21 typedef SkDrawRect INHERITED; |
22 }; | 22 }; |
23 | 23 |
24 #endif // SkDisplayBounds_DEFINED | 24 #endif // SkDisplayBounds_DEFINED |
OLD | NEW |