f2077f8fcf48a6e00552e03b4e1428d4c78b4f26
[platform/upstream/libSkiaSharp.git] / src / animator / SkDrawPoint.h
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
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();
27     void getBounds(SkRect* ) SK_OVERRIDE;
28 private:
29     SkPoint fPoint;
30     typedef SkDisplayable INHERITED;
31 };
32
33 #endif // SkDrawPoint_DEFINED