Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: site/dev/design/pdftheory.md

Issue 967873002: Doc: update dev/design/pdftheory with new function call (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/dev/design/pdftheory.md
diff --git a/site/dev/design/pdftheory.md b/site/dev/design/pdftheory.md
index 6d90f2b5d914bbf01d493a021f96fbc9f8e9b45b..d45cfe2a7f04e245468054390f47d7c7a53e9c6b 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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698