List Info

Thread: SVN/trunk/KDE/kdelibs/pics/ksvgtopng.cpp




SVN/trunk/KDE/kdelibs/pics/ksvgtopng.cpp
country flaguser name
United States
2007-07-26 23:29:09
 From the code not likely to work department:

	KSvgRenderer renderer(QString::fromLocal8Bit(argv[3]));
	if(renderer.isValid())
	{
	        QPainter p(&img);
		renderer.render(&p);
/*
		// Apply icon sharpening
		double factor = 0;

		if(width == 16)
			factor = 30;
		else if(width == 32)
			factor = 20;
		else if(width == 48)
			factor = 10;
		else if(width == 64)
			factor = 5;

		*img = KImageEffect::sharpen(*img, factor);
*/
	}

Yes this is commented out, but was that always the case? and
why is it 
commented out? besides the reason that it isn't very good
code.

-- 
JRT
 
>> Visit 
http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
unsubscribe <<

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )