From 27a3b24bee3d76809a57d4cdf3ea061c1ee5d9ee Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Sun, 19 Apr 2009 19:51:08 +0000 Subject: [PATCH] Document CreateMeasuringContext now that it is available for all wxGC impls. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/graphics.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index e5b1f4d58c..6bea40c644 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -700,6 +700,12 @@ public: */ virtual wxGraphicsContext* CreateContextFromNativeWindow(void* window) = 0; + /** + Creates a wxGraphicsContext that can be used for measuring texts only. + No drawing commands are allowed. + */ + virtual wxGraphicsContext * CreateMeasuringContext() = 0; + /** Creates a native graphics font from a wxFont and a text colour. */ -- 2.50.0