[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdegraphics/kolourpaint/tools (silent)
From:       Clarence Dang <dang () kde ! org>
Date:       2007-10-07 7:57:23
Message-ID: 1191743843.510262.21365.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 722396 by dang:

SVN_SILENT a better reason for the code working


 M  +3 -3      kptoolautocrop.cpp  


--- branches/KDE/3.5/kdegraphics/kolourpaint/tools/kptoolautocrop.cpp #722395:722396
@@ -721,9 +721,9 @@
             if (*p)
             {
                 // TODO: We should really edit the mask here.  Due to good
-                //       luck -- kpToolAutoCrop discarding regions, ensuring
-                //       that we will never have a fully-transparent-single-color
-                //       region and a pixmap region to restore simultaneously, we
+                //       luck (if "maskBitmap" is initialized above, this region
+                //       will be marked as opaque in the mask; if it's not
+                //       initialized, we will be opaque by default), we
                 //       don't actually have to edit the mask but this is
                 //       highly error-prone.
                 painter.drawPixmap ((*b)->rect (), **p);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic