]> git.saurik.com Git - wxWidgets.git/commitdiff
Document CreateMeasuringContext now that it is available for all wxGC impls.
authorKevin Ollivier <kevino@theolliviers.com>
Sun, 19 Apr 2009 19:51:08 +0000 (19:51 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sun, 19 Apr 2009 19:51:08 +0000 (19:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/graphics.h

index e5b1f4d58cf950048765c896eac31dd7727678ad..6bea40c6444ef382d815d02aecb1690e21b93c6d 100644 (file)
@@ -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.
     */