Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(888)

Side by Side Diff: cc/layer_quad.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layer_painter.h ('k') | cc/layer_sorter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « cc/layer_painter.h ('k') | cc/layer_sorter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698