OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #ifndef SkAutoKern_DEFINED | 9 #ifndef SkAutoKern_DEFINED |
11 #define SkAutoKern_DEFINED | 10 #define SkAutoKern_DEFINED |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 SkScalar adjust = SkAutoKern_Adjust(fPrevRsbDelta, glyph.fLsbDelta); | 42 SkScalar adjust = SkAutoKern_Adjust(fPrevRsbDelta, glyph.fLsbDelta); |
44 fPrevRsbDelta = glyph.fRsbDelta; | 43 fPrevRsbDelta = glyph.fRsbDelta; |
45 return adjust; | 44 return adjust; |
46 #endif | 45 #endif |
47 } | 46 } |
48 private: | 47 private: |
49 int fPrevRsbDelta; | 48 int fPrevRsbDelta; |
50 }; | 49 }; |
51 | 50 |
52 #endif | 51 #endif |
OLD | NEW |