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.


_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to