diff options
author | 2015-02-28 08:04:33 -0800 | |
---|---|---|
committer | 2015-02-28 08:04:33 -0800 | |
commit | 1139889eb36937d2934c4b2ea91520b7f87d295b (patch) | |
tree | 217eace7496490f1d521114f5397210556b502ff /site/dev | |
parent | 0b70b86a7e9fda52ee7ebc1b9897eeaa09b9abef (diff) |
Doc: update dev/design/pdftheory with new function call
NOTRY=true
TBR=
Review URL: https://codereview.chromium.org/967873002
Diffstat (limited to 'site/dev')
-rw-r--r-- | site/dev/design/pdftheory.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site/dev/design/pdftheory.md b/site/dev/design/pdftheory.md index 6d90f2b5d9..d45cfe2a7f 100644 --- a/site/dev/design/pdftheory.md +++ b/site/dev/design/pdftheory.md @@ -56,8 +56,9 @@ longer document with a bunch of other pages. <!--?prettify lang=cc?--> + SkPDFCanon canon; SkAutoUnref<SkPDFDevice> pdfDevice( - new SkPDFDevice(width, height, initial_transform)); + SkPDFDevice::Create(SkISize::Make(width, height), 72.0f, &canon)); SkCanvas canvas(pdfDevice); draw_content(&canvas); |