OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
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 SkPDFUtils_DEFINED | 10 #ifndef SkPDFUtils_DEFINED |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 static void AppendRectangle(const SkRect& rect, SkWStream* content); | 47 static void AppendRectangle(const SkRect& rect, SkWStream* content); |
48 static void EmitPath(const SkPath& path, SkPaint::Style paintStyle, | 48 static void EmitPath(const SkPath& path, SkPaint::Style paintStyle, |
49 SkWStream* content); | 49 SkWStream* content); |
50 static void ClosePath(SkWStream* content); | 50 static void ClosePath(SkWStream* content); |
51 static void PaintPath(SkPaint::Style style, SkPath::FillType fill, | 51 static void PaintPath(SkPaint::Style style, SkPath::FillType fill, |
52 SkWStream* content); | 52 SkWStream* content); |
53 static void StrokePath(SkWStream* content); | 53 static void StrokePath(SkWStream* content); |
54 static void DrawFormXObject(int objectIndex, SkWStream* content); | 54 static void DrawFormXObject(int objectIndex, SkWStream* content); |
55 static void ApplyGraphicState(int objectIndex, SkWStream* content); | 55 static void ApplyGraphicState(int objectIndex, SkWStream* content); |
56 static void ApplyPattern(int objectIndex, SkWStream* content); | 56 static void ApplyPattern(int objectIndex, SkWStream* content); |
| 57 static void AppendScalar(SkScalar value, SkWStream* stream); |
| 58 static SkString FormatString(const char* input, size_t len); |
57 }; | 59 }; |
58 | 60 |
59 #endif | 61 #endif |
OLD | NEW |