summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_ppo.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-13 16:12:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-13 16:12:01 +0000
commit3a83fe5cf6cf1c056118531105359fc31615dc7f (patch)
tree737f36d22ea245520f090c9b38e53be165353678 /fpdfsdk/fpdf_ppo.cpp
parentd8df8c35a463073579ca01a838699b037eca7cee (diff)
downloadpdfium-3a83fe5cf6cf1c056118531105359fc31615dc7f.tar.xz
Fix FPDF_ImportNPagesToOne() documentation.
FPDF_ImportNPagesToOne() has width/height parameters to indicate the dimensions of pages in the returned PDF. PDF is not a raster-based format, so pixels are not the right unit for page dimensions. Change-Id: Iff5b373a5a020b5822aaa29d2b44f1dbf7a75b13 Reviewed-on: https://pdfium-review.googlesource.com/37810 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_ppo.cpp')
-rw-r--r--fpdfsdk/fpdf_ppo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_ppo.cpp b/fpdfsdk/fpdf_ppo.cpp
index 8bbae7258d..722070547f 100644
--- a/fpdfsdk/fpdf_ppo.cpp
+++ b/fpdfsdk/fpdf_ppo.cpp
@@ -546,7 +546,7 @@ class CPDF_NPageToOneExporter : public CPDF_PageOrganizer {
// numbers, insert them into the destination document, starting at page 0.
// |pageNums| is 1-based.
// |destPageSize| is the destination document page dimensions, measured in
- // pixels.
+ // PDF "user space" units.
// |numPagesOnXAxis| and |numPagesOnXAxis| together defines how many source
// pages fit on one destination page.
bool ExportNPagesToOne(const std::vector<uint32_t>& pageNums,