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 "FloatQuad.h" | 9 #include "FloatQuad.h" |
| 10 #include "cc/cc_export.h" |
10 | 11 |
11 static const float kAntiAliasingInflateDistance = 0.5f; | 12 static const float kAntiAliasingInflateDistance = 0.5f; |
12 | 13 |
13 namespace cc { | 14 namespace cc { |
14 | 15 |
15 class LayerQuad { | 16 class CC_EXPORT LayerQuad { |
16 public: | 17 public: |
17 class Edge { | 18 class Edge { |
18 public: | 19 public: |
19 Edge() | 20 Edge() |
20 : m_x(0) | 21 : m_x(0) |
21 , m_y(0) | 22 , m_y(0) |
22 , m_z(0) | 23 , m_z(0) |
23 { | 24 { |
24 } | 25 } |
25 Edge(const gfx::PointF&, const gfx::PointF&); | 26 Edge(const gfx::PointF&, const gfx::PointF&); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 private: | 93 private: |
93 Edge m_left; | 94 Edge m_left; |
94 Edge m_top; | 95 Edge m_top; |
95 Edge m_right; | 96 Edge m_right; |
96 Edge m_bottom; | 97 Edge m_bottom; |
97 }; | 98 }; |
98 | 99 |
99 } | 100 } |
100 | 101 |
101 #endif | 102 #endif |
OLD | NEW |