OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007-2008 Torch Mobile Inc. | 3 * Copyright (C) 2007-2008 Torch Mobile Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #ifndef GlyphBuffer_h | 30 #ifndef GlyphBuffer_h |
31 #define GlyphBuffer_h | 31 #define GlyphBuffer_h |
32 | 32 |
33 #include "platform/fonts/Glyph.h" | 33 #include "platform/fonts/Glyph.h" |
34 #include "platform/fonts/GlyphBuffer.h" | 34 #include "platform/fonts/GlyphBuffer.h" |
35 #include "platform/geometry/FloatSize.h" | 35 #include "platform/geometry/FloatSize.h" |
36 #include "wtf/UnusedParam.h" | |
37 #include "wtf/Vector.h" | 36 #include "wtf/Vector.h" |
38 | 37 |
39 #if OS(MACOSX) | 38 #if OS(MACOSX) |
40 #include <ApplicationServices/ApplicationServices.h> | 39 #include <ApplicationServices/ApplicationServices.h> |
41 #endif | 40 #endif |
42 | 41 |
43 namespace WebCore { | 42 namespace WebCore { |
44 | 43 |
45 class SimpleFontData; | 44 class SimpleFontData; |
46 | 45 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 m_advances[index2] = s; | 140 m_advances[index2] = s; |
142 } | 141 } |
143 | 142 |
144 Vector<const SimpleFontData*, 2048> m_fontData; | 143 Vector<const SimpleFontData*, 2048> m_fontData; |
145 Vector<GlyphBufferGlyph, 2048> m_glyphs; | 144 Vector<GlyphBufferGlyph, 2048> m_glyphs; |
146 Vector<GlyphBufferAdvance, 2048> m_advances; | 145 Vector<GlyphBufferAdvance, 2048> m_advances; |
147 }; | 146 }; |
148 | 147 |
149 } | 148 } |
150 #endif | 149 #endif |
OLD | NEW |