Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 9864 → Rev 9865

/trunk/Scribus/scribus/pdflib.cpp
5632,7 → 5632,7
if ((ite->width()/ite->imageXScale() - ite->pixm.width()) != 0)
{
if (ite->annotation().ScaleW() == 3)
PutDoc(FToStr(qMax(ite->imageXOffset() / (ite->width()/ite->imageXScale() - ite->pixm.width()), 0.01)));
PutDoc(FToStr(qMax(ite->imageXOffset() / (ite->width()/ite->imageXScale() - ite->pixm.width()), 0.01))+" ");
else
PutDoc("0.5 ");
}
5641,7 → 5641,7
if ((ite->height()/ite->imageYScale() - ite->pixm.height()) != 0)
{
if (ite->annotation().ScaleW() == 3)
PutDoc(FToStr(qMax(ite->imageYOffset() / (ite->height()/ite->imageYScale() - ite->pixm.height()), 0.01)));
PutDoc(FToStr(1.0 - qMax(ite->imageYOffset() / (ite->height()/ite->imageYScale() - ite->pixm.height()), 0.01)));
else
PutDoc("0.5");
}