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

Side by Side Diff: experimental/PdfViewer/src/SkPdfOps.h

Issue 83183004: Simplify SkPdfTokenLooper behavior. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Respond to comment (FIXME) Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPdfOps_DEFINED 8 #ifndef SkPdfOps_DEFINED
9 #define SkPdfOps_DEFINED 9 #define SkPdfOps_DEFINED
10 10
11 // Signature for all the operations available in pdf. 11 // Signature for all the operations available in pdf.
12 typedef SkPdfResult (*PdfOperatorRenderer)(SkPdfContext*, SkCanvas*, SkPdfTokenL ooper**); 12 typedef SkPdfResult (*PdfOperatorRenderer)(SkPdfContext*, SkCanvas*, SkPdfTokenL ooper*);
13 13
14 // FIXME (scroggo): Make a cleaner interface for this, and avoid statics and glo bals. 14 // FIXME (scroggo): Make a cleaner interface for this, and avoid statics and glo bals.
15 // Map of string to function pointer for all known draw operations. 15 // Map of string to function pointer for all known draw operations.
16 extern SkTDict<PdfOperatorRenderer> gPdfOps; 16 extern SkTDict<PdfOperatorRenderer> gPdfOps;
17 17
18 #endif // SkPdfOps_DEFINED 18 #endif // SkPdfOps_DEFINED
OLDNEW
« no previous file with comments | « experimental/PdfViewer/src/SkPdfContext.cpp ('k') | experimental/PdfViewer/src/SkPdfRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698