From 619d593006885e1b99ac77b0c8014871386d4d66 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 10 Jul 2006 17:00:43 +0000 Subject: [PATCH] Overview string tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/PseudoDC.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/wxPython/demo/PseudoDC.py b/wxPython/demo/PseudoDC.py index 379ac42329..a871b25d01 100644 --- a/wxPython/demo/PseudoDC.py +++ b/wxPython/demo/PseudoDC.py @@ -263,6 +263,8 @@ def runTest(frame, nb, log): overview = """ +

wx.PseudoDC

+ The wx.PseudoDC class provides a way to record operations on a DC and then play them back later. The PseudoDC can be passed to a drawing routine as if it were a real DC. All Drawing methods are supported except Blit but @@ -273,25 +275,25 @@ DrawToDC(dc) The operations can be tagged with an id in order to associated them with a specific object. To do this use:
-SetId(id)
+    SetId(id)
 
Every operation after this will be associated with id until SetId is called again. The PseudoDC also supports object level clipping. To enable this use:
-SetIdBounds(id,rect)
+    SetIdBounds(id,rect)
 
for each object that should be clipped. Then use:
-DrawToDCClipped(dc, clippingRect)
+    DrawToDCClipped(dc, clippingRect)
 
To draw the PseudoDC to a real dc. This is useful for large scrolled windows where many objects are offscreen. Objects can be moved around without re-drawing using:
-TranslateId(id, dx, dy)
+    TranslateId(id, dx, dy)
 
To re-draw an object use:
-ClearId(id)
-SetId(id)
+    ClearId(id)
+    SetId(id)
 
and then re-draw the object. -- 2.47.2