Re: SDLx::Text - replace old text?

2011-12-25 Thread Dominique Dumont
Le Friday 23 December 2011 21:02:17, Kartik Thakore a écrit : > > Regarding the surface, SDLx::App is a SDLx::Surface. That's what I > > was referring to. I don't think it's safe to make any assumptions > > about what's behind the text, so it should be the module user's > > responsibility to clea

AW: SDLx::Text - replace old text?

2011-12-25 Thread Alex
So, when I have an application, that uses a background image (which is the origincal background for my question), the appropriate way to "redraw" a text would be: - calculate the surface of a text one wants to draw - store this specific piece of the old surface somewhere - draw the text now, when