Re: exposing CANVAS or something like it to Web Workers

On 5/14/12 8:55 PM, Gregg Tavares (勤) wrote:
>     1)  Various canvas 2d context methods depend on the styles of the
>     canvas to define how they actually behave.  Clearly this would need
>     some sort of changes for Workers anyway; the question is what those
>     changes would need to be.
>
> Which methods are these?

Anything involving setting color (e.g. the strokeStyle setter, the 
fillStyle setter), due to "currentColor".  Anything involving text 
because font styles come from the element or document.

Those are the ones that come to mind offhand, but I haven't looked at 
the various recent additions to the 2d context closely.

-Boris

Received on Tuesday, 15 May 2012 01:07:48 UTC