r18776 by fschmid - Better drawing of Drop Shadows

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 27 19:44:50 UTC 2014


Author: fschmid
Date: Mon Jan 27 19:44:50 2014
New Revision: 18776

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18776
Log:
Better drawing of Drop Shadows

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18776&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Mon Jan 27 19:44:50 2014
@@ -341,7 +341,8 @@
 	m_imageYOffset(other.m_imageYOffset),
 	m_imageRotation(other.m_imageRotation),
 	m_isReversed(other.m_isReversed),
-	firstLineOffsetP(other.firstLineOffsetP)
+	firstLineOffsetP(other.firstLineOffsetP),
+	m_groupClips(other.m_groupClips)
 {
 	QString tmp;
 	m_Doc->TotalItems++;
@@ -841,6 +842,7 @@
 	m_softShadowYOffset = 5.0;
 	m_softShadowOpacity = 0.0;
 	m_softShadowBlendMode = 0;
+	m_groupClips = true;
 }
 
 PageItem::~PageItem()
@@ -2220,7 +2222,7 @@
 	p->setPen(tmp, lwCorr, PLineArt, PLineEnd, PLineJoin);
 	p->fillPath();
 	p->strokePath();
-	p->blurAlpha(m_softShadowBlurRadius);
+	p->blur(m_softShadowBlurRadius);
 	p->endLayer();
 	p->restore();
 }




More information about the scribus-commit mailing list