summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a902c5)
raw | patch | inline | side by side (parent: 0a902c5)
author | miklosh <miklosh@users.sourceforge.net> | |
Sun, 19 Aug 2007 11:42:24 +0000 (11:42 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Sun, 19 Aug 2007 11:42:24 +0000 (11:42 +0000) |
src/extension/internal/pdfinput/pdf-parser.cpp | patch | blob | history | |
src/extension/internal/pdfinput/pdf-parser.h | patch | blob | history |
diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp
index 49c551be5efd32528d6faf6a64282fa68cf3eea6..121e6aa471b54d265508ff6929c7b3b012039913 100644 (file)
//------------------------------------------------------------------------
PdfParser::PdfParser(XRef *xrefA, Inkscape::Extension::Internal::SvgBuilder *builderA,
- int pageNum, int rotate, Dict *resDict, PDFRectangle *cropBox) {
+ int pageNum, int rotate, Dict *resDict,
+ PDFRectangle *box, PDFRectangle *cropBox) {
int i;
@@ -269,7 +270,7 @@ PdfParser::PdfParser(XRef *xrefA, Inkscape::Extension::Internal::SvgBuilder *bui
res = new GfxResources(xref, resDict, NULL);
// initialize
- state = new GfxState(72.0, 72.0, cropBox, rotate, gTrue);
+ state = new GfxState(72.0, 72.0, box, rotate, gTrue);
clipHistory = new ClipHistoryEntry();
setDefaultApproximationPrecision();
fontChanged = gFalse;
diff --git a/src/extension/internal/pdfinput/pdf-parser.h b/src/extension/internal/pdfinput/pdf-parser.h
index 9caa01106487a464aeb4d8375e66ecf4a5cd4381..a40532fca24ead3caa7792df8439e3c7397f8226 100644 (file)
// Constructor for regular output.
PdfParser(XRef *xrefA, SvgBuilder *builderA, int pageNum, int rotate,
- Dict *resDict, PDFRectangle *cropBox);
+ Dict *resDict, PDFRectangle *box, PDFRectangle *cropBox);
// Constructor for a sub-page object.
PdfParser(XRef *xrefA, Inkscape::Extension::Internal::SvgBuilder *builderA,