]> git.saurik.com Git - wxWidgets.git/commitdiff
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
authorRobin Dunn <robin@alldunn.com>
Thu, 13 Jun 2013 07:26:12 +0000 (07:26 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 13 Jun 2013 07:26:12 +0000 (07:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/graphics.h

index ac46f91a3135155f0cb71b76f9f4b0a3a8aaded1..4d72e60e64c5534135f1d6ffc36727f8194b47f8 100644 (file)
@@ -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.
     */