[squeak-dev] BitBlt copyBits rule 32 not working?

David T. Lewis lewis at mail.msen.com
Fri Nov 13 17:57:53 UTC 2009


On Fri, Nov 13, 2009 at 10:27:47AM -0300, Gonzalo Romano wrote:
> Hi i'm trying to use BitBlt to compare images, but when i use
> 
> BitBlt>>copy: destRectangle from: sourcePt in: srcForm fillColor: hf rule:  
> rule
> 
> with rule = 32(rgbDiff: sourceWord with: destWord) , it allways returns  
> zero...
> 
> rule 22 old rgbDiff seems to work just fine...
> 
> I'm using 3.8 dev image and a custom windows vm, but i also tried it with  
> 3.10 and last available vm with the same results..

Check and see if it related to this:

  http://bugs.squeak.org/view.php?id=7407

The fixes for this are in recent VMMaker, but probably not in any of the
distributed VMs.

Dave




More information about the Squeak-dev mailing list