Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 3870 → Rev 3869

/branches/Version13x/Scribus/scribus/scribusview.cpp
5259,7 → 5259,7
}
break;
}
currItem->updateGradientVectors();
updateGradientVectors(currItem);
}
 
void ScribusView::MarkClip(PageItem *currItem, FPointArray cli, bool once)
6007,7 → 6007,7
p.setPen(QPen(white, 1, DotLine, FlatCap, MiterJoin));
currItem->DrawPolyL(&p, currItem->Clip);
UpdateClip(currItem);
currItem->updateGradientVectors();
updateGradientVectors(currItem);
currItem->DrawPolyL(&p, currItem->Clip);
p.end();
return true;
6030,7 → 6030,7
}
UpdateClip(currItem);
}
currItem->updateGradientVectors();
updateGradientVectors(currItem);
if (redraw)
{
QRect newR(currItem->getRedrawBounding(Scale));
6354,7 → 6354,7
bb->GrStartY = gr.point(0).y();
bb->GrEndX = gr.point(1).x();
bb->GrEndY = gr.point(1).y();
bb->updateGradientVectors();
updateGradientVectors(bb);
if ((Doc->RotMode != 0) && (!Doc->isLoading()))
{
switch (Doc->RotMode)
7559,8 → 7559,7
void ScribusView::updateGradientVectors(PageItem *currItem)
{
currItem->updateGradientVectors();
if (currItem==SelItem.at(0))
ScApp->propertiesPalette->updateColorSpecialGradient();
ScApp->propertiesPalette->updateColorSpecialGradient();
}
 
void ScribusView::SetupDraw(int nr)
9569,7 → 9568,7
{
currItem = SelItem.at(a);
currItem->GrType = typ;
currItem->updateGradientVectors();
updateGradientVectors(currItem);
RefreshItem(currItem);
}
}
10702,7 → 10701,7
currItem->GrStartY = Buffer->GrStartY;
currItem->GrEndX = Buffer->GrEndX;
currItem->GrEndY = Buffer->GrEndY;
currItem->updateGradientVectors();
updateGradientVectors(currItem);
}
currItem->setObjectAttributes(&(Buffer->pageItemAttributes));
setRedrawBounding(currItem);
/branches/Version13x/Scribus/scribus/pageitem.cpp
3363,8 → 3363,6
GrEndY = QMIN(QMAX(GrEndY, 0), Height);
GrStartX = QMIN(QMAX(GrStartX, 0), Width);
GrStartY = QMIN(QMAX(GrStartY, 0), Height);
if (ScApp->view->SelItem.count()!=0 && this==ScApp->view->SelItem.at(0))
ScApp->propertiesPalette->updateColorSpecialGradient();
}
 
void PageItem::SetPolyClip(int up)