| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 | 7 |
| 8 #ifndef SkTextToPathIter_DEFINED | 8 #ifndef SkTextToPathIter_DEFINED |
| 9 #define SkTextToPathIter_DEFINED | 9 #define SkTextToPathIter_DEFINED |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 SkGlyphCache* fCache; | 36 SkGlyphCache* fCache; |
| 37 SkPaint fPaint; | 37 SkPaint fPaint; |
| 38 SkScalar fScale; | 38 SkScalar fScale; |
| 39 SkFixed fPrevAdvance; | 39 SkFixed fPrevAdvance; |
| 40 const char* fText; | 40 const char* fText; |
| 41 const char* fStop; | 41 const char* fStop; |
| 42 SkMeasureCacheProc fGlyphCacheProc; | 42 SkMeasureCacheProc fGlyphCacheProc; |
| 43 | 43 |
| 44 const SkPath* fPath; // returned in next | |
| 45 SkScalar fXPos; // accumulated xpos, returned in next | 44 SkScalar fXPos; // accumulated xpos, returned in next |
| 46 SkAutoKern fAutoKern; | 45 SkAutoKern fAutoKern; |
| 47 int fXYIndex; // cache for horizontal -vs- vertical text | 46 int fXYIndex; // cache for horizontal -vs- vertical text |
| 48 }; | 47 }; |
| 49 | 48 |
| 50 #endif | 49 #endif |
| OLD | NEW |