diff options
Diffstat (limited to 'printing/printed_page.h')
-rw-r--r-- | printing/printed_page.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/printing/printed_page.h b/printing/printed_page.h index 28bf191..40e96e0 100644 --- a/printing/printed_page.h +++ b/printing/printed_page.h @@ -25,13 +25,15 @@ class PRINTING_EXPORT PrintedPage PrintedPage(int page_number, Metafile* metafile, const gfx::Size& page_size, - const gfx::Rect& page_content_rect); + const gfx::Rect& page_content_rect, + double shrink_factor); // Getters int page_number() const { return page_number_; } const Metafile* metafile() const; const gfx::Size& page_size() const { return page_size_; } const gfx::Rect& page_content_rect() const { return page_content_rect_; } + double shrink_factor() const { return shrink_factor_; } // Get page content rect adjusted based on // http://dev.w3.org/csswg/css3-page/#positioning-page-box @@ -56,6 +58,9 @@ class PRINTING_EXPORT PrintedPage // The printable area of the page. const gfx::Rect page_content_rect_; + // Shrink done in comparison to desired_dpi. + double shrink_factor_; + DISALLOW_COPY_AND_ASSIGN(PrintedPage); }; |