OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkTextBox_DEFINED | 10 #ifndef SkTextBox_DEFINED |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 size_t fLen; | 68 size_t fLen; |
69 const SkPaint* fPaint; | 69 const SkPaint* fPaint; |
70 }; | 70 }; |
71 | 71 |
72 class SkTextLineBreaker { | 72 class SkTextLineBreaker { |
73 public: | 73 public: |
74 static int CountLines(const char text[], size_t len, const SkPaint&, SkScala
r width); | 74 static int CountLines(const char text[], size_t len, const SkPaint&, SkScala
r width); |
75 }; | 75 }; |
76 | 76 |
77 #endif | 77 #endif |
OLD | NEW |