I am doing some experiments using nsIRenderingContext->FillEllipse() to do some primitive drawing.

eg:

    mRenderingContext->SetColor(mPenColor);
    mRenderingContext->FillEllipse(rect);
    mRenderingContext->PushState();

I am grabbing an existing nsIFrame, then I create a rendering context from this frame.

Does anyone know a way to persist the newly drawn state so that it will remain whenever there is a refresh or repaint to the underlying nsIFrame?

Thanks

--pete
--
Pete Collins
www.mozdev.org
www.mozdevgroup.com

_______________________________________________
Mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to