keepAspectRatio = false; // for LaTeX output
draft = false; // draft mode
noUnzip = false; // unzip files
+ scaleBeforeRotation = false; // scale image before rotating
bb = string(); // bounding box
clip = false; // clip image
keepAspectRatio = igp.keepAspectRatio;
draft = igp.draft;
noUnzip = igp.noUnzip;
+ scaleBeforeRotation = igp.scaleBeforeRotation;
bb = igp.bb;
clip = igp.clip;
left.keepAspectRatio == right.keepAspectRatio &&
left.draft == right.draft &&
left.noUnzip == right.noUnzip &&
+ left.scaleBeforeRotation == right.scaleBeforeRotation &&
left.bb == right.bb &&
os << "\tdraft\n";
if (noUnzip)
os << "\tnoUnzip\n";
+ if (scaleBeforeRotation)
+ os << "\tscaleBeforeRotation\n";
if (!bb.empty()) // bounding box
os << "\tBoundingBox " << bb << '\n';
draft = true;
} else if (token == "noUnzip") {
noUnzip = true;
+ } else if (token == "scaleBeforeRotation") {
+ scaleBeforeRotation = true;
} else if (token == "BoundingBox") {
bb.erase();
for (int i = 0; i < 4; ++i) {