diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-28 20:54:03 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-28 20:54:03 +0000 |
commit | 292ade6625f2f3bed84afbe4d669613ebf3785f9 (patch) | |
tree | 3d818946ea0e313202fdc6a65414c4b893a80018 /include/utils | |
parent | 78b8253c0a389a484e15439722e35a1658eb3b01 (diff) |
add mac utility to turn a pdf into a bitmap
git-svn-id: http://skia.googlecode.com/svn/trunk@1743 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/mac/SkCGUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/mac/SkCGUtils.h b/include/utils/mac/SkCGUtils.h index aba64679e3..4b3e341f4c 100644 --- a/include/utils/mac/SkCGUtils.h +++ b/include/utils/mac/SkCGUtils.h @@ -12,6 +12,7 @@ #endif class SkBitmap; +class SkStream; /** * Create an imageref from the specified bitmap using the specified colorspace. @@ -36,4 +37,6 @@ static inline CGImageRef SkCreateCGImageRef(const SkBitmap& bm) { */ void SkCGDrawBitmap(CGContextRef, const SkBitmap&, float x, float y); +bool SkPDFDocumentToBitmap(SkStream* stream, SkBitmap* output); + #endif |