Hi Mikael If my understanding is correct, you're using SpImagePresenter to display a Form. You then have made some changes to the Form and you want to show its new face.
Why don't you set the image again in your presenter ? Something like `image image: yourUpdatedForm`. You can even update the Form of your presenter directly like: `image image: (image image pixelValueAt: 10@10 put: (image image pixelValueFor: Color red))` image being an instance of SpImagePresenter. Renaud Mar 7, 2025, 13:53 by mikael.sv...@fridhem.org: > > I have a Form where I change pixel colours using Form>>pixelValueAt:put:. The > Form exists inside an SpImagePresenter. After having changed the pixels, I > want to redraw the Form in an #updatePresenters method to show the changes, > but I haven’t been able to figure out how to do this. If I inspect the Form > it is clear that the pixels have been changed, so the problem is in the > #updatePresenters mwthod. I have tried different variations on this theme > without success: > > > > > > updatePresenter > > > | canvas | > > > “Get the canvas of the Form:” > > > canvas := imagePresenter image form getCanvas. > > > > > > adapter widget drawSubmorphsOn: canvas > > > > > > > > > Any suggestions would be very welcome. > > > > > > Kind regards, > > > Mikael > >