| Index: include/pdf/SkPDFDevice.h
|
| diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
|
| index d668be5df38a05ff0be5ee25670b78dfb6cc7877..5826c27103a28b34c153e6871e3be9d8e5bc28ef 100644
|
| --- a/include/pdf/SkPDFDevice.h
|
| +++ b/include/pdf/SkPDFDevice.h
|
| @@ -197,6 +197,10 @@ protected:
|
|
|
| virtual bool allowImageFilter(SkImageFilter*) SK_OVERRIDE;
|
|
|
| + void setRasterDpi(SkScalar dpi) {
|
| + fDpi = dpi;
|
| + }
|
| +
|
| private:
|
| // TODO(vandebo): push most of SkPDFDevice's state into a core object in
|
| // order to get the right access levels without using friend.
|
| @@ -233,6 +237,7 @@ private:
|
| SkAutoTDelete<SkPDFGlyphSetMap> fFontGlyphUsage;
|
|
|
| SkPicture::EncodeBitmap fEncoder;
|
| + SkScalar fDpi;
|
|
|
| SkPDFDevice(const SkISize& layerSize, const SkClipStack& existingClipStack,
|
| const SkRegion& existingClipRegion);
|
|
|