| Index: include/pdf/SkPDFCallbacks.h
|
| diff --git a/include/pdf/SkPDFCallbacks.h b/include/pdf/SkPDFCallbacks.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c804b7174ef7dc3e0736b2b12fcc5e1baf26e226
|
| --- /dev/null
|
| +++ b/include/pdf/SkPDFCallbacks.h
|
| @@ -0,0 +1,21 @@
|
| +
|
| +/*
|
| + * 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 SkPDFCallbacks_DEFINED
|
| +#define SkPDFCallbacks_DEFINED
|
| +
|
| +class SkBitmap;
|
| +class SkIRect;
|
| +class SkWStream;
|
| +
|
| +typedef bool (*EncodeToDCTStream)(SkWStream* stream, const SkBitmap& bitmap, const SkIRect& rect);
|
| +// TODO(edisonn): add here the ones about font, shadow render preferences,
|
| +// how to export unsupported features, ...
|
| +
|
| +#endif // SkPDFCallbacks_DEFINED
|
|
|