r14469 by fschmid - Some minor fixes for the painting engine.
scribus-commit
scribus-commit at lists.scribus.net
Tue Jan 5 11:20:49 CET 2010
Revision: 14469
Author: fschmid
Date: 2010-01-04T21:26:47.153379Z
Commit message: Some minor fixes for the painting engine.
Changeset:
M /trunk/Scribus/scribus/scpainter.cpp
M /trunk/Scribus/scribus/pageitem.cpp
Diffs:
Index: scribus/scpainter.cpp
===================================================================
--- scribus/scpainter.cpp (revision 14468)
+++ scribus/scpainter.cpp (revision 14469)
@@ -1299,6 +1299,7 @@
pat = cairo_pattern_create_linear (x1, y1, x2, y2);
else
pat = cairo_pattern_create_radial (fx, fy, 0, x1, y1, sqrt(pow(x2 - x1, 2) + pow(y2 - y1,2)));
+ cairo_pattern_set_extend(pat, CAIRO_EXTEND_PAD);
QList<VColorStop*> colorStops = fill_gradient.colorStops();
QColor qStopColor;
for( int offset = 0 ; offset < colorStops.count() ; offset++ )
Index: scribus/pageitem.cpp
===================================================================
--- scribus/pageitem.cpp (revision 14468)
+++ scribus/pageitem.cpp (revision 14469)
@@ -1482,7 +1482,9 @@
}
}
p->setFillMode(ScPainter::Solid);
+ p->setBlendModeFill(0);
p->setStrokeMode(ScPainter::Solid);
+ p->setBlendModeStroke(0);
if ((!isEmbedded) && (!m_Doc->RePos))
{
double aestheticFactor(5.0);
More information about the scribus-commit
mailing list