[Pharo-project] Canvas transform bug when rendering text?
stephane.ducasse at inria.fr
Fri Apr 9 02:51:27 EDT 2010
PS: I will integrate some other fixes when back to the garage later today....
Got stuck on the highway without gaz :) ... yesterday.
> David, Lukas, whomever else it may concern.
> Of course I turned out to be (partly) wrong when looking into it.
> Transform does indeed not work with alpha, but not because of bugs in WarpBlt as I assumed, but because FormCanvas always uses the Paint rule when rotating...
> Try the attached code, and you should get better results. (you probably want to use smoothing > 1 if displaying text with rotation other than a multiple of 90 degrees).
> This seems to be more of a generic problem though, looking at the number of places a= 32 ifTrue:  check is made, I'll try to come up with a more consistent solution for a system-wide patch. (which amongst other things would also fix the black border appearing around a window while zooming back to old position when you drag and drop it outside main window)
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
More information about the Pharo-dev