[Top][All Lists]

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

Re: [Gnash-dev] Problem with Drawing API

From: strk
Subject: Re: [Gnash-dev] Problem with Drawing API
Date: Tue, 6 Nov 2007 08:53:32 +0100

On Tue, Nov 06, 2007 at 09:51:43AM +0800, zou lunkai wrote:
> > I had the normalization step in mind while doing the DrawingAPI interface
> > so we have a ::finalize method in DynamicShape which should be called before
> > any function that needs normalization of it (rendering, hit test, bounds
> > computation) and that uses a "dirty" flag set whenever something is drawn.
> > Currently the function does nothing.
> For swf defined shapes, the normalization step is done by the pp
> compiler. There should be a question for the dynamic shapes created by
> DrawingAPI: who should take care of the  normalization?  DrawingAPI
> interface?  renderer?  or the API users?
>  I  guess the API users  should be  responsible for not producing
> malformed shapes. It is not a trivial work for a *decoder*  to produce
> a satisfied normalized shape with random inputs.

I think I never saw DrawingAPI producing color leakage.
Can you produce such thing ?


reply via email to

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