Issue 3225 in pharo: Fade image examples/methods give DNU

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3225 in pharo: Fade image examples/methods give DNU

pharo
Status: Accepted
Owner: [hidden email]
Labels: Milestone-1.2

New issue 3225 by [hidden email]: Fade image examples/methods give  
DNU
http://code.google.com/p/pharo/issues/detail?id=3225

In class Form there are various #fadeImageXXX methods
each with an example in the comment.

Most of them do not work, for example:

Display fadeImageCoarse: (Form fromDisplay: (40@40 extent: 300@300))  
reverse at: 40@40

crashes with a DNU. MessageNotUnderstood: receiver of "bitShift:" is nil

Same problem in Squeak btw.




Reply | Threaded
Open this post in threaded view
|

Re: Issue 3225 in pharo: Fade image examples/methods give DNU

pharo
Updates:
        Status: Started

Comment #1 on issue 3225 by jbaptiste.arnaud: Fade image examples/methods  
give DNU
http://code.google.com/p/pharo/issues/detail?id=3225

(No comment was entered for this change.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3225 in pharo: Fade image examples/methods give DNU

pharo

Comment #2 on issue 3225 by jbaptiste.arnaud: Fade image examples/methods  
give DNU
http://code.google.com/p/pharo/issues/detail?id=3225

it 's a closure problem in previous version one block execute several time  
keep some var value. It 's not the case now. we should change :

fadeImage: otherImage at: topLeft
        indexAndMaskDo: indexAndMaskBlock

and update:
fadeImageCoarse: otherImage at: topLeft
fadeImageFine: otherImage at: topLeft
fadeImageHor: otherImage at: topLeft
fadeImageHorFine: otherImage at: topLeft
fadeImageSquares: otherImage at: topLeft
fadeImageVert: otherImage at: topLeft


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3225 in pharo: Fade image examples/methods give DNU

pharo
Updates:
        Status: Fixed

Comment #3 on issue 3225 by jbaptiste.arnaud: Fade image examples/methods  
give DNU
http://code.google.com/p/pharo/issues/detail?id=3225

Graphics-Display Objects-Jb.43 in Inbox

Attachments:
        Graphics-Display Objects-Jb.43.mcz  111 KB


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3225 in pharo: Fade image examples/methods give DNU

pharo
In reply to this post by pharo
Updates:
        Status: Closed
        Cc: jbaptiste.arnaud

Comment #4 on issue 3225 by stephane.ducasse: Fade image examples/methods  
give DNU
http://code.google.com/p/pharo/issues/detail?id=3225

in 12249