diff options
author | xlou <xlou@chromium.org> | 2018-01-31 22:24:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-31 22:24:05 +0000 |
commit | 66ce22c6cdb38ca5941c175aea371df92ae9cb8b (patch) | |
tree | 4557f587133e3005bde76d9b4fc12d19bd899b74 /fpdfsdk/fpdf_flatten.cpp | |
parent | bb04c59ec30b00cae6c902fa8bc128220bcff4df (diff) | |
download | pdfium-66ce22c6cdb38ca5941c175aea371df92ae9cb8b.tar.xz |
Experimental API for N-up feature support for print
FPDF_ImportNPagesToOne function is added to support N-up feature
for print.
If numPagesOnXAxis * numPagesOnYAxis == 0
Returns a nullptr.
If numPagesOnXAxis * numPagesOnYAxis == 1
Creates a new PDF document, and import one page to each output
page of the PDF document
If numPagesOnXAxis * numPagesOnYAxis > 1,
FPDF_ImportNPagesToOne imports multiple pages onto the same page.
This feature is intended for print pipeline to use.
Change-Id: Iec1afffe377ff9b7fef3cb33414b29b324154fa4
Reviewed-on: https://pdfium-review.googlesource.com/22050
Commit-Queue: Shirleen Lou <xlou@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_flatten.cpp')
0 files changed, 0 insertions, 0 deletions