Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 4743 → Rev 4744

/branches/Version13x/Scribus/scribus/pdflib.cpp
1218,9 → 1218,11
}
PutPage("q\n");
if (ite->imageClip.size() != 0)
{
PutPage(SetClipPathImage(ite));
else
PutPage(SetClipPath(ite));
PutPage("h\nW*\nn\n");
}
PutPage(SetClipPath(ite));
PutPage("h\nW*\nn\n");
if (ite->imageFlippedH())
PutPage("-1 0 0 1 "+FToStr(ite->width())+" 0 cm\n");
2265,9 → 2267,11
}
tmp += "q\n";
if (ite->imageClip.size() != 0)
{
tmp += SetClipPathImage(ite);
else
tmp += SetClipPath(ite);
tmp += "h\nW*\nn\n";
}
tmp += SetClipPath(ite);
tmp += "h\nW*\nn\n";
if (ite->imageFlippedH())
tmp += "-1 0 0 1 "+FToStr(ite->width())+" 0 cm\n";
/branches/Version13x/Scribus/scribus/pageitem_imageframe.cpp
94,10 → 94,19
else
{
p->save();
#ifdef HAVE_CAIRO
if (imageClip.size() != 0)
{
p->setupPolygon(&imageClip);
p->setClipPath();
}
p->setupPolygon(&PoLine);
#else
if (imageClip.size() != 0)
p->setupPolygon(&imageClip);
else
p->setupPolygon(&PoLine);
#endif
p->setClipPath();
if (imageFlippedH())
{
/branches/Version13x/Scribus/scribus/pslib.cpp
1454,9 → 1454,12
}
PS_save();
if (c->imageClip.size() != 0)
{
SetClipPath(&c->imageClip);
else
SetClipPath(&c->PoLine);
PS_closepath();
PS_clip(true);
}
SetClipPath(&c->PoLine);
PS_closepath();
PS_clip(true);
if (c->imageFlippedH())