Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2013 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #ifndef SkPdfOps_DEFINED | |
| 9 #define SkPdfOps_DEFINED | |
| 10 | |
| 11 // Signature for all the operations available in pdf. | |
| 12 typedef SkPdfResult (*PdfOperatorRenderer)(SkPdfContext*, SkCanvas*, SkPdfTokenL ooper**); | |
|
mtklein
2013/11/22 14:40:20
Would be nice to describe the arguments briefly he
| |
| 13 | |
| 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. | |
| 16 extern SkTDict<PdfOperatorRenderer> gPdfOps; | |
| 17 | |
| 18 #endif // SkPdfOps_DEFINED | |
| OLD | NEW |