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. 12typedef SkPdfResult (*PdfOperatorRenderer)(SkPdfContext*, SkCanvas*, SkPdfTokenLooper*); 13 14// FIXME (scroggo): Make a cleaner interface for this, and avoid statics and globals. 15// Map of string to function pointer for all known draw operations. 16extern SkTDict<PdfOperatorRenderer> gPdfOps; 17 18#endif // SkPdfOps_DEFINED 19