diff options
author | 2011-05-02 15:24:01 +0000 | |
---|---|---|
committer | 2011-05-02 15:24:01 +0000 | |
commit | be2048a371813259c46fc2260d53ccadc4ea8133 (patch) | |
tree | f2bcae6e8f6ef8ed57f9e02f597b625e3fe84870 /include/pdf | |
parent | 8295dc1474db279df08d816b2115e807c681fad5 (diff) |
[PDF] Fix fallout from r1217.
The width and height we pass to SkDevice must be postive.
Shader can no longer use negative coordinates (without transform).
Shader unflip matrix should use same values as passed to SkPDFDevice (height).
Most Shader dictionary entries should be scalars and not ints.
Review URL: http://codereview.appspot.com/4454047
git-svn-id: http://skia.googlecode.com/svn/trunk@1219 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf')
-rw-r--r-- | include/pdf/SkPDFDevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h index 26d3087445..98a473fed7 100644 --- a/include/pdf/SkPDFDevice.h +++ b/include/pdf/SkPDFDevice.h @@ -61,6 +61,7 @@ public: * inverse scale+translate to accommodate the one that SkPDFDevice * always does. */ + // TODO(vandebo) The sizes should be SkSize and not SkISize. SK_API SkPDFDevice(const SkISize& pageSize, const SkISize& contentSize, const SkMatrix& initialTransform); SK_API virtual ~SkPDFDevice(); |