On 4/10/2010 10:51 AM, Hilaire Fernandes wrote:
Michael Rueger a écrit :
On 4/10/2010 10:31 AM, Hilaire Fernandes wrote:
Will it allow us to have vector based UI element or is non sense?
No, not non sense :-), that is exactly what it would allow.
Yes, vector based UI is where we should move to keep in the course. Is it what you did for Sophie? If so, did you use some bitmap caching technic?
Tweak does (or did back then) some caching. You have to be careful though with caching, as you might end up copying a lot of bits around even if caching doesn't really make sense for your particular application. IIRC (it's been a while) in Tweak you first draw to the cache, then the cache is drawn to the Squeak Display bitmap and then that is drawn to the screen. No great when you are playing e.g. a video. Michael