OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 #ifndef CCLayerQuad_h | 6 #ifndef CCLayerQuad_h |
7 #define CCLayerQuad_h | 7 #define CCLayerQuad_h |
8 | 8 |
9 #include "FloatPoint3D.h" | 9 #include "FloatPoint3D.h" |
10 #include "FloatQuad.h" | 10 #include "FloatQuad.h" |
| 11 #include "cc/cc_export.h" |
11 | 12 |
12 static const float kAntiAliasingInflateDistance = 0.5f; | 13 static const float kAntiAliasingInflateDistance = 0.5f; |
13 | 14 |
14 namespace cc { | 15 namespace cc { |
15 | 16 |
16 class LayerQuad { | 17 class CC_EXPORT LayerQuad { |
17 public: | 18 public: |
18 class Edge { | 19 class Edge { |
19 public: | 20 public: |
20 Edge() | 21 Edge() |
21 : m_x(0) | 22 : m_x(0) |
22 , m_y(0) | 23 , m_y(0) |
23 , m_z(0) | 24 , m_z(0) |
24 { | 25 { |
25 } | 26 } |
26 Edge(const FloatPoint&, const FloatPoint&); | 27 Edge(const FloatPoint&, const FloatPoint&); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 private: | 94 private: |
94 Edge m_left; | 95 Edge m_left; |
95 Edge m_top; | 96 Edge m_top; |
96 Edge m_right; | 97 Edge m_right; |
97 Edge m_bottom; | 98 Edge m_bottom; |
98 }; | 99 }; |
99 | 100 |
100 } | 101 } |
101 | 102 |
102 #endif | 103 #endif |
OLD | NEW |