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

Unified Diff: experimental/PdfViewer/SkPdfRenderer.h

Issue 19000004: add ability to specify the DPI at which to render the page (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 | experimental/PdfViewer/SkPdfRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/SkPdfRenderer.h
===================================================================
--- experimental/PdfViewer/SkPdfRenderer.h (revision 10006)
+++ experimental/PdfViewer/SkPdfRenderer.h (working copy)
@@ -11,6 +11,7 @@
class SkCanvas;
class SkNativeParsedPDF;
+class SkRect;
// TODO(edisonn): move in another file
class SkPdfRenderer : public SkRefCnt {
@@ -20,7 +21,7 @@
virtual ~SkPdfRenderer() {unload();}
// TODO(edisonn): add options to render forms, or not
- bool renderPage(int page, SkCanvas* canvas) const;
+ bool renderPage(int page, SkCanvas* canvas, const SkRect& dst) const;
reed1 2013/07/11 15:27:13 Why is this better than just using the matrix on t
edisonn 2013/07/11 15:36:24 there is some magic I need to do to remap the matr
bool load(const SkString inputFileName);
bool loaded() const {return fPdfDoc != NULL;}
« no previous file with comments | « no previous file | experimental/PdfViewer/SkPdfRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698