blob: 03c8521bdf8003340e78be7adc802c8ddc176dff [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
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.com8a1c16f2008-12-17 15:59:43 +00009
10#ifndef SkDrawPoint_DEFINED
11#define SkDrawPoint_DEFINED
12
13#include "SkBoundable.h"
14#include "SkMemberInfo.h"
15#include "SkPoint.h"
16
17struct Sk_Point {
18 DECLARE_NO_VIRTUALS_MEMBER_INFO(_Point);
19 Sk_Point();
20private:
21 SkPoint fPoint;
22};
23
24class SkDrawPoint : public SkDisplayable {
25 DECLARE_MEMBER_INFO(DrawPoint);
26 SkDrawPoint();
mtklein36352bf2015-03-25 18:17:31 -070027 void getBounds(SkRect* ) override;
reed@android.com8a1c16f2008-12-17 15:59:43 +000028private:
29 SkPoint fPoint;
30 typedef SkDisplayable INHERITED;
31};
32
33#endif // SkDrawPoint_DEFINED