[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenox/konq-embed/kdesrc/khtml/patches
From: Dirk Mueller <mueller () kde ! org>
Date: 2006-03-16 0:30:52
Message-ID: 1142469052.728839.18130.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 519034 by mueller:
remove chunk that doesn't apply for clean sources
M +0 -19 image_scaling.patch
--- trunk/kdenox/konq-embed/kdesrc/khtml/patches/image_scaling.patch #519033:519034
@@ -231,22 +231,3 @@
_style->setDisplay(BLOCK);
_style->setVisuallyOrdered( visuallyOrdered );
// ### make the font stuff _really_ work!!!!
---- render_image.cpp 2006-03-15 19:17:49.000000000 +0100
-+++ render_image.cpp.org 2006-03-15 19:17:27.000000000 +0100
-@@ -305,10 +305,12 @@
- // kdDebug( 6040 ) << "have to scale: " << endl;
- // qDebug("cw=%d ch=%d pw=%d ph=%d rcw=%d, rch=%d",
- // cWidth, cHeight, intrinsicWidth(), intrinsicHeight(), \
resizeCache.width(), resizeCache.height());
-- QWMatrix matrix;
-- matrix.scale( (float)(cWidth)/intrinsicWidth(),
-- (float)(cHeight)/intrinsicHeight() );
-- resizeCache = pix.xForm( matrix );
-+// QWMatrix matrix;
-+// matrix.scale( (float)(cWidth)/intrinsicWidth(),
-+// (float)(cHeight)/intrinsicHeight() );
-+// resizeCache = pix.xForm( matrix );
-+ QImage qi = pix.convertToImage();
-+ resizeCache = qi.smoothScale(cWidth,cHeight);
- scaledrect.setWidth( ( cWidth*scaledrect.width() ) / \
intrinsicWidth() );
- scaledrect.setHeight( ( cHeight*scaledrect.height() ) / \
intrinsicHeight() );
- // qDebug("resizeCache size: %d/%d", resizeCache.width(), \
resizeCache.height());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic