OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef CCFontAtlas_h | 5 #ifndef CC_FONT_ATLAS_H_ |
6 #define CCFontAtlas_h | 6 #define CC_FONT_ATLAS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "cc/cc_export.h" | 12 #include "cc/cc_export.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
15 | 15 |
16 class SkCanvas; | 16 class SkCanvas; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // The look-up tables mapping ascii characters to their gfx::Rect locations
on the atlas. | 53 // The look-up tables mapping ascii characters to their gfx::Rect locations
on the atlas. |
54 gfx::Rect m_asciiToRectTable[128]; | 54 gfx::Rect m_asciiToRectTable[128]; |
55 | 55 |
56 int m_fontHeight; | 56 int m_fontHeight; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(FontAtlas); | 58 DISALLOW_COPY_AND_ASSIGN(FontAtlas); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
62 | 62 |
63 #endif | 63 #endif // CC_FONT_ATLAS_H_ |
OLD | NEW |