blob: c88d60716abb24371f2f2087d1e5134281797ba2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkPdfOps_DEFINED
#define SkPdfOps_DEFINED
// Signature for all the operations available in pdf.
typedef SkPdfResult (*PdfOperatorRenderer)(SkPdfContext*, SkCanvas*, SkPdfTokenLooper*);
// FIXME (scroggo): Make a cleaner interface for this, and avoid statics and globals.
// Map of string to function pointer for all known draw operations.
extern SkTDict<PdfOperatorRenderer> gPdfOps;
#endif // SkPdfOps_DEFINED
|