• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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* ) override;
28 private:
29     SkPoint fPoint;
30     typedef SkDisplayable INHERITED;
31 };
32 
33 #endif // SkDrawPoint_DEFINED
34