[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

Re: [zzdev] Re: [zzdev] VobScene



On Wed, May 02, 2001 at 09:23:52PM +1000, Andrew Pam wrote:
> On Wed, May 02, 2001 at 01:51:02PM +0300, Tuomas Lukka wrote:
> > I feel there is a cleaner way but can't quite put my finger on it yet.
> 
> How about drawing into a buffer, then rotating the whole buffer before
> blitting it to the screen?  Much simpler than supporting rotated fonts,
> and should nest better too.  Should also allow better clipping and
> speed optimisations.

Clipping, yes. Speed, no. For example, if we are drawing only lines and
strings of text, the X render extension can draw the antialiased text
natively.

OTOH, rotating an image by a non-90deg angle must be done in software
and is pretty time-consuming. Especially if we have to move it from
the server to the client space.

	Tuomas