Hi,

Form>>pixelCompare:with:at: seems to always return 0.

I use it like
|pict1 pict2|
pict1 := (Form extent: 100@100 depth: 32) fillBlack.
pict2 := (Form extent: 100@100 depth: 32) fillWithColor: Color red.
pict1 pixelCompare: pict1 boundingBox with: pict2 at: 0@0

As I get the same result in a 4.4 and a 3.8 image I guess I don't understand how it's used. No senders in either image.

Any help is appreciated.

Cheers,

Herbert
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to