Re: nsIDOMCanvasRenderingContext2d embedding in 1.9.2 ?

"[email protected]" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.embedding
Organization NovaDSP
Message-ID <[email protected]>
Boris, thanks.

On 08/11/2010 16:15, Boris Zbarsky wrote:
> A 2d rendering context requires either a docshell or a canvas element, 
> but not both, to operate properly.  So you must either call 
> SetCanvasElement or InitializeWithSurface.
>
> If you do neither, then the 2d context doesn't actually have anywhere 
> to draw to.

Indeed. I have now found an example that shows the correct order of 
operations.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.