Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: src/pdf/SkPDFUtils.h

Issue 1124193003: SkPDF: Move utility fns to SkPDFUtils (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-05-06 (Wednesday) 13:16:21 EDT Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pdf/SkPDFTypes.cpp ('k') | src/pdf/SkPDFUtils.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/pdf/SkPDFTypes.cpp ('k') | src/pdf/SkPDFUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698