epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright 2006 The Android Open Source Project |
| 4 | * |
| 5 | * Use of this source code is governed by a BSD-style license that can be |
| 6 | * found in the LICENSE file. |
| 7 | */ |
| 8 | |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 9 | |
| 10 | #ifndef SkDrawPoint_DEFINED |
| 11 | #define SkDrawPoint_DEFINED |
| 12 | |
| 13 | #include "SkBoundable.h" |
| 14 | #include "SkMemberInfo.h" |
| 15 | #include "SkPoint.h" |
| 16 | |
| 17 | struct Sk_Point { |
| 18 | DECLARE_NO_VIRTUALS_MEMBER_INFO(_Point); |
| 19 | Sk_Point(); |
| 20 | private: |
| 21 | SkPoint fPoint; |
| 22 | }; |
| 23 | |
| 24 | class SkDrawPoint : public SkDisplayable { |
| 25 | DECLARE_MEMBER_INFO(DrawPoint); |
| 26 | SkDrawPoint(); |
mtklein | 36352bf | 2015-03-25 18:17:31 -0700 | [diff] [blame] | 27 | void getBounds(SkRect* ) override; |
reed@android.com | 8a1c16f | 2008-12-17 15:59:43 +0000 | [diff] [blame] | 28 | private: |
| 29 | SkPoint fPoint; |
| 30 | typedef SkDisplayable INHERITED; |
| 31 | }; |
| 32 | |
| 33 | #endif // SkDrawPoint_DEFINED |