[Newbies] How to use Form pixelCompare:with:at:
Bert Freudenberg
bert at freudenbergs.de
Tue Jan 7 14:57:44 UTC 2014
On 07.01.2014, at 15:19, Herbert König <herbertkoenig at gmx.net> wrote:
> Hi,
>
> Form>>pixelCompare:with:at: seems to always return 0.
>
> I use it like
> |pict1 pict2|
> pict1 := (Form extent: 100 at 100 depth: 32) fillBlack.
> pict2 := (Form extent: 100 at 100 depth: 32) fillWithColor: Color red.
> pict1 pixelCompare: pict1 boundingBox with: pict2 at: 0 at 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.
Try 16 bit forms.
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/beginners/attachments/20140107/95afe7cb/smime.bin
More information about the Beginners
mailing list