[Project_owners] Mozilla Primative Drawing

Pete Collins pete at mozdev.org
Wed Oct 8 21:06:13 EDT 2003


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

eg:

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

Does anyone out there 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




More information about the Project_owners mailing list