[Kst] [Bug 129595] View image with transparent area not clipped correctly

Andrew Walker arwalker at sumusltd.com
Thu Jul 6 01:57:41 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=129595         
arwalker sumusltd com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arwalker sumusltd com  2006-07-06 01:57 -------
SVN commit 558770 by arwalker:

BUG:129595 Correctly handle transparency of images with alpha buffers

 M  +5 -1      kstviewpicture.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kstviewpicture.cpp #558769:558770
 @ -272,7 +272,11  @
 
 
 bool KstViewPicture::transparent() const {
-  return _iCache.hasAlphaBuffer();
+  if (!_iCache.isNull()) {
+    return _iCache.hasAlphaBuffer();
+  }
+  
+  return _image.hasAlphaBuffer();
 }


More information about the Kst mailing list