aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/SkPDFUtils.h')
-rw-r--r--src/pdf/SkPDFUtils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pdf/SkPDFUtils.h b/src/pdf/SkPDFUtils.h
index 93509fedd8..27d0a3adbe 100644
--- a/src/pdf/SkPDFUtils.h
+++ b/src/pdf/SkPDFUtils.h
@@ -4,11 +4,10 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-
-
#ifndef SkPDFUtils_DEFINED
#define SkPDFUtils_DEFINED
+#include "SkPDFTypes.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkShader.h"
@@ -124,6 +123,8 @@ void PopulateTilingPatternDict(SkPDFDict* pattern,
SkRect& bbox,
sk_sp<SkPDFDict> resources,
const SkMatrix& matrix);
+
+bool ToBitmap(const SkImage* img, SkBitmap* dst);
} // namespace SkPDFUtils
#endif