| 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 | 7 |
| 8 #ifndef GrTextUtils_DEFINED | 8 #ifndef GrTextUtils_DEFINED |
| 9 #define GrTextUtils_DEFINED | 9 #define GrTextUtils_DEFINED |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 const char text[], size_t byteLength, | 61 const char text[], size_t byteLength, |
| 62 const SkScalar pos[], int scalarsPerPosition, | 62 const SkScalar pos[], int scalarsPerPosition, |
| 63 const SkPoint& offset, const SkIRect& clipBoun
ds); | 63 const SkPoint& offset, const SkIRect& clipBoun
ds); |
| 64 private: | 64 private: |
| 65 static void BmpAppendGlyph(GrAtlasTextBlob*, int runIndex, GrBatchFontCache*
, | 65 static void BmpAppendGlyph(GrAtlasTextBlob*, int runIndex, GrBatchFontCache*
, |
| 66 GrBatchTextStrike**, const SkGlyph&, int left, in
t top, | 66 GrBatchTextStrike**, const SkGlyph&, int left, in
t top, |
| 67 GrColor color, GrFontScaler*); | 67 GrColor color, GrFontScaler*); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 #endif | 70 #endif |
| OLD | NEW |