OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "wtf/text/WTFString.h" | 32 #include "wtf/text/WTFString.h" |
33 #include "wtf/unicode/Unicode.h" | 33 #include "wtf/unicode/Unicode.h" |
34 #include "wtf/Vector.h" | 34 #include "wtf/Vector.h" |
35 #include <ApplicationServices/ApplicationServices.h> | 35 #include <ApplicationServices/ApplicationServices.h> |
36 | 36 |
37 typedef unsigned short CGGlyph; | 37 typedef unsigned short CGGlyph; |
38 | 38 |
39 typedef const struct __CTRun * CTRunRef; | 39 typedef const struct __CTRun * CTRunRef; |
40 typedef const struct __CTLine * CTLineRef; | 40 typedef const struct __CTLine * CTLineRef; |
41 | 41 |
42 namespace WebCore { | 42 namespace blink { |
43 | 43 |
44 class Font; | 44 class Font; |
45 class GlyphBuffer; | 45 class GlyphBuffer; |
46 class SimpleFontData; | 46 class SimpleFontData; |
47 class TextRun; | 47 class TextRun; |
48 | 48 |
49 enum GlyphIterationStyle { IncludePartialGlyphs, ByWholeGlyphs }; | 49 enum GlyphIterationStyle { IncludePartialGlyphs, ByWholeGlyphs }; |
50 | 50 |
51 // ComplexTextController is responsible for rendering and measuring glyphs for | 51 // ComplexTextController is responsible for rendering and measuring glyphs for |
52 // complex scripts on OS X. | 52 // complex scripts on OS X. |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 bool m_afterExpansion; | 168 bool m_afterExpansion; |
169 | 169 |
170 HashSet<const SimpleFontData*>* m_fallbackFonts; | 170 HashSet<const SimpleFontData*>* m_fallbackFonts; |
171 | 171 |
172 float m_minGlyphBoundingBoxX; | 172 float m_minGlyphBoundingBoxX; |
173 float m_maxGlyphBoundingBoxX; | 173 float m_maxGlyphBoundingBoxX; |
174 float m_minGlyphBoundingBoxY; | 174 float m_minGlyphBoundingBoxY; |
175 float m_maxGlyphBoundingBoxY; | 175 float m_maxGlyphBoundingBoxY; |
176 }; | 176 }; |
177 | 177 |
178 } // namespace WebCore | 178 } // namespace blink |
179 | 179 |
180 #endif // ComplexTextController_h | 180 #endif // ComplexTextController_h |
OLD | NEW |