From fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 13 Jun 2013 07:26:12 +0000 Subject: [PATCH] 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 --- interface/wx/graphics.h | 5 +++++ 1 file changed, 5 insertions(+) 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. */ -- 2.47.2