| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 #ifndef SkTextBlobRunIterator_DEFINED | 7 #ifndef SkTextBlobRunIterator_DEFINED |
| 8 #define SkTextBlobRunIterator_DEFINED | 8 #define SkTextBlobRunIterator_DEFINED |
| 9 | 9 |
| 10 #include "SkTextBlob.h" | 10 #include "SkTextBlob.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 bool done() const; | 22 bool done() const; |
| 23 void next(); | 23 void next(); |
| 24 | 24 |
| 25 uint32_t glyphCount() const; | 25 uint32_t glyphCount() const; |
| 26 const uint16_t* glyphs() const; | 26 const uint16_t* glyphs() const; |
| 27 const SkScalar* pos() const; | 27 const SkScalar* pos() const; |
| 28 const SkPoint& offset() const; | 28 const SkPoint& offset() const; |
| 29 void applyFontToPaint(SkPaint*) const; | 29 void applyFontToPaint(SkPaint*) const; |
| 30 SkTextBlob::GlyphPositioning positioning() const; | 30 SkTextBlob::GlyphPositioning positioning() const; |
| 31 uint32_t* clusters() const; |
| 32 uint32_t textSize() const; |
| 33 char* text() const; |
| 34 |
| 31 bool isLCD() const; | 35 bool isLCD() const; |
| 32 | 36 |
| 33 private: | 37 private: |
| 34 const SkTextBlob::RunRecord* fCurrentRun; | 38 const SkTextBlob::RunRecord* fCurrentRun; |
| 35 int fRemainingRuns; | 39 int fRemainingRuns; |
| 36 | 40 |
| 37 SkDEBUGCODE(uint8_t* fStorageTop;) | 41 SkDEBUGCODE(uint8_t* fStorageTop;) |
| 38 }; | 42 }; |
| 39 | 43 |
| 40 #endif // SkTextBlobRunIterator_DEFINED | 44 #endif // SkTextBlobRunIterator_DEFINED |
| OLD | NEW |