Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 18444 → Rev 18455

/branches/Version14x/Scribus/scribus/canvasmode.cpp
248,8 → 248,8
psx->setRenderHint(QPainter::Antialiasing);
psx->translate(currItem->xPos(), currItem->yPos());
psx->rotate(currItem->rotation());
x = currItem->asLine() ? 0 : (currItem->lineWidth() / -2.0);
y = currItem->asLine() ? (h / -2.0) : (currItem->lineWidth() / -2.0);
x = currItem->asLine() ? 0 : (currItem->visualXPos() - currItem->xPos() - lineAdjust);
y = currItem->asLine() ? (h / -2.0) : (currItem->visualYPos() - currItem->yPos() - lineAdjust);
}
else
{
292,8 → 292,8
psx->setRenderHint(QPainter::Antialiasing);
psx->translate(currItem->xPos(), currItem->yPos());
psx->rotate(currItem->rotation());
x = currItem->asLine() ? 0 : (currItem->lineWidth() / -2.0);
y = currItem->asLine() ? (h / -2.0) : (currItem->lineWidth( ) / -2.0);
x = currItem->asLine() ? 0 : (currItem->visualXPos() - currItem->xPos() - lineAdjust);
y = currItem->asLine() ? (h / -2.0) : (currItem->visualYPos() - currItem->yPos() - lineAdjust);
}
else
{