| OLD | NEW | 
|---|
| 1 |  | 
| 2 /* | 1 /* | 
| 3  * Copyright 2011 Google Inc. | 2  * Copyright 2011 Google Inc. | 
| 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 SkPDFUtils_DEFINED | 9 #ifndef SkPDFUtils_DEFINED | 
| 11 #define SkPDFUtils_DEFINED | 10 #define SkPDFUtils_DEFINED | 
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 64     // abs(FLT_MIN_10_EXP) = number of zeros in FLT_MIN | 63     // abs(FLT_MIN_10_EXP) = number of zeros in FLT_MIN | 
| 65     static const size_t kMaximumFloatDecimalLength = 3 + 9 - FLT_MIN_10_EXP; | 64     static const size_t kMaximumFloatDecimalLength = 3 + 9 - FLT_MIN_10_EXP; | 
| 66     // FloatToDecimal is exposed for unit tests. | 65     // FloatToDecimal is exposed for unit tests. | 
| 67     static size_t FloatToDecimal(float value, | 66     static size_t FloatToDecimal(float value, | 
| 68                                  char output[kMaximumFloatDecimalLength]); | 67                                  char output[kMaximumFloatDecimalLength]); | 
| 69     static void AppendScalar(SkScalar value, SkWStream* stream); | 68     static void AppendScalar(SkScalar value, SkWStream* stream); | 
| 70     static SkString FormatString(const char* input, size_t len); | 69     static SkString FormatString(const char* input, size_t len); | 
| 71 }; | 70 }; | 
| 72 | 71 | 
| 73 #endif | 72 #endif | 
| OLD | NEW | 
|---|