OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2015 Google Inc. All rights reserved. | 2 * Copyright (C) 2015 Google 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 FloatRect* glyphBounds); | 54 FloatRect* glyphBounds); |
55 int offsetForPosition(const Font*, const TextRun&, float targetX); | 55 int offsetForPosition(const Font*, const TextRun&, float targetX); |
56 float fillGlyphBuffer(const Font*, const TextRun&, | 56 float fillGlyphBuffer(const Font*, const TextRun&, |
57 HashSet<const SimpleFontData*>*, GlyphBuffer*, | 57 HashSet<const SimpleFontData*>*, GlyphBuffer*, |
58 unsigned from, unsigned to); | 58 unsigned from, unsigned to); |
59 float fillGlyphBufferForTextEmphasis(const Font*, const TextRun&, | 59 float fillGlyphBufferForTextEmphasis(const Font*, const TextRun&, |
60 const GlyphData* emphasisData, GlyphBuffer*, | 60 const GlyphData* emphasisData, GlyphBuffer*, |
61 unsigned from, unsigned to); | 61 unsigned from, unsigned to); |
62 CharacterRange getCharacterRange(const Font*, const TextRun&, | 62 CharacterRange getCharacterRange(const Font*, const TextRun&, |
63 unsigned from, unsigned to); | 63 unsigned from, unsigned to); |
| 64 Vector<CharacterRange> individualCharacterRanges(const Font*, |
| 65 const TextRun&, unsigned from, unsigned to); |
64 | 66 |
65 private: | 67 private: |
66 ShapeCache* m_shapeCache; | 68 ShapeCache* m_shapeCache; |
67 }; | 69 }; |
68 | 70 |
69 } // namespace blink | 71 } // namespace blink |
70 | 72 |
71 #endif // CachingWordShaper_h | 73 #endif // CachingWordShaper_h |
OLD | NEW |