Hello zou,

Tuesday, August 28, 2007, 9:54:31 AM, you wrote:
zl> What about using TWIPS(int) in edges, leave the convertion tho the
zl> renderer interfacea? I guess agg renderer won't have much difficulty
zl> about this(UdoG:)?).  But besides renderers,  there are still a lot to
zl> change in the ActionScript core...

Edges could be stored in integer TWIPS or perhaps it should be even so
by definition (ie. align any edge to TWIPS).

FYI, don't confuse the shape TWIPS scale with the TWIPS scale of the
stage: a shape may be scaled down much and thus has very precise PIXEL
coordinates - it's just the *definition* that has a limited accuracy.

AGG (and most probably tri. renderers as well) have no problems with
integer edges.

A different question is if is CPU-expensive to convert integer to
floats (ie. if it adds additional processor cycles when multiplicating
an integer with a float)...?

Udo



_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to