From: Robin Dunn Date: Thu, 13 Jun 2013 07:26:12 +0000 (+0000) Subject: Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f?ds=inline Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target, and which can be used for measuring text, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index ac46f91a31..4d72e60e64 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -405,6 +405,11 @@ public: */ static wxGraphicsContext* Create(wxImage& image); + /** + Create a lightweight context that can be used only for measuring text. + */ + static wxGraphicsContext* Create(); + /** Clips drawings to the specified region. */