Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 3300 → Rev 3299

411,7 → 411,7
\brief Renders the Preview to a file on Disk
\param Seite int page number
\param Res int
\retval int Flag indicating error
\retval bool Flag indicating succsess
int PPreview::RenderPreview(int Seite, int Res)
588,10 → 588,8
void PPreview::blendImages(QImage &target, ScImage &source, ScColor col)
//FIXME: if source and target have different sizesomething went wrong.
// eg. loadPicture() failed and returned a 1x1 image
int h = QMIN(target.height(),source.height());
int w = QMIN(target.width(),source.width());
int h = target.height();
int w = target.width();
int cyan, c, m, yc, k, cc, mm, yy, kk;
col.getCMYK(&c, &m, &yc, &k);
for (int y=0; y < h; ++y )
642,7 → 640,6
qApp->setOverrideCursor(QCursor(arrowCursor), true);
APage = Seite;
return Bild;