| OLD | NEW |
| 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 |
| OLD | NEW |