gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog server/parser/shape_character_d...


From: Sandro Santilli
Subject: Re: [Gnash-commit] gnash ChangeLog server/parser/shape_character_d...
Date: Tue, 28 Aug 2007 11:01:21 +0200

On Tue, Aug 28, 2007 at 03:54:31PM +0800, zou lunkai wrote:
> > Unfortunately, edges are still made of floats, so conversion will still 
> > happen
> > when creating them. I'm not sure about effects of making edges made of ints
> > as they'll eventually be scaled and need to be floats anyway.
> >
> > We should probably make edge a template itself (and move under libgeometry).
> 
> What about using TWIPS(int) in edges, leave the convertion tho the
> renderer interfacea? I guess agg renderer won't have much difficulty
> about this(UdoG:)?).  But besides renderers,  there are still a lot to
> change in the ActionScript core...

Yes, that would be the idea of a templated edge. Like Range2d<> we use ints
or floats with automatic conversion when needed.
In this case, edge<int> could be converted to edge<float> when aplying matrices.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]